Issues after changing server IP



  • We have to migrate our servers to a different building so we need to change our FOG IP. I follow instructions to change the server IP and IP in FOG website as instructed in here: https://forums.fogproject.org/topic/10841/problems-after-changing-fog-server-ip/2. I even ran updateIP tool and reran the installation several times. Client boots up fine but when it gets the palce to download default.ipxe file through tftp, it is still looking for the OLD server IP. FOG is running on Debian 8.11 with DNSMASQ 2.76. I checked dnsmasq configuration file and it does have the new IP and it’s not providing tftp service. I’m using tftpd-hpa for TFTP service . config.class.php does have the new IP as well. What am I missing here?

    alt text

    Thanks in advance for your helps or suggestions.



  • @Sebastian-Roth said in Issues after changing server IP:

    Hint: I think the great changeIP script does not handle dnsmasq config changes as this is not a standard setup.

    Correct, it doesn’t.



  • @Sebastian-Roth @Wayne-Workman Thank you for reminding me about another DHCP server. I double checked with our network admin and we found the old IP in DHCP server. We did some tests before but couldn’t get pxe to work so we opted for dnsmasq option and left the IP there.
    Thank you again for your help!


  • Senior Developer

    @TaTa As Wayne said a package capture would be best so we really know what is going on. But I might as well try to guess here from the screenshot. You run DHCP proxy (dnsmasq) and we see it telling “BOOT SERVER IP: x.x.191.205” (which I suppose is the NEW FOG server IP) on the first DHCP request from the client. The second DHCP request from iPXE seems to be pointing to the OLD server (tftp://x.x.176.205). So either you have another DHCP proxy server in your network that is messing things up (don’t think so) or your dnsmasq config still has the old IP in it somewhere. Be aware that in the dnsmasq config there are usually several places where you need to change the IP!!

    Hint: I think the great changeIP script does not handle dnsmasq config changes as this is not a standard setup.



  • @TaTa We’d need a packet capture during an attempt to tell you what’s going on.


Log in to reply
 

307
Online

7.4k
Users

14.5k
Topics

136.6k
Posts