Hi all (also posted to iPXE dev list)
I'm trying to replace ISC DHCPD with Kea 1.1 and part of the requirements is for iPXE chainloading to work. I have the latest iPXE (26050) and Kea 1.1. I also have dhcpd configured to hand out the same options to clients. Everything works as expected using dhcpd. In my test environment (VMWare workstation 12) the NICs PXE ROM boots fine and loads iPXE. However, when iPXE tries to configure the interface (dhcp, autoconf), it fails with "No configuration methods succeeded (http://ipxe.org/040ee119). Ifstat shows [Link: up, TX: 4,TXE:1, RX: 4 RXE:4] [TXE: 1 x "Network unreachable (http://ipxe.org/28086011)"] [RXE: 4 x "Invalid argument (http://ipxe.org/1c056002)"] I've added packet traces below. As far as my uneducated eyes can see, they look essentially the same. Any help would be appreciate and thanks ahead of time! roy The relevant part of a tcpdump using kea: 0.0.0.0.bootpc > 255.255.255.255.bootps: [udp sum ok] BOOTP/DHCP, Request from 00:0c:29:7 3:f2:92 (oui Unknown), length 396, xid 0x27c90120, secs 4, Flags [Broadcast] (0x8000) Client-Ethernet-Address 00:0c:29:73:f2:92 (oui Unknown) Vendor-rfc1048 Extensions Magic Cookie 0x63825363 DHCP-Message Option 53, length 1: Discover MSZ Option 57, length 2: 1472 ARCH Option 93, length 2: 0 NDI Option 94, length 3: 1.2.1 Vendor-Class Option 60, length 32: "PXEClient:Arch:00000:UNDI:002001" CLASS Option 77, length 4: "iPXE" Parameter-Request Option 55, length 22: Subnet-Mask, Default-Gateway, Domain-Name-Server, LOG Hostname, Domain-Name, RP, Vendor-Option Vendor-Class, TFTP, BF, Option 119 Option 128, Option 129, Option 130, Option 131 Option 132, Option 133, Option 134, Option 135 Option 175, Option 203 T175 Option 175, length 45: 177.5.1.128.134.16.15.235.3.1.0.0.23.1.1.34.1.1.19.1. 1.17.1.1.39.1.1.25.1.1.16.1.2.33.1.1.21.1.1.24.1.1.18.1.1 Client-ID Option 61, length 7: ether 00:0c:29:73:f2:92 GUID Option 97, length 17: 0.1.243.77.86.185.202.118.150.38.5.243.87.36.115.242.1 46 16:15:34.543982 IP (tos 0x10, ttl 128, id 0, offset 0, flags [DF], proto UDP (17), length 329 ) ickyhut.bootps > 255.255.255.255.bootpc: [udp sum ok] BOOTP/DHCP, Reply, length 301, xid 0x27c90120, Flags [Broadcast] (0x8000) Your-IP 10.1.1.124 Server-IP ickyhut Client-Ethernet-Address 00:0c:29:73:f2:92 (oui Unknown) file "http://10.1.1.20/boot.ipxe" Vendor-rfc1048 Extensions Magic Cookie 0x63825363 Subnet-Mask Option 1, length 4: 255.255.255.0 Default-Gateway Option 3, length 4: 10.1.1.1 Domain-Name-Server Option 6, length 8: 10.1.1.10,10.1.1.3 Hostname Option 12, length 12: "n10-1-1-h124" Lease-Time Option 51, length 4: 4000 DHCP-Message Option 53, length 1: Offer Server-ID Option 54, length 4: ickyhut Client-ID Option 61, length 7: ether 00:0c:29:73:f2:92 16:15:35.525979 IP (tos 0x0, ttl 64, id 529, offset 0, flags [none], proto UDP (17), length 424) 0.0.0.0.bootpc > 255.255.255.255.bootps: [udp sum ok] BOOTP/DHCP, Request from 00:0c:29:73:f2:92 (oui Unknown), length 396, xid 0x27c90120, secs 8, Flags [Broadcast] (0x8000) Client-Ethernet-Address 00:0c:29:73:f2:92 (oui Unknown) Vendor-rfc1048 Extensions Magic Cookie 0x63825363 DHCP-Message Option 53, length 1: Discover MSZ Option 57, length 2: 1472 ARCH Option 93, length 2: 0 NDI Option 94, length 3: 1.2.1 Vendor-Class Option 60, length 32: "PXEClient:Arch:00000:UNDI:002001" CLASS Option 77, length 4: "iPXE" Parameter-Request Option 55, length 22: Subnet-Mask, Default-Gateway, Domain-Name-Server, LOG Hostname, Domain-Name, RP, Vendor-Option Vendor-Class, TFTP, BF, Option 119 Option 128, Option 129, Option 130, Option 131 Option 132, Option 133, Option 134, Option 135 Option 175, Option 203 T175 Option 175, length 45: 177.5.1.128.134.16.15.235.3.1.0.0.23.1.1.34.1.1.19.1.1.17.1.1.39.1.1.25.1.1.16.1.2.33.1.1.21.1.1.24.1.1.18.1.1 Client-ID Option 61, length 7: ether 00:0c:29:73:f2:92 GUID Option 97, length 17: 0.1.243.77.86.185.202.118.150.38.5.243.87.36.115.242.146 16:15:35.528183 IP (tos 0x10, ttl 128, id 0, offset 0, flags [DF], proto UDP (17), length 329) ickyhut.bootps > 255.255.255.255.bootpc: [udp sum ok] BOOTP/DHCP, Reply, length 301, xid 0x27c90120, Flags [Broadcast] (0x8000) Your-IP 10.1.1.124 Server-IP ickyhut Client-Ethernet-Address 00:0c:29:73:f2:92 (oui Unknown) file "http://10.1.1.20/boot.ipxe" Vendor-rfc1048 Extensions Magic Cookie 0x63825363 Subnet-Mask Option 1, length 4: 255.255.255.0 Default-Gateway Option 3, length 4: 10.1.1.1 Domain-Name-Server Option 6, length 8: 10.1.1.10,10.1.1.3 Hostname Option 12, length 12: "n10-1-1-h124" Lease-Time Option 51, length 4: 4000 DHCP-Message Option 53, length 1: Offer Server-ID Option 54, length 4: ickyhut Client-ID Option 61, length 7: ether 00:0c:29:73:f2:92 16:15:37.410799 ARP, Ethernet (len 6), IPv4 (len 4), Request who-has 10.1.1.124 tell ickyhut, length 28 16:15:37.410919 ARP, Ethernet (len 6), IPv4 (len 4), Reply 10.1.1.124 is-at 00:0c:29:73:f2:92 (oui Unknown), length 46 16:15:37.503111 IP (tos 0x0, ttl 64, id 803, offset 0, flags [none], proto UDP (17), length 424) 0.0.0.0.bootpc > 255.255.255.255.bootps: [udp sum ok] BOOTP/DHCP, Request from 00:0c:29:73:f2:92 (oui Unknown), length 396, xid 0x27c90120, secs 12, Flags [Broadcast] (0x8000) Client-Ethernet-Address 00:0c:29:73:f2:92 (oui Unknown) Vendor-rfc1048 Extensions Magic Cookie 0x63825363 DHCP-Message Option 53, length 1: Discover MSZ Option 57, length 2: 1472 ARCH Option 93, length 2: 0 NDI Option 94, length 3: 1.2.1 Vendor-Class Option 60, length 32: "PXEClient:Arch:00000:UNDI:002001" CLASS Option 77, length 4: "iPXE" Parameter-Request Option 55, length 22: Subnet-Mask, Default-Gateway, Domain-Name-Server, LOG Hostname, Domain-Name, RP, Vendor-Option Vendor-Class, TFTP, BF, Option 119 Option 128, Option 129, Option 130, Option 131 Option 132, Option 133, Option 134, Option 135 Option 175, Option 203 T175 Option 175, length 45: 177.5.1.128.134.16.15.235.3.1.0.0.23.1.1.34.1.1.19.1.1.17.1.1.39.1.1.25.1.1.16.1.2.33.1.1.21.1.1.24.1.1.18.1.1 Client-ID Option 61, length 7: ether 00:0c:29:73:f2:92 GUID Option 97, length 17: 0.1.243.77.86.185.202.118.150.38.5.243.87.36.115.242.146 16:15:37.505283 IP (tos 0x10, ttl 128, id 0, offset 0, flags [DF], proto UDP (17), length 329) ickyhut.bootps > 255.255.255.255.bootpc: [udp sum ok] BOOTP/DHCP, Reply, length 301, xid 0x27c90120, Flags [Broadcast] (0x8000) Your-IP 10.1.1.124 Server-IP ickyhut Client-Ethernet-Address 00:0c:29:73:f2:92 (oui Unknown) file "http://10.1.1.20/boot.ipxe" Vendor-rfc1048 Extensions Magic Cookie 0x63825363 Subnet-Mask Option 1, length 4: 255.255.255.0 Default-Gateway Option 3, length 4: 10.1.1.1 Domain-Name-Server Option 6, length 8: 10.1.1.10,10.1.1.3 Hostname Option 12, length 12: "n10-1-1-h124" Lease-Time Option 51, length 4: 4000 DHCP-Message Option 53, length 1: Offer Server-ID Option 54, length 4: ickyhut Client-ID Option 61, length 7: ether 00:0c:29:73:f2:92 16:15:41.457512 IP (tos 0x0, ttl 64, id 1076, offset 0, flags [none], proto UDP (17), length 424) 0.0.0.0.bootpc > 255.255.255.255.bootps: [udp sum ok] BOOTP/DHCP, Request from 00:0c:29:73:f2:92 (oui Unknown), length 396, xid 0x27c90120, secs 16, Flags [Broadcast] (0x8000) Client-Ethernet-Address 00:0c:29:73:f2:92 (oui Unknown) Vendor-rfc1048 Extensions Magic Cookie 0x63825363 DHCP-Message Option 53, length 1: Discover MSZ Option 57, length 2: 1472 ARCH Option 93, length 2: 0 NDI Option 94, length 3: 1.2.1 Vendor-Class Option 60, length 32: "PXEClient:Arch:00000:UNDI:002001" CLASS Option 77, length 4: "iPXE" Parameter-Request Option 55, length 22: Subnet-Mask, Default-Gateway, Domain-Name-Server, LOG Hostname, Domain-Name, RP, Vendor-Option Vendor-Class, TFTP, BF, Option 119 Option 128, Option 129, Option 130, Option 131 Option 132, Option 133, Option 134, Option 135 Option 175, Option 203 T175 Option 175, length 45: 177.5.1.128.134.16.15.235.3.1.0.0.23.1.1.34.1.1.19.1.1.17.1.1.39.1.1.25.1.1.16.1.2.33.1.1.21.1.1.24.1.1.18.1.1 Client-ID Option 61, length 7: ether 00:0c:29:73:f2:92 GUID Option 97, length 17: 0.1.243.77.86.185.202.118.150.38.5.243.87.36.115.242.146 16:15:41.459668 IP (tos 0x10, ttl 128, id 0, offset 0, flags [DF], proto UDP (17), length 329) ickyhut.bootps > 255.255.255.255.bootpc: [udp sum ok] BOOTP/DHCP, Reply, length 301, xid 0x27c90120, Flags [Broadcast] (0x8000) Your-IP 10.1.1.124 Server-IP ickyhut Client-Ethernet-Address 00:0c:29:73:f2:92 (oui Unknown) file "http://10.1.1.20/boot.ipxe" Vendor-rfc1048 Extensions Magic Cookie 0x63825363 Subnet-Mask Option 1, length 4: 255.255.255.0 Default-Gateway Option 3, length 4: 10.1.1.1 Domain-Name-Server Option 6, length 8: 10.1.1.10,10.1.1.3 Hostname Option 12, length 12: "n10-1-1-h124" Lease-Time Option 51, length 4: 4000 DHCP-Message Option 53, length 1: Offer Server-ID Option 54, length 4: ickyhut Client-ID Option 61, length 7: ether 00:0c:29:73:f2:92 The relevant part of a tcpdump from using dhcp: 0.0.0.0.bootpc > 255.255.255.255.bootps: [udp sum ok] BOOTP/DHCP, Request from 00:0c:29:7 3:f2:92 (oui Unknown), length 396, xid 0x25de9279, secs 4, Flags [Broadcast] (0x8000) Client-Ethernet-Address 00:0c:29:73:f2:92 (oui Unknown) Vendor-rfc1048 Extensions Magic Cookie 0x63825363 DHCP-Message Option 53, length 1: Discover MSZ Option 57, length 2: 1472 ARCH Option 93, length 2: 0 NDI Option 94, length 3: 1.2.1 Vendor-Class Option 60, length 32: "PXEClient:Arch:00000:UNDI:002001" CLASS Option 77, length 4: "iPXE" Parameter-Request Option 55, length 22: Subnet-Mask, Default-Gateway, Domain-Name-Server, LOG Hostname, Domain-Name, RP, Vendor-Option Vendor-Class, TFTP, BF, Option 119 Option 128, Option 129, Option 130, Option 131 Option 132, Option 133, Option 134, Option 135 Option 175, Option 203 T175 Option 175, length 45: 177.5.1.128.134.16.15.235.3.1.0.0.23.1.1.34.1.1.19.1. 1.17.1.1.39.1.1.25.1.1.16.1.2.33.1.1.21.1.1.24.1.1.18.1.1 Client-ID Option 61, length 7: ether 00:0c:29:73:f2:92 GUID Option 97, length 17: 0.1.243.77.86.185.202.118.150.38.5.243.87.36.115.242.1 46 19:03:15.750159 IP (tos 0x10, ttl 128, id 0, offset 0, flags [none], proto UDP (17), length 3 28) ickyhut.bootps > 255.255.255.255.bootpc: [udp sum ok] BOOTP/DHCP, Reply, length 300, xid 0x25de9279, secs 4, Flags [Broadcast] (0x8000) Your-IP 10.1.1.124 Server-IP ickyhut Client-Ethernet-Address 00:0c:29:73:f2:92 (oui Unknown) file "http://10.1.1.20/boot.ipxe" Vendor-rfc1048 Extensions Magic Cookie 0x63825363 DHCP-Message Option 53, length 1: Offer Server-ID Option 54, length 4: ickyhut Lease-Time Option 51, length 4: 43200 Subnet-Mask Option 1, length 4: 255.255.255.0 Default-Gateway Option 3, length 4: 10.1.1.1 Domain-Name-Server Option 6, length 8: 10.1.1.10,10.1.1.3 Hostname Option 12, length 12: "n10-1-1-h124" 19:03:16.734251 IP (tos 0x0, ttl 64, id 513, offset 0, flags [none], proto UDP (17), length 424) 0.0.0.0.bootpc > 255.255.255.255.bootps: [udp sum ok] BOOTP/DHCP, Request from 00:0c:29:73:f2:92 (oui Unknown), length 396, xid 0x25de9279, secs 10, Flags [Broadcast] (0x8000) Client-Ethernet-Address 00:0c:29:73:f2:92 (oui Unknown) Vendor-rfc1048 Extensions Magic Cookie 0x63825363 DHCP-Message Option 53, length 1: Discover MSZ Option 57, length 2: 1472 ARCH Option 93, length 2: 0 NDI Option 94, length 3: 1.2.1 Vendor-Class Option 60, length 32: "PXEClient:Arch:00000:UNDI:002001" CLASS Option 77, length 4: "iPXE" Parameter-Request Option 55, length 22: Subnet-Mask, Default-Gateway, Domain-Name-Server, LOG Hostname, Domain-Name, RP, Vendor-Option Vendor-Class, TFTP, BF, Option 119 Option 128, Option 129, Option 130, Option 131 Option 132, Option 133, Option 134, Option 135 Option 175, Option 203 T175 Option 175, length 45: 177.5.1.128.134.16.15.235.3.1.0.0.23.1.1.34.1.1.19.1.1.17.1.1.39.1.1.25.1.1.16.1.2.33.1.1.21.1.1.24.1.1.18.1.1 Client-ID Option 61, length 7: ether 00:0c:29:73:f2:92 GUID Option 97, length 17: 0.1.243.77.86.185.202.118.150.38.5.243.87.36.115.242.146 19:03:16.734399 IP (tos 0x10, ttl 128, id 0, offset 0, flags [none], proto UDP (17), length 328) ickyhut.bootps > 255.255.255.255.bootpc: [udp sum ok] BOOTP/DHCP, Reply, length 300, xid 0x25de9279, secs 10, Flags [Broadcast] (0x8000) Your-IP 10.1.1.124 Server-IP ickyhut Client-Ethernet-Address 00:0c:29:73:f2:92 (oui Unknown) file "http://10.1.1.20/boot.ipxe" Vendor-rfc1048 Extensions Magic Cookie 0x63825363 DHCP-Message Option 53, length 1: Offer Server-ID Option 54, length 4: ickyhut Lease-Time Option 51, length 4: 43200 Subnet-Mask Option 1, length 4: 255.255.255.0 Default-Gateway Option 3, length 4: 10.1.1.1 Domain-Name-Server Option 6, length 8: 10.1.1.10,10.1.1.3 Hostname Option 12, length 12: "n10-1-1-h124" 19:03:18.680675 ARP, Ethernet (len 6), IPv4 (len 4), Request who-has 10.1.1.124 tell ickyhut, length 28 19:03:18.680918 ARP, Ethernet (len 6), IPv4 (len 4), Reply 10.1.1.124 is-at 00:0c:29:73:f2:92 (oui Unknown), length 46 19:03:18.711939 IP (tos 0x0, ttl 64, id 771, offset 0, flags [none], proto UDP (17), length 436) 0.0.0.0.bootpc > 255.255.255.255.bootps: [udp sum ok] BOOTP/DHCP, Request from 00:0c:29:73:f2:92 (oui Unknown), length 408, xid 0x25de9279, secs 18, Flags [Broadcast] (0x8000) Client-Ethernet-Address 00:0c:29:73:f2:92 (oui Unknown) Vendor-rfc1048 Extensions Magic Cookie 0x63825363 DHCP-Message Option 53, length 1: Request MSZ Option 57, length 2: 1472 ARCH Option 93, length 2: 0 NDI Option 94, length 3: 1.2.1 Vendor-Class Option 60, length 32: "PXEClient:Arch:00000:UNDI:002001" CLASS Option 77, length 4: "iPXE" Parameter-Request Option 55, length 22: Subnet-Mask, Default-Gateway, Domain-Name-Server, LOG Hostname, Domain-Name, RP, Vendor-Option Vendor-Class, TFTP, BF, Option 119 Option 128, Option 129, Option 130, Option 131 Option 132, Option 133, Option 134, Option 135 Option 175, Option 203 T175 Option 175, length 45: 177.5.1.128.134.16.15.235.3.1.0.0.23.1.1.34.1.1.19.1.1.17.1.1.39.1.1.25.1.1.16.1.2.33.1.1.21.1.1.24.1.1.18.1.1 Client-ID Option 61, length 7: ether 00:0c:29:73:f2:92 GUID Option 97, length 17: 0.1.243.77.86.185.202.118.150.38.5.243.87.36.115.242.146 Server-ID Option 54, length 4: ickyhut Requested-IP Option 50, length 4: 10.1.1.124 19:03:18.712096 IP (tos 0x10, ttl 128, id 0, offset 0, flags [none], proto UDP (17), length 328) ickyhut.bootps > 255.255.255.255.bootpc: [udp sum ok] BOOTP/DHCP, Reply, length 300, xid 0x25de9279, secs 18, Flags [Broadcast] (0x8000) Your-IP 10.1.1.124 Server-IP ickyhut Client-Ethernet-Address 00:0c:29:73:f2:92 (oui Unknown) file "http://10.1.1.20/boot.ipxe" Vendor-rfc1048 Extensions Magic Cookie 0x63825363 DHCP-Message Option 53, length 1: ACK Server-ID Option 54, length 4: ickyhut Lease-Time Option 51, length 4: 43200 Subnet-Mask Option 1, length 4: 255.255.255.0 Default-Gateway Option 3, length 4: 10.1.1.1 Domain-Name-Server Option 6, length 8: 10.1.1.10,10.1.1.3 Hostname Option 12, length 12: "n10-1-1-h124"
_______________________________________________ Kea-users mailing list [email protected] https://lists.isc.org/mailman/listinfo/kea-users
