The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 807 - File: showthread.php PHP 7.3.15 (Linux)
File Line Function
/showthread.php 807 errorHandler->error





Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Intel pxe -> iPXE = dhcp fail
2016-05-25, 22:22
Post: #1
Intel pxe -> iPXE = dhcp fail
I've been trying to chainload iPXE from pxelinux.0, initially I had lots off random issues with ESXi virutal machines but after setting up dhcp reservations my problems went away.

Now trying to install Debian on my laptop, over http by chain loading iPXE over TFTP and then booting the Debian iPXE script. My onboard Intel PXE rom loads pxelinux.0 and chainloads iPXE.lkrn. But when iPXE starts up I'm unnable to automatically obtain a DHCP lease. And the MAC address is set up with a reserved address which sorted all my troubles with virtual machines.

Below is the DHCP trafic as captured on the virtual OpenWRT router running dnsmasq 2.55. (pcap file is available here)

Intel PXE
Code:
1   0.000000    0.0.0.0     255.255.255.255  DHCP  590  DHCP Discover - Transaction ID 0x54a05c60
2   0.000529    10.10.0.1   255.255.255.255  DHCP  365  DHCP Offer    - Transaction ID 0x54a05c60
3   4.000158    0.0.0.0     255.255.255.255  DHCP  590  DHCP Request  - Transaction ID 0x54a05c60
4   4.001254    10.10.0.1   255.255.255.255  DHCP  365  DHCP ACK      - Transaction ID 0x54a05c60
iPXE
Code:
5   108.443783  0.0.0.0     255.255.255.255  DHCP  441  DHCP Discover - Transaction ID 0xff8a5477
6   108.444831  10.10.0.1   10.10.0.220      DHCP  365  DHCP Offer    - Transaction ID 0xff8a5477
7   109.402196  0.0.0.0     255.255.255.255  DHCP  441  DHCP Discover - Transaction ID 0xff8a5477
8   109.402664  10.10.0.1   10.10.0.220      DHCP  365  DHCP Offer    - Transaction ID 0xff8a5477
9   111.379510  0.0.0.0     255.255.255.255  DHCP  453  DHCP Request  - Transaction ID 0xff8a5477
10  111.380543  10.10.0.1   10.10.0.220      DHCP  365  DHCP ACK      - Transaction ID 0xff8a5477
Manual ifopen + dhcp
Code:
11  181.486911  0.0.0.0     255.255.255.255  DHCP  352  DHCP Request  - Transaction ID 0x8c3a7101
12  181.488076  10.10.0.1   255.255.255.255  DHCP  359  DHCP ACK      - Transaction ID 0x8c3a7101
13  184.926221  10.10.0.220 255.255.255.255  DHCP  342  DHCP Inform   - Transaction ID 0x64026297
14  184.926700  10.10.0.1   10.10.0.220      DHCP  342  DHCP ACK      - Transaction ID 0x64026297

iPXE output:
Code:
Loading ipxe.krn...ready
iPXE initialising devices...ok


iPCE 1.0.0+ (a588) -- Open Source Network Boot Firmware -- http://ipxe.org
Features: DNS HTTP iSCSI TFTP SRP AoE ELF MBOOT PXE bzImage Menu PXEXT
Waiting for link up on net0 ................ Down (http://ipxe.org/38086101
iPXE>

To me it seems like iPXE is getting the DHCP offers, and actually ACK'ing it before giving up, and retrying manually afterwards works fine; yet it fails every time when selecting the menu entry from pxelinux.0

menu entry;
Code:
label iPXE-deblive
        menu label iPXE ^deb live
        kernel ipxe.krn dhcp && chain http://10.10.0.100:8001/boot/jessie-live.ipxe || shell

Suggestions on what to try where? Which debug flags to build iPXE with?
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Intel pxe -> iPXE = dhcp fail - bearer - 2016-05-25 22:22



User(s) browsing this thread: 2 Guest(s)