3 Replies Latest reply on Jun 8, 2014 2:00 PM by Bill Robinson

    PXE boot network unreachable

    Mike Reider

      Hi all, im trying to run provisioning in my test env, everything on VMs.

       

      I have a BSA 8.5 app (rhel 5.3, sql2008), my pxe/tftp/dhcp on Centos6.5 (all VMs are NAT with same IP subnet of 192.168.34.x)

      the pxe box only has 1 interface eth0 that can ping the BSA and SQL DB servers and vice versa, all hosts files are updated.

       

      Added MAC to Device list in Blade with appropriate boot img, Powering on a test VM, im just trying to get it to the boot img, but when it powers on, it waits for about a minute waiting for its IP. DHCP assigns the IP (192.168.34.101) eventually but from there, the PXE handoff errors out with a network unreachable error. Not sure why its failing.

       

      getting this on target

       

      CLIENT IP: 192.168.34.101  MASK 255.255.255.0  DHCP IP: 192.168.34.6

      PXE-E55 ProxyDHCP service did not reply to request on port 4011

      PXE-M0F Exiting Intel PXE Rom

      Operating System not found.

       

       

      my DHCP conf,  - PXEClient option is enabled

      allow booting;

      allow bootp;

      allow duplicates;

      always-broadcast on;

      authoritative;

      ddns-update-style none;

      option bl-server code 211 = ip-address;

      option bl-port code 212 = unsigned integer 16;

      subnet 192.168.34.0 netmask 255.255.255.0{

      range 192.168.34.100 192.168.34.110;

      option subnet-mask 255.255.255.0;

      default-lease-time 2592000;

      max-lease-time 5184000;

      option vendor-class-identifier "PXEClient";

      option bl-server 192.168.34.1;

      option bl-port 9831;

      }

       

      PXE log

      activity fd index:2

      [04 Jun 2014 09:55:48,945] [Thread-9] [INFO] [::] [] DatagramSocket received

      [04 Jun 2014 09:55:48,946] [Thread-583] [INFO] [::] [] RPacketProcessor Thread id= 1020 started

      [04 Jun 2014 09:55:48,948] [Thread-583] [INFO] [::] [] It is a proxy DHCP packet from /255.255.255.255:68

      [04 Jun 2014 09:55:48,948] [Thread-583] [INFO] [::] [] Packet type is DHCP Discover setting up DHCP Offer packet for reply

      [04 Jun 2014 09:55:48,948] [Thread-583] [INFO] [::] [] makeBootMenu : type 1

      [04 Jun 2014 09:55:48,951] [Thread-583] [INFO] [::] [] Replying to /255.255.255.255:68

      [04 Jun 2014 09:55:48,952] [Thread-583] [ERROR] [::] [] Network is unreachable

      [04 Jun 2014 09:55:48,952] [Thread-583] [ERROR] [::] [] PxeNet: error sending response packet!

      [04 Jun 2014 09:55:48,952] [Thread-583] [INFO] [::] [] RPacketProcessor Thread id= 1020 Finished

      [04 Jun 2014 09:55:48,952] [Thread-9] [INFO] [::] [] (U)FD:245

      [04 Jun 2014 09:55:48,952] [Thread-9] [INFO] [::] [] (M)FD:246

      [04 Jun 2014 09:55:48,952] [Thread-9] [INFO] [::] [] (M)FD:250

      [04 Jun 2014 09:55:53,009] [Thread-9] [INFO] [::] [] activity fd index:2

      [04 Jun 2014 09:55:53,009] [Thread-9] [INFO] [::] [] DatagramSocket received

      [04 Jun 2014 09:55:53,013] [Thread-584] [INFO] [::] [] RPacketProcessor Thread id= 1021 started

      [04 Jun 2014 09:55:53,021] [Thread-584] [INFO] [::] [] It is a proxy DHCP packet from /255.255.255.255:68

      [04 Jun 2014 09:55:53,021] [Thread-584] [INFO] [::] [] Packet type is DHCP Request setting up DHCP ACK packet for reply

      [04 Jun 2014 09:55:53,022] [Thread-584] [INFO] [::] [] makeBootMenu : type 1

      [04 Jun 2014 09:55:53,030] [Thread-584] [INFO] [::] [] Replying to /255.255.255.255:68

      [04 Jun 2014 09:55:53,030] [Thread-584] [ERROR] [::] [] Network is unreachable

      [04 Jun 2014 09:55:53,030] [Thread-584] [ERROR] [::] [] PxeNet: error sending response packet!

      [04 Jun 2014 09:55:53,031] [Thread-584] [INFO] [::] [] RPacketProcessor Thread id= 1021 Finished

      [04 Jun 2014 09:55:53,031] [Thread-9] [INFO] [::] [] (U)FD:245

      [04 Jun 2014 09:55:53,031] [Thread-9] [INFO] [::] [] (M)FD:246

      [04 Jun 2014 09:55:53,031] [Thread-9] [INFO] [::] [] (M)FD:250

      [04 Jun 2014 09:55:53,064] [Thread-9] [INFO] [::] [] activity fd index:1

      [04 Jun 2014 09:55:53,064] [Thread-9] [INFO] [::] [] DatagramSocket received

      [04 Jun 2014 09:55:53,068] [Thread-585] [INFO] [::] [] RPacketProcessor Thread id= 1022 started

      [04 Jun 2014 09:55:53,074] [Thread-585] [INFO] [::] [] It is a proxy DHCP packet from /192.168.34.101:68

      [04 Jun 2014 09:55:53,075] [Thread-585] [INFO] [::] [] Packet type is DHCP Request setting up DHCP ACK packet for reply

      [04 Jun 2014 09:55:53,075] [Thread-585] [INFO] [::] [] makeBootMenu : type 1

      [04 Jun 2014 09:55:53,082] [Thread-585] [INFO] [::] [] Replying to /192.168.34.101:68

      [04 Jun 2014 09:55:53,082] [Thread-585] [INFO] [::] [] RPacketProcessor Thread id= 1022 Finished

      [04 Jun 2014 09:55:53,083] [Thread-9] [INFO] [::] [] (U)FD:245

      [04 Jun 2014 09:55:53,083] [Thread-9] [INFO] [::] [] (M)FD:246

      [04 Jun 2014 09:55:53,083] [Thread-9] [INFO] [::] [] (M)FD:250

      [04 Jun 2014 09:55:53,882] [Thread-8] [INFO] [::] [] [PxeServerMonitor]: Current Active RPacketProcessor Threads:0

      [04 Jun 2014 09:55:53,882] [Thread-8] [INFO] [::] [] [PxeServerMonitor]: Thread ID: 26|| Thread Name: Thread-9|| Thread Description: PxeNet Thread to read DHCP packets|| Alive status is:true

      [04 Jun 2014 09:55:53,882] [Thread-8] [INFO] [::] [] [PxeServerMonitor]: Thread ID: 27|| Thread ame: Thread-10|| Thread Description: ProvDeviceCreator Thread Adds New DEVICES|| Alive status is:true

      [04 Jun 2014 09:55:53,882] [Thread-8] [INFO] [::] [] [PxeServerMonitor]: [Total JVM Memory (B)19,513,152 - Free JVM Memory (B)78,353,656] = Used JVM Memory (B)112,159,496

      [04 Jun 2014 09:55:57,183] [Thread-9] [INFO] [::] [] activity fd index:2

      [04 Jun 2014 09:55:57,184] [Thread-9] [INFO] [::] [] DatagramSocket received

      [04 Jun 2014 09:55:57,186] [Thread-586] [INFO] [::] [] RPacketProcessor Thread id= 1023 started

      [04 Jun 2014 09:55:57,190] [Thread-586] [INFO] [::] [] It is a proxy DHCP packet from /255.255.255.255:68

      [04 Jun 2014 09:55:57,190] [Thread-586] [INFO] [::] [] Packet type is DHCP Discover setting up DHCP Offer packet for reply

      [04 Jun 2014 09:55:57,190] [Thread-586] [INFO] [::] [] makeBootMenu : type 1

      [04 Jun 2014 09:55:57,193] [Thread-586] [INFO] [::] [] Replying to /255.255.255.255:68

      [04 Jun 2014 09:55:57,193] [Thread-586] [ERROR] [::] [] Network is unreachable

      [04 Jun 2014 09:55:57,193] [Thread-586] [ERROR] [::] [] PxeNet: error sending response packet!

      [04 Jun 2014 09:55:57,193] [Thread-586] [INFO] [::] [] RPacketProcessor Thread id= 1023 Finished

      [04 Jun 2014 09:55:57,194] [Thread-9] [INFO] [::] [] (U)FD:245

      [04 Jun 2014 09:55:57,194] [Thread-9] [INFO] [::] [] (M)FD:246

      [04 Jun 2014 09:55:57,194] [Thread-9] [INFO] [::] [] (M)FD:250

        • 1. Re: PXE boot network unreachable
          Mike Reider

          resolved the Network unreachable error by adding another Network adapter in addition to the single NAT one I was using. Updated the DHCP conf to give out new IP range on this 2nd adapter.

           

          Still getting the PXE-E55 ProxyDHCP service did not reply to request on port 4011

           

          PXE log shows it looping through the makeBootMenu: type 1 but never points it to the boot img on TFTP

           

           

          activity fd index:0

          [04 Jun 2014 13:46:09,202] [Thread-9] [INFO] [::] [] DatagramSocket received

          [04 Jun 2014 13:46:09,204] [Thread-200] [INFO] [::] [] RPacketProcessor Thread id= 392 started

          [04 Jun 2014 13:46:09,213] [Thread-200] [INFO] [::] [] It is a proxy DHCP packet from /192.168.20.30:68

          [04 Jun 2014 13:46:09,213] [Thread-200] [INFO] [::] [] Packet type is DHCP Request setting up DHCP ACK packet for reply

          [04 Jun 2014 13:46:09,214] [Thread-200] [INFO] [::] [] makeBootMenu : type 1

          [04 Jun 2014 13:46:09,219] [Thread-200] [INFO] [::] [] Replying to /192.168.20.30:68

          [04 Jun 2014 13:46:09,219] [Thread-200] [INFO] [::] [] RPacketProcessor Thread id= 392 Finished

          [04 Jun 2014 13:46:09,219] [Thread-9] [INFO] [::] [] (U)FD:245

          [04 Jun 2014 13:46:15,463] [Thread-9] [INFO] [::] [] activity fd index:0

          [04 Jun 2014 13:46:15,463] [Thread-9] [INFO] [::] [] DatagramSocket received

          [04 Jun 2014 13:46:15,465] [Thread-202] [INFO] [::] [] RPacketProcessor Thread id= 394 started

          [04 Jun 2014 13:46:15,473] [Thread-202] [INFO] [::] [] It is a proxy DHCP packet from /192.168.20.30:68

          [04 Jun 2014 13:46:15,473] [Thread-202] [INFO] [::] [] Packet type is DHCP Request setting up DHCP ACK packet for reply

          [04 Jun 2014 13:46:15,477] [Thread-202] [INFO] [::] [] makeBootMenu : type 1

          [04 Jun 2014 13:46:15,481] [Thread-202] [INFO] [::] [] Replying to /192.168.20.30:68

          [04 Jun 2014 13:46:15,481] [Thread-202] [INFO] [::] [] RPacketProcessor Thread id= 394 Finished

          [04 Jun 2014 13:46:15,481] [Thread-9] [INFO] [::] [] (U)FD:245

          [04 Jun 2014 13:46:16,630] [Thread-8] [INFO] [::] [] [PxeServerMonitor]: Current Active RPacketProcessor Threads:0

          [04 Jun 2014 13:46:16,631] [Thread-8] [INFO] [::] [] [PxeServerMonitor]: Thread ID: 28|| Thread Name: Thread-9|| Thread Description: PxeNet Thread to read DHCP packets|| Alive status is:true

          [04 Jun 2014 13:46:16,631] [Thread-8] [INFO] [::] [] [PxeServerMonitor]: Thread ID: 29|| Thread Name: Thread-10|| Thread Description: ProvDeviceCreator Thread Adds New DEVICES|| Alive status is:true

          [04 Jun 2014 13:46:16,632] [Thread-8] [INFO] [::] [] [PxeServerMonitor]: [Total JVM Memory (B)181,583,872 - Free JVM Memory (B)102,971,016] = Used JVM Memory (B)78,612,856

          [04 Jun 2014 13:46:27,711] [Thread-9] [INFO] [::] [] activity fd index:0

          [04 Jun 2014 13:46:27,711] [Thread-9] [INFO] [::] [] DatagramSocket received

          [04 Jun 2014 13:46:27,713] [Thread-203] [INFO] [::] [] RPacketProcessor Thread id= 396 started

          [04 Jun 2014 13:46:27,721] [Thread-203] [INFO] [::] [] It is a proxy DHCP packet from /192.168.20.30:68

          [04 Jun 2014 13:46:27,721] [Thread-203] [INFO] [::] [] Packet type is DHCP Request setting up DHCP ACK packet for reply

          [04 Jun 2014 13:46:27,722] [Thread-203] [INFO] [::] [] makeBootMenu : type 1

          [04 Jun 2014 13:46:27,732] [Thread-203] [INFO] [::] [] Replying to /192.168.20.30:68

          [04 Jun 2014 13:46:27,733] [Thread-203] [INFO] [::] [] RPacketProcessor Thread id= 396 Finished

          [04 Jun 2014 13:46:27,734] [Thread-9] [INFO] [::] [] (U)FD:245

          [04 Jun 2014 13:46:30,946] [Scheduled-System-Tasks-Thread-7] [INFO] [System:System:] [Memory Monitor] Total JVM (B): 181583872,Free JVM (B): 100524984,Used JVM (B): 81058888,VSize (B): 1915555840,RSS (B): 253165568

          [04 Jun 2014 13:46:31,632] [Thread-8] [INFO] [::] [] [PxeServerMonitor]: Current Active RPacketProcessor Threads:0

          [04 Jun 2014 13:46:31,633] [Thread-8] [INFO] [::] [] [PxeServerMonitor]: Thread ID: 28|| Thread Name: Thread-9|| Thread Description: PxeNet Thread to read DHCP packets|| Alive status is:true

          [04 Jun 2014 13:46:31,633] [Thread-8] [INFO] [::] [] [PxeServerMonitor]: Thread ID: 29|| Thread Name: Thread-10|| Thread Description: ProvDeviceCreator Thread Adds New DEVICES|| Alive status is:true

          [04 Jun 2014 13:46:31,633] [Thread-8] [INFO] [::] [] [PxeServerMonitor]: [Total JVM Memory (B)181,583,872 - Free JVM Memory (B)100,313,688] = Used JVM Memory (B)81,270,184

          ctivity fd index:0

          [04 Jun 2014 13:46:51,988] [Thread-9] [INFO] [::] [] DatagramSocket received

          [04 Jun 2014 13:46:51,989] [Thread-206] [INFO] [::] [] RPacketProcessor Thread id= 400 started

          [04 Jun 2014 13:46:51,998] [Thread-206] [INFO] [::] [] It is a proxy DHCP packet from /192.168.20.30:68

          [04 Jun 2014 13:46:51,998] [Thread-206] [INFO] [::] [] Packet type is DHCP Request setting up DHCP ACK packet for reply

          [04 Jun 2014 13:46:51,999] [Thread-206] [INFO] [::] [] makeBootMenu : type 1

          [04 Jun 2014 13:46:52,007] [Thread-206] [INFO] [::] [] Replying to /192.168.20.30:68

          [04 Jun 2014 13:46:52,007] [Thread-206] [INFO] [::] [] RPacketProcessor Thread id= 400 Finished

          [04 Jun 2014 13:46:52,008] [Thread-9] [INFO] [::] [] (U)FD:245

          [04 Jun 2014 13:47:01,635] [Thread-8] [INFO] [::] [] [PxeServerMonitor]: Current Active RPacketProcessor Threads:0

          • 2. Re: PXE boot network unreachable
            Mike Reider

            Finally got it working, the issue was that my PXE service wasnt being binded to port 4011

             

            I double checked pxe.conf, all config was correct

             

            interface=all

            listen_port=4011

             

            but PXE and DHCP werent communicating. Turns out I forgot to set this param in conf

             

            use_config_file=true

             

            totally missed it, unless you set that to true any change is meaningless. Restarted blpxe, now the target is booting the WinPE img correctly.

             

            lesson is to check pxe.log for binding messages;

             

            Binding to 192.168.34.6 at eth0 port 4011

            • 3. Re: PXE boot network unreachable
              Bill Robinson

              Sometimes typing out your problems helps you solve them ☺