• Recent
    • Unsolved
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    reconfigure ethernet ports and IP addresses AFTER fog is installed and configured

    Scheduled Pinned Locked Moved Solved
    Linux Problems
    3
    11
    1.3k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • D
      Daniel Miller
      last edited by

      I don’t believe that process has changed since 1.3 (someone please correct me if I am off on this), but the Wiki article for changing a server IP Address points to making those changes in /opt/fog/.fogsettings and re-running the installer to take care of the FOG configuration. Changing the IP address for the OS will be dependent on distribution. Which flavor are you running?

      1 Reply Last reply Reply Quote 0
      • D
        DBCountMan
        last edited by

        so now all of a sudden i can access the FOG Server from the management/LAN interface.

        D 1 Reply Last reply Reply Quote 0
        • D
          Daniel Miller @DBCountMan
          last edited by

          @brakcounty Having two network interfaces configured for the same subnet (found by performing an AND with the interface’s IP address and subnet mask) but not having those interfaces actually connected to a common network is going to cause problems. When sending traffic to an IP address, a routing table is consulted to direct the traffic to the appropriate interface. If there is no differentiation between the interfaces, then you are depending on the order in which the routing table was built to determine to which interface outbound traffic is sent. As there are a number of things that could trigger a change to that table, such as media disconnects, reboots, and dhcp lease expirations (if your fog server is not configured to use static addresses), access to the machine through both interfaces will be unpredictable. You should change your network configuration so that the interfaces are in different networks.

          1 Reply Last reply Reply Quote 0
          • D
            DBCountMan
            last edited by DBCountMan

            Here is my routing table:
            IPRoute.png

            I am wondering if i should just change the netmask on eno2 to 255.0.0.0. Does that sound like a good idea?

            george1421G 1 Reply Last reply Reply Quote 0
            • george1421G
              george1421 Moderator @DBCountMan
              last edited by george1421

              @brakcounty Lets find out a bit more about your setup run these commands and capture the output.

              ip addr show
              ip route show

              Which address is for your imaging network and which address if for the management network. You have 2 default routes showing, not generally a good idea.

              Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!

              1 Reply Last reply Reply Quote 0
              • D
                DBCountMan
                last edited by

                I use eno2 for imaging/DHCP and eno1 for management from my LAN
                Screenshot from 2019-10-17 15-10-03.png

                george1421G 1 Reply Last reply Reply Quote 0
                • george1421G
                  george1421 Moderator @DBCountMan
                  last edited by

                  @brakcounty If we look at this as just a pure routing issue I would wonder why on the en02 network you have a default router (route) defined of 10.0.0.10 (eno2 IP address). I don’t see what Linux OS you are using, but I would surely look into your network settings for eno2 and remove any gateway value on that interface. You should only have a gateway defined on eno1 so that eventually the FOG server can reach the internet for updates and installation. Typically an imaging network consists of only one subnet so you don’t define a gateway value for the imaging network.

                  Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!

                  1 Reply Last reply Reply Quote 0
                  • D
                    DBCountMan
                    last edited by

                    i removed the gateway from eno2 and tested pxe boot successfully. i forgot that the gateway isnt needed if the clients dont need to get passed the server.

                    george1421G 1 Reply Last reply Reply Quote 0
                    • george1421G
                      george1421 Moderator @DBCountMan
                      last edited by

                      @brakcounty Then what you should have now is a typical setup for having a business network and an isolated imaging network. FOG will work in this configuration no problem as well as you will be able to update fog in the future without making any changes to the network configuration.

                      Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!

                      1 Reply Last reply Reply Quote 0
                      • D
                        DBCountMan
                        last edited by

                        you da man!

                        1 Reply Last reply Reply Quote 0
                        • 1 / 1
                        • First post
                          Last post

                        220

                        Online

                        12.1k

                        Users

                        17.3k

                        Topics

                        155.3k

                        Posts
                        Copyright © 2012-2024 FOG Project