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

    Cannot PXE boot on new fog server

    Scheduled Pinned Locked Moved
    General
    3
    9
    3.1k
    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.
    • J
      jveronese
      last edited by

      I recently setup a new installation of Fog on an Ubuntu server VM (64-bit) on our VMWare esxi host (5.5). I have it installed and told it to not use the DHCP service through Fog as we have a Windows DHCP server. In the DHCP server I have option 66 set to the ip of the server and option 67 set to undionly.kpxe. However, when I boot to the NIC it spins on DHCP for several minutes before giving up and booting to the hdd. Does anyone have any ideas where my issue might be? If you need logs or additional info please let me know and I will do my best.

      1 Reply Last reply Reply Quote 0
      • Tom ElliottT
        Tom Elliott
        last edited by

        I could be anywhere. First place I’d look is to verify that the dhcp server can actually issue an IP to the machine requesting it. Second place I’d look is to find out if a “dumb” switch between the main connection and the device connection helps fix the problem. If a dumb switch works, this would seem to indicate a Power Saving thing or Spanning Tree in use on your 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! Get in contact with me (chat bubble in the top right corner) if you want to join in.

        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

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

          OK so when you attempt to pxe boot the computer, it sits and spins for a bit then boots the hard drive. When it boots via the hard drive, does it pickup a dhcp address?

          And based on the answer provided above, is the fog server and the pxe booting client on the same subnet?

          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!

          J 1 Reply Last reply Reply Quote 0
          • J
            jveronese @george1421
            last edited by

            @george1421 Yes, when the device boots into Windows DHCP gives it an address. Both subnet masks are the same, so does that mean they are on the same subnet then?

            Tom ElliottT 1 Reply Last reply Reply Quote 0
            • Tom ElliottT
              Tom Elliott @jveronese
              last edited by

              @jveronese Subnet masks can be the same, but only describe where on a network a device will be able to reach.

              For example:

              192.168.1.x typically has 255.255.255.0 as subnet mask. This makes the machine on this subnet (known as the 192.168.1 portion) only accessable to machines in the range of 192.168.1.0-255

              You can, however, have a subnet mask of 255.255.255.0 on ANY network you’re trying to build. Let’s say you are working a 10.0.0.0 network. The subnet mask of 255.255.255.0 would only allow the devices to reach: 10.0.0.0 - 255.

              A subnet mask of 255.255.0.0 would allow you to connect to 10.0.0-255.0-255

              A subnet mask of 255.0.0.0 would allow you to connect to 10.0-255.0-255.0-255

              So the mask doesn’t really indicate anything.

              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! Get in contact with me (chat bubble in the top right corner) if you want to join in.

              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

              J 1 Reply Last reply Reply Quote 0
              • Tom ElliottT
                Tom Elliott
                last edited by

                Let’s say you did the 10.0.0.0 method of 255.255.255.0, while another machine was on 10.10.10.0 with the same subnet mask. They would not be able to communicate because they’re on completely different networks.

                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! Get in contact with me (chat bubble in the top right corner) if you want to join in.

                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

                1 Reply Last reply Reply Quote 0
                • J
                  jveronese @Tom Elliott
                  last edited by

                  @tom-elliott Ok, we have a 255.255.252.0 subnet mask. How can I make sure these devices are on the same subnet then?

                  1 Reply Last reply Reply Quote 0
                  • Tom ElliottT
                    Tom Elliott
                    last edited by

                    That’s the ip scope allowed for that network? (only if it’s private please)

                    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! Get in contact with me (chat bubble in the top right corner) if you want to join in.

                    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

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

                      @jveronese the combination of subnet mask and IP address will say they are on the same subnet.

                      i.e. 192.168.1.0 with a subnet mask of 255.255.255.0 would say they are on the same subnet.

                      OK if they are on the same subnet, we can use fog to see if we can detect what is going wrong with dhcp.

                      Follow these instructions and then upload the pcap to a google drive. We’ll take a look at the capture and see what is going on with dhcp
                      https://forums.fogproject.org/topic/9673/when-dhcp-pxe-booting-process-goes-bad-and-you-have-no-clue

                      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
                      • 1 / 1
                      • First post
                        Last post

                      194

                      Online

                      12.0k

                      Users

                      17.3k

                      Topics

                      155.2k

                      Posts
                      Copyright © 2012-2024 FOG Project