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

Issues after changing server IP

Scheduled Pinned Locked Moved Solved
FOG Problems
3
5
493
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.
  • T
    TaTa
    last edited by Apr 11, 2019, 9:59 PM

    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.

    W 1 Reply Last reply Apr 12, 2019, 12:47 AM Reply Quote 0
    • W
      Wayne Workman @TaTa
      last edited by Apr 12, 2019, 12:47 AM

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

      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!
      Daily Clean Installation Results:
      https://fogtesting.fogproject.us/
      FOG Reporting:
      https://fog-external-reporting-results.fogproject.us/

      1 Reply Last reply Reply Quote 0
      • S
        Sebastian Roth Moderator
        last edited by Apr 12, 2019, 5:57 AM

        @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.

        Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

        Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

        W 1 Reply Last reply Apr 13, 2019, 4:40 AM Reply Quote 1
        • T
          TaTa
          last edited by TaTa Apr 12, 2019, 1:24 PM Apr 12, 2019, 7:23 PM

          @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!

          1 Reply Last reply Reply Quote 0
          • W
            Wayne Workman @Sebastian Roth
            last edited by Apr 13, 2019, 4:40 AM

            @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.

            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!
            Daily Clean Installation Results:
            https://fogtesting.fogproject.us/
            FOG Reporting:
            https://fog-external-reporting-results.fogproject.us/

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

            257

            Online

            12.0k

            Users

            17.3k

            Topics

            155.2k

            Posts
            Copyright © 2012-2024 FOG Project