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

    Unable to PXE boot on an isolated network

    Scheduled Pinned Locked Moved Solved
    FOG Problems
    2
    9
    1.9k
    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.
    • K
      KevinDM82
      last edited by KevinDM82

      I am in the exact same situation cdutko was in at the point where it isn’t booting PXE. How did he go from the netstat verifying port pxe wasn’t bound to port 67 to working? I would appreciate any help.

      Base Linux: Debian
      Detected Linux Distribution: Ubuntu
      Server IP Address: 192.168.1.1
      Server Subnet Mask: 255.255.255.0
      Interface: eno1
      Installation Type: Normal Server
      Internationalization: 0
      Image Storage Location: /images
      Using FOG DHCP: Yes
      DHCP router Address:

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

        [MOD Note] I forked this topic into its own thread. Your situation may be different so we would like to focus on your situation with your conditions.

        To answer your question netstat -an|grep 67 should show you if the dhcp process is bound to that port. That would be the same command for isc-dhcp or dnsmasq running of the fog server. We also have a tutorial on how to grab a network pcap file of the pxe booting process. That will give us an idea of what is going down the wire. https://forums.fogproject.org/topic/9673/when-dhcp-pxe-booting-process-goes-bad-and-you-have-no-clue

        That should get you started. Upload the pcap to a google drive or dropbox and share the link with us.

        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
        • K
          KevinDM82
          last edited by

          https://drive.google.com/open?id=1685QBOnQZ51n-dMxmGr-jBkfdt-wPwpg

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

            @kevindm82 Looking at your pcap file, I only see dhcp discover packets (i.e. your pxe booting client asking for dhcp information). There is no response from a dhcp server. On your isolated network what is providing your dhcp services?

            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!

            K 1 Reply Last reply Reply Quote 0
            • K
              KevinDM82 @george1421
              last edited by

              @george1421 During installation I choose the option to allow Fog to take care of DHCP, then after completing the install changed the /etc/network/interface file from dhcp to static and changed the address’s accordingly

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

                @kevindm82 Lets ensure that isc-dhcp is running.

                You can use this command to see if its running in memory
                ps aux|grep dhcp
                It should responded with something like isc-dhcp-server and some command line switches.

                If its not there you can start with systemctl start isc-dhcp-server and check the status if its running with systemctl status isc-dhcp-server And finally ensure that it starts every time with ubuntu startup with systemctl enable isc-dhcp-server

                If you changed the IP address of the FOG server after installing the fog program you will have to fix or fog will not image. There are hard coded IP addresses that will need to be fixed.

                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!

                K 3 Replies Last reply Reply Quote 1
                • K
                  KevinDM82 @george1421
                  last edited by

                  @george1421 After checking the status I think this confirmed that what I thought that DHCP just wasn’t operational.

                  isc-dhcp-server.service - ISC DHCP IPv4 server
                  Loaded: loaded (/lib/systemd/system/isc-dhcp-server.service; enabled; vendor preset: enabled)
                  Active: failed (Result: exit-code) since Tue 2017-12-26 22:02:30 CST; 7s ago
                  Docs: man:dhcpd(8)
                  Process: 5095 ExecStart=/bin/sh -ec CONFIG_FILE=/etc/dhcp/dhcpd.conf; if [ -f /etc/ltsp/dhcpd.conf ]; then
                  Main PID: 5095 (code=exited, status=1/FAILURE)

                  Dec 26 22:02:30 ET1WS3239A sh[5095]: Not configured to listen on any interfaces!
                  Dec 26 22:02:30 ET1WS3239A sh[5095]: If you think you have received this message due to a bug rather
                  Dec 26 22:02:30 ET1WS3239A sh[5095]: than a configuration issue please read the section on submitting
                  Dec 26 22:02:30 ET1WS3239A sh[5095]: bugs on either our web page at www.isc.org or in the README file
                  Dec 26 22:02:30 ET1WS3239A sh[5095]: before submitting a bug. These pages explain the proper
                  Dec 26 22:02:30 ET1WS3239A sh[5095]: process and the information we find helpful for debugging…
                  Dec 26 22:02:30 ET1WS3239A sh[5095]: exiting.
                  Dec 26 22:02:30 ET1WS3239A systemd[1]: isc-dhcp-server.service: Main process exited, code=exited, status=1/FAILURE
                  Dec 26 22:02:30 ET1WS3239A systemd[1]: isc-dhcp-server.service: Unit entered failed state.
                  Dec 26 22:02:30 ET1WS3239A systemd[1]: isc-dhcp-server.service: Failed with result ‘exit-code’.

                  1 Reply Last reply Reply Quote 0
                  • K
                    KevinDM82 @george1421
                    last edited by

                    @george1421 I checked that conf file and made some adjustments.
                    Now the moment of truth. this is current status.

                    kevin@ET1WS3239A:~$ ps aux|grep dhcp
                    dhcpd 1102 0.0 0.1 35484 13260 ? Ss 22:12 0:00 dhcpd -user dhcpd -group dhcpd -f -4 -pf /run/dhcp-server/dhcpd.pid -cf /etc/dhcp/dhcpd.conf
                    kevin 4292 0.0 0.0 14228 928 pts/0 S+ 22:46 0:00 grep --color=auto dhcp

                    systemctl status isc-dhcp-server
                    ● isc-dhcp-server.service - ISC DHCP IPv4 server
                    Loaded: loaded (/lib/systemd/system/isc-dhcp-server.service; enabled; vendor preset: enabled)
                    Active: active (running) since Tue 2017-12-26 22:12:02 CST; 37min ago
                    Docs: man:dhcpd(8)
                    Main PID: 1102 (dhcpd)
                    CGroup: /system.slice/isc-dhcp-server.service
                    └─1102 dhcpd -user dhcpd -group dhcpd -f -4 -pf /run/dhcp-server/dhcpd.pid -cf /etc/dhcp/dhcpd.con

                    Dec 26 22:12:03 ET1WS3239A dhcpd[1102]: Wrote 0 class decls to leases file.
                    Dec 26 22:12:03 ET1WS3239A dhcpd[1102]: Wrote 0 leases to leases file.
                    Dec 26 22:12:03 ET1WS3239A dhcpd[1102]: Listening on LPF/eno1/b8:ca:3a:8e:15:14/192.168.1.0/24
                    Dec 26 22:12:03 ET1WS3239A sh[1102]: Listening on LPF/eno1/b8:ca:3a:8e:15:14/192.168.1.0/24
                    Dec 26 22:12:03 ET1WS3239A sh[1102]: Sending on LPF/eno1/b8:ca:3a:8e:15:14/192.168.1.0/24
                    Dec 26 22:12:03 ET1WS3239A sh[1102]: Sending on Socket/fallback/fallback-net
                    Dec 26 22:12:03 ET1WS3239A dhcpd[1102]: Sending on LPF/eno1/b8:ca:3a:8e:15:14/192.168.1.0/24
                    Dec 26 22:12:03 ET1WS3239A dhcpd[1102]: Sending on Socket/fallback/fallback-net
                    Dec 26 22:12:03 ET1WS3239A dhcpd[1102]: Server starting service.
                    Dec 26 22:49:23 ET1WS3239A systemd[1]: Started ISC DHCP IPv4 server.

                    1 Reply Last reply Reply Quote 0
                    • K
                      KevinDM82 @george1421
                      last edited by

                      @george1421 GEORGE THANK YOU SO MUCH!!! YOU HELPED SO MUCH

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

                      140

                      Online

                      12.0k

                      Users

                      17.3k

                      Topics

                      155.2k

                      Posts
                      Copyright © 2012-2024 FOG Project