iPXE discussion forum

Full Version: iPXE DHCP got wrong gateway
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I installed a Ubuntu 16.04 and isc-dhcp-server 4.3.3-5ubuntu12.6.

The PXE bootrom got correct gateway, but the iPXE didn't.
Screen capture (I couldn't upload attachment for some reason...):
http://pan.baidu.com/s/1jIiFVHO

The DHCP server is 10.210.0.11, and the client is in another VLAN which gateway is 10.211.0.1.

Anything wrong?

I captured ethernet packages.
Code:
15:20:07.562620 IP (tos 0x0, ttl 63, id 65239, offset 0, flags [none], proto UDP (17), length 448)
    10.211.0.1.67 > 10.210.0.11.67: [udp sum ok] BOOTP/DHCP, Request from 00:e0:4c:69:3b:17, length 420, hops 1, xid 0x542d2231, secs 18, Flags [Broadcast] (0x8000)
          Gateway-IP 10.211.0.1
          Client-Ethernet-Address 00:e0:4c:69:3b:17
          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"
            User-Class Option 77, length 4:
              instance#1: ERROR: malformed option
            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 57: 177.5.1.16.236.129.104.235.3.1.0.0.23.1.1.34.1.1.22.1.1.19.1.1.20.1.1.17.1.1.39.​1.1.25.1.1.41.1.1.16.1.2.33.1.1.21.1.1.24.1.1.38.1.1.18.1.1
            Client-ID Option 61, length 7: ether 00:e0:4c:69:3b:17
            GUID Option 97, length 17: 0.0.2.0.3.0.4.0.5.0.6.0.7.0.8.0.9
            Server-ID Option 54, length 4: 10.210.0.11
            Requested-IP Option 50, length 4: 10.211.0.20
        0x0000:  4500 01c0 fed7 0000 3f11 65a5 0ad3 0001  E.......?.e.....
        0x0010:  0ad2 000b 0043 0043 01ac aa05 0101 0601  .....C.C........
        0x0020:  542d 2231 0012 8000 0000 0000 0000 0000  T-"1............
        0x0030:  0000 0000 0ad3 0001 00e0 4c69 3b17 0000  ..........Li;...
        0x0040:  0000 0000 0000 0000 0000 0000 0000 0000  ................
        0x0050:  0000 0000 0000 0000 0000 0000 0000 0000  ................
        0x0060:  0000 0000 0000 0000 0000 0000 0000 0000  ................
        0x0070:  0000 0000 0000 0000 0000 0000 0000 0000  ................
        0x0080:  0000 0000 0000 0000 0000 0000 0000 0000  ................
        0x0090:  0000 0000 0000 0000 0000 0000 0000 0000  ................
        0x00a0:  0000 0000 0000 0000 0000 0000 0000 0000  ................
        0x00b0:  0000 0000 0000 0000 0000 0000 0000 0000  ................
        0x00c0:  0000 0000 0000 0000 0000 0000 0000 0000  ................
        0x00d0:  0000 0000 0000 0000 0000 0000 0000 0000  ................
        0x00e0:  0000 0000 0000 0000 0000 0000 0000 0000  ................
        0x00f0:  0000 0000 0000 0000 0000 0000 0000 0000  ................
        0x0100:  0000 0000 0000 0000 6382 5363 3501 0339  ........c.Sc5..9
        0x0110:  0205 c05d 0200 005e 0301 0201 3c20 5058  ...]...^....<.PX
        0x0120:  4543 6c69 656e 743a 4172 6368 3a30 3030  EClient:Arch:000
        0x0130:  3030 3a55 4e44 493a 3030 3230 3031 4d04  00:UNDI:002001M.
        0x0140:  6950 5845 3716 0103 0607 0c0f 112b 3c42  iPXE7........+<B
        0x0150:  4377 8081 8283 8485 8687 afcb af39 b105  Cw...........9..
        0x0160:  0110 ec81 68eb 0301 0000 1701 0122 0101  ....h........"..
        0x0170:  1601 0113 0101 1401 0111 0101 2701 0119  ............'...
        0x0180:  0101 2901 0110 0102 2101 0115 0101 1801  ..).....!.......
        0x0190:  0126 0101 1201 013d 0701 00e0 4c69 3b17  .&.....=....Li;.
        0x01a0:  6111 0000 0200 0300 0400 0500 0600 0700  a...............
        0x01b0:  0800 0936 040a d200 0b32 040a d300 14ff  ...6.....2......

15:20:07.562955 IP (tos 0x0, ttl 64, id 55711, offset 0, flags [DF], proto UDP (17), length 328)
    10.210.0.11.67 > 10.211.0.1.67: [bad udp cksum 0x16f6 -> 0xb719!] BOOTP/DHCP, Reply, length 300, hops 1, xid 0x542d2231, secs 18, Flags [Broadcast] (0x8000)
          Your-IP 10.211.0.20
          Server-IP 10.210.0.11
          Gateway-IP 10.211.0.1
          Client-Ethernet-Address 00:e0:4c:69:3b:17
          file "undionly.kkpxe"
          Vendor-rfc1048 Extensions
            Magic Cookie 0x63825363
            DHCP-Message Option 53, length 1: ACK
            Server-ID Option 54, length 4: 10.210.0.11
            Lease-Time Option 51, length 4: 20780
            Subnet-Mask Option 1, length 4: 255.255.255.0
            Default-Gateway Option 3, length 4: 10.210.0.1
            Domain-Name-Server Option 6, length 4: 10.210.0.11
        0x0000:  4500 0148 d99f 4000 4011 4a55 0ad2 000b  E..H..@.@.JU....
        0x0010:  0ad3 0001 0043 0043 0134 16f6 0201 0601  .....C.C.4......
        0x0020:  542d 2231 0012 8000 0000 0000 0ad3 0014  T-"1............
        0x0030:  0ad2 000b 0ad3 0001 00e0 4c69 3b17 0000  ..........Li;...
        0x0040:  0000 0000 0000 0000 0000 0000 0000 0000  ................
        0x0050:  0000 0000 0000 0000 0000 0000 0000 0000  ................
        0x0060:  0000 0000 0000 0000 0000 0000 0000 0000  ................
        0x0070:  0000 0000 0000 0000 0000 0000 0000 0000  ................
        0x0080:  0000 0000 0000 0000 756e 6469 6f6e 6c79  ........undionly
        0x0090:  2e6b 6b70 7865 0000 0000 0000 0000 0000  .kkpxe..........
        0x00a0:  0000 0000 0000 0000 0000 0000 0000 0000  ................
        0x00b0:  0000 0000 0000 0000 0000 0000 0000 0000  ................
        0x00c0:  0000 0000 0000 0000 0000 0000 0000 0000  ................
        0x00d0:  0000 0000 0000 0000 0000 0000 0000 0000  ................
        0x00e0:  0000 0000 0000 0000 0000 0000 0000 0000  ................
        0x00f0:  0000 0000 0000 0000 0000 0000 0000 0000  ................
        0x0100:  0000 0000 0000 0000 6382 5363 3501 0536  ........c.Sc5..6
        0x0110:  040a d200 0b33 0400 0051 2c01 04ff ffff  .....3...Q,.....
        0x0120:  0003 040a d200 0106 040a d200 0bff 0000  ................
        0x0130:  0000 0000 0000 0000 0000 0000 0000 0000  ................
        0x0140:  0000 0000 0000 0000                      ........

The DHCP configuration:
Code:
# DHCP Server Configuration file\n#see /usr/share/doc/dhcp*/dhcpd.conf.sample
# This file was created by FOG
#Definition of PXE-specific options
# Code 1: Multicast IP Address of bootfile
# Code 2: UDP Port that client should monitor for MTFTP Responses
# Code 3: UDP Port that MTFTP servers are using to listen for MTFTP requests
# Code 4: Number of seconds a client must listen for activity before trying
#         to start a new MTFTP transfer
# Code 5: Number of seconds a client must listen before trying to restart
#         a MTFTP transfer
option space PXE;
option PXE.mtftp-ip code 1 = ip-address;
option PXE.mtftp-cport code 2 = unsigned integer 16;
option PXE.mtftp-sport code 3 = unsigned integer 16;
option PXE.mtftp-tmout code 4 = unsigned integer 8;
option PXE.mtftp-delay code 5 = unsigned integer 8;
option arch code 93 = unsigned integer 16;
use-host-decl-names on;
ddns-update-style interim;
ignore client-updates;
# Specify subnet of ether device you do NOT want service.
# For systems with two or more ethernet devices.
# subnet 136.165.0.0 netmask 255.255.0.0 {}

subnet 10.210.0.0 netmask 255.255.255.0{
    authoritative;
    option subnet-mask 255.255.255.0;
    range dynamic-bootp 10.210.0.20 10.210.0.200;
    default-lease-time 21600;
    max-lease-time 43200;
    option routers 10.210.0.1;
    option domain-name-servers 10.210.0.11;
    next-server 10.210.0.11;
    class "Legacy" {
        match if substring(option vendor-class-identifier, 0, 20) = "PXEClient:Arch:00000";
        filename "undionly.kkpxe";
    }
    class "UEFI-32-2" {
        match if substring(option vendor-class-identifier, 0, 20) = "PXEClient:Arch:00002";
        filename "i386-efi/ipxe.efi";
    }
    class "UEFI-32-1" {
        match if substring(option vendor-class-identifier, 0, 20) = "PXEClient:Arch:00006";
        filename "i386-efi/ipxe.efi";
    }
    class "UEFI-64-1" {
        match if substring(option vendor-class-identifier, 0, 20) = "PXEClient:Arch:00007";
        filename "ipxe.efi";
    }
    class "UEFI-64-2" {
        match if substring(option vendor-class-identifier, 0, 20) = "PXEClient:Arch:00008";
        filename "ipxe.efi";
    }
    class "UEFI-64-3" {
        match if substring(option vendor-class-identifier, 0, 20) = "PXEClient:Arch:00009";
        filename "ipxe.efi";
    }
    class "SURFACE-PRO-4" {
        match if substring(option vendor-class-identifier, 0, 32) = "PXEClient:Arch:00007:UNDI:003016";
        filename "ipxe7156.efi";
    }
    class "Apple-Intel-Netboot" {
        match if substring(option vendor-class-identifier, 0, 14) = "AAPLBSDPC/i386";
        option dhcp-parameter-request-list 1,3,17,43,60;
        if (option dhcp-message-type = 8) {
            option vendor-class-identifier "AAPLBSDPC";
            if (substring(option vendor-encapsulated-options, 0, 3) = 01:01:01) {
                # BSDP List
                option vendor-encapsulated-options 01:01:01:04:02:80:00:07:04:81:00:05:2a:09:0D:81:00:05:2a:08:69:50:58:45:2d:46:4f​:47;
                filename "ipxe.efi";
            }
        }
    }
}

subnet 10.211.0.0 netmask 255.255.255.0{
    authoritative;
    option subnet-mask 255.255.255.0;
    range dynamic-bootp 10.211.0.20 10.211.0.200;
    default-lease-time 21600;
    max-lease-time 43200;
    option routers 10.211.0.1;
    option domain-name-servers 10.210.0.11;
    next-server 10.210.0.11;
    class "Legacy" {
        match if substring(option vendor-class-identifier, 0, 20) = "PXEClient:Arch:00000";
        filename "undionly.kkpxe";
    }
    class "UEFI-32-2" {
        match if substring(option vendor-class-identifier, 0, 20) = "PXEClient:Arch:00002";
        filename "i386-efi/ipxe.efi";
    }
    class "UEFI-32-1" {
        match if substring(option vendor-class-identifier, 0, 20) = "PXEClient:Arch:00006";
        filename "i386-efi/ipxe.efi";
    }
    class "UEFI-64-1" {
        match if substring(option vendor-class-identifier, 0, 20) = "PXEClient:Arch:00007";
        filename "ipxe.efi";
    }
    class "UEFI-64-2" {
        match if substring(option vendor-class-identifier, 0, 20) = "PXEClient:Arch:00008";
        filename "ipxe.efi";
    }
    class "UEFI-64-3" {
        match if substring(option vendor-class-identifier, 0, 20) = "PXEClient:Arch:00009";
        filename "ipxe.efi";
    }
    class "SURFACE-PRO-4" {
        match if substring(option vendor-class-identifier, 0, 32) = "PXEClient:Arch:00007:UNDI:003016";
        filename "ipxe7156.efi";
    }
    class "Apple-Intel-Netboot" {
        match if substring(option vendor-class-identifier, 0, 14) = "AAPLBSDPC/i386";
        option dhcp-parameter-request-list 1,3,17,43,60;
        if (option dhcp-message-type = 8) {
            option vendor-class-identifier "AAPLBSDPC";
            if (substring(option vendor-encapsulated-options, 0, 3) = 01:01:01) {
                # BSDP List
                option vendor-encapsulated-options 01:01:01:04:02:80:00:07:04:81:00:05:2a:09:0D:81:00:05:2a:08:69:50:58:45:2d:46:4f​:47;
                filename "ipxe.efi";
            }
        }
    }
}
With same ISC-DHCP-Server, PXE bootrom and Windows client could get correct gateway, but iPXE couldn't.

The offer packets of bootrom and iPXE were similar, both had wrong default gateway, but bootrom got correct gateway...

I'm totally confused.

BootROM:

Code:
09:47:23.888345 IP (tos 0x0, ttl 19, id 25118, offset 0, flags [none], proto UDP (17), length 576)
    10.211.0.1.67 > 10.210.0.11.67: [udp sum ok] BOOTP/DHCP, Request from 00:e0:4c:69:3b:17, length 548, hops 1, xid 0x4d693b17, secs 4, Flags [Broadcast] (0x8000)
          Gateway-IP 10.211.0.1
          Client-Ethernet-Address 00:e0:4c:69:3b:17
          Vendor-rfc1048 Extensions
            Magic Cookie 0x63825363
            DHCP-Message Option 53, length 1: Discover
            Parameter-Request Option 55, length 36:
              Subnet-Mask, Time-Zone, Default-Gateway, Time-Server
              IEN-Name-Server, Domain-Name-Server, RL, Hostname
              BS, Domain-Name, SS, RP
              EP, RSZ, TTL, BR
              YD, YS, NTP, Vendor-Option
              Requested-IP, Lease-Time, Server-ID, RN
              RB, Vendor-Class, TFTP, BF
              Option 128, Option 129, Option 130, Option 131
              Option 132, Option 133, Option 134, Option 135
            MSZ Option 57, length 2: 1260
            GUID Option 97, length 17: 0.0.2.0.3.0.4.0.5.0.6.0.7.0.8.0.9
            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"
        0x0000:  4500 0240 621e 0000 1311 2ddf 0ad3 0001  E..@b.....-.....
        0x0010:  0ad2 000b 0043 0043 022c 1758 0101 0601  .....C.C.,.X....
        0x0020:  4d69 3b17 0004 8000 0000 0000 0000 0000  Mi;.............
        0x0030:  0000 0000 0ad3 0001 00e0 4c69 3b17 0000  ..........Li;...
        0x0040:  0000 0000 0000 0000 0000 0000 0000 0000  ................
        0x0050:  0000 0000 0000 0000 0000 0000 0000 0000  ................
        0x0060:  0000 0000 0000 0000 0000 0000 0000 0000  ................
        0x0070:  0000 0000 0000 0000 0000 0000 0000 0000  ................
        0x0080:  0000 0000 0000 0000 0000 0000 0000 0000  ................
        0x0090:  0000 0000 0000 0000 0000 0000 0000 0000  ................
        0x00a0:  0000 0000 0000 0000 0000 0000 0000 0000  ................
        0x00b0:  0000 0000 0000 0000 0000 0000 0000 0000  ................
        0x00c0:  0000 0000 0000 0000 0000 0000 0000 0000  ................
        0x00d0:  0000 0000 0000 0000 0000 0000 0000 0000  ................
        0x00e0:  0000 0000 0000 0000 0000 0000 0000 0000  ................
        0x00f0:  0000 0000 0000 0000 0000 0000 0000 0000  ................
        0x0100:  0000 0000 0000 0000 6382 5363 3501 0137  ........c.Sc5..7
        0x0110:  2401 0203 0405 060b 0c0d 0f10 1112 1617  $...............
        0x0120:  1c28 292a 2b32 3336 3a3b 3c42 4380 8182  .()*+236:;<BC...
        0x0130:  8384 8586 8739 0204 ec61 1100 0002 0003  .....9...a......
        0x0140:  0004 0005 0006 0007 0008 0009 5d02 0000  ............]...
        0x0150:  5e03 0102 013c 2050 5845 436c 6965 6e74  ^....<.PXEClient
        0x0160:  3a41 7263 683a 3030 3030 303a 554e 4449  :Arch:00000:UNDI
        0x0170:  3a30 3032 3030 31ff 0000 0000 0000 0000  :002001.........
        0x0180:  0000 0000 0000 0000 0000 0000 0000 0000  ................
        0x0190:  0000 0000 0000 0000 0000 0000 0000 0000  ................
        0x01a0:  0000 0000 0000 0000 0000 0000 0000 0000  ................
        0x01b0:  0000 0000 0000 0000 0000 0000 0000 0000  ................
        0x01c0:  0000 0000 0000 0000 0000 0000 0000 0000  ................
        0x01d0:  0000 0000 0000 0000 0000 0000 0000 0000  ................
        0x01e0:  0000 0000 0000 0000 0000 0000 0000 0000  ................
        0x01f0:  0000 0000 0000 0000 0000 0000 0000 0000  ................
        0x0200:  0000 0000 0000 0000 0000 0000 0000 0000  ................
        0x0210:  0000 0000 0000 0000 0000 0000 0000 0000  ................
        0x0220:  0000 0000 0000 0000 0000 0000 0000 0000  ................
        0x0230:  0000 0000 0000 0000 0000 0000 0000 0000  ................
09:47:24.889866 IP (tos 0x0, ttl 64, id 64784, offset 0, flags [DF], proto UDP (17), length 328)
    10.210.0.11.67 > 10.211.0.1.67: [bad udp cksum 0x16f6 -> 0x7401!] BOOTP/DHCP, Reply, length 300, hops 1, xid 0x4d693b17, secs 4, Flags [Broadcast] (0x8000)
          Your-IP 10.211.0.21
          Server-IP 10.210.0.11
          Gateway-IP 10.211.0.1
          Client-Ethernet-Address 00:e0:4c:69:3b:17
          file "undionly.kkpxe"
          Vendor-rfc1048 Extensions
            Magic Cookie 0x63825363
            DHCP-Message Option 53, length 1: Offer
            Server-ID Option 54, length 4: 10.210.0.11
            Lease-Time Option 51, length 4: 21600
            Subnet-Mask Option 1, length 4: 255.255.255.0
            Default-Gateway Option 3, length 4: 10.210.0.1
            Domain-Name-Server Option 6, length 4: 10.210.0.11
        0x0000:  4500 0148 fd10 4000 4011 26e4 0ad2 000b  E..H..@.@.&.....
        0x0010:  0ad3 0001 0043 0043 0134 16f6 0201 0601  .....C.C.4......
        0x0020:  4d69 3b17 0004 8000 0000 0000 0ad3 0015  Mi;.............
        0x0030:  0ad2 000b 0ad3 0001 00e0 4c69 3b17 0000  ..........Li;...
        0x0040:  0000 0000 0000 0000 0000 0000 0000 0000  ................
        0x0050:  0000 0000 0000 0000 0000 0000 0000 0000  ................
        0x0060:  0000 0000 0000 0000 0000 0000 0000 0000  ................
        0x0070:  0000 0000 0000 0000 0000 0000 0000 0000  ................
        0x0080:  0000 0000 0000 0000 756e 6469 6f6e 6c79  ........undionly
        0x0090:  2e6b 6b70 7865 0000 0000 0000 0000 0000  .kkpxe..........
        0x00a0:  0000 0000 0000 0000 0000 0000 0000 0000  ................
        0x00b0:  0000 0000 0000 0000 0000 0000 0000 0000  ................
        0x00c0:  0000 0000 0000 0000 0000 0000 0000 0000  ................
        0x00d0:  0000 0000 0000 0000 0000 0000 0000 0000  ................
        0x00e0:  0000 0000 0000 0000 0000 0000 0000 0000  ................
        0x00f0:  0000 0000 0000 0000 0000 0000 0000 0000  ................
        0x0100:  0000 0000 0000 0000 6382 5363 3501 0236  ........c.Sc5..6
        0x0110:  040a d200 0b33 0400 0054 6001 04ff ffff  .....3...T`.....
        0x0120:  0003 040a d200 0106 040a d200 0bff 0000  ................
        0x0130:  0000 0000 0000 0000 0000 0000 0000 0000  ................
        0x0140:  0000 0000 0000 0000                      ........
09:47:27.986907 IP (tos 0x0, ttl 19, id 25122, offset 0, flags [none], proto UDP (17), length 576)
    10.211.0.1.67 > 10.210.0.11.67: [udp sum ok] BOOTP/DHCP, Request from 00:e0:4c:69:3b:17, length 548, hops 1, xid 0x4d693b17, secs 4, Flags [Broadcast] (0x8000)
          Gateway-IP 10.211.0.1
          Client-Ethernet-Address 00:e0:4c:69:3b:17
          Vendor-rfc1048 Extensions
            Magic Cookie 0x63825363
            DHCP-Message Option 53, length 1: Request
            Requested-IP Option 50, length 4: 10.211.0.21
            Parameter-Request Option 55, length 36:
              Subnet-Mask, Time-Zone, Default-Gateway, Time-Server
              IEN-Name-Server, Domain-Name-Server, RL, Hostname
              BS, Domain-Name, SS, RP
              EP, RSZ, TTL, BR
              YD, YS, NTP, Vendor-Option
              Requested-IP, Lease-Time, Server-ID, RN
              RB, Vendor-Class, TFTP, BF
              Option 128, Option 129, Option 130, Option 131
              Option 132, Option 133, Option 134, Option 135
            MSZ Option 57, length 2: 1260
            Server-ID Option 54, length 4: 10.210.0.11
            GUID Option 97, length 17: 0.0.2.0.3.0.4.0.5.0.6.0.7.0.8.0.9
            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"
        0x0000:  4500 0240 6222 0000 1311 2ddb 0ad3 0001  E..@b"....-.....
        0x0010:  0ad2 000b 0043 0043 022c 47da 0101 0601  .....C.C.,G.....
        0x0020:  4d69 3b17 0004 8000 0000 0000 0000 0000  Mi;.............
        0x0030:  0000 0000 0ad3 0001 00e0 4c69 3b17 0000  ..........Li;...
        0x0040:  0000 0000 0000 0000 0000 0000 0000 0000  ................
        0x0050:  0000 0000 0000 0000 0000 0000 0000 0000  ................
        0x0060:  0000 0000 0000 0000 0000 0000 0000 0000  ................
        0x0070:  0000 0000 0000 0000 0000 0000 0000 0000  ................
        0x0080:  0000 0000 0000 0000 0000 0000 0000 0000  ................
        0x0090:  0000 0000 0000 0000 0000 0000 0000 0000  ................
        0x00a0:  0000 0000 0000 0000 0000 0000 0000 0000  ................
        0x00b0:  0000 0000 0000 0000 0000 0000 0000 0000  ................
        0x00c0:  0000 0000 0000 0000 0000 0000 0000 0000  ................
        0x00d0:  0000 0000 0000 0000 0000 0000 0000 0000  ................
        0x00e0:  0000 0000 0000 0000 0000 0000 0000 0000  ................
        0x00f0:  0000 0000 0000 0000 0000 0000 0000 0000  ................
        0x0100:  0000 0000 0000 0000 6382 5363 3501 0332  ........c.Sc5..2
        0x0110:  040a d300 1537 2401 0203 0405 060b 0c0d  .....7$.........
        0x0120:  0f10 1112 1617 1c28 292a 2b32 3336 3a3b  .......()*+236:;
        0x0130:  3c42 4380 8182 8384 8586 8739 0204 ec36  <BC........9...6
        0x0140:  040a d200 0b61 1100 0002 0003 0004 0005  .....a..........
        0x0150:  0006 0007 0008 0009 5d02 0000 5e03 0102  ........]...^...
        0x0160:  013c 2050 5845 436c 6965 6e74 3a41 7263  .<.PXEClient:Arc
        0x0170:  683a 3030 3030 303a 554e 4449 3a30 3032  h:00000:UNDI:002
        0x0180:  3030 31ff 0000 0000 0000 0000 0000 0000  001.............
        0x0190:  0000 0000 0000 0000 0000 0000 0000 0000  ................
        0x01a0:  0000 0000 0000 0000 0000 0000 0000 0000  ................
        0x01b0:  0000 0000 0000 0000 0000 0000 0000 0000  ................
        0x01c0:  0000 0000 0000 0000 0000 0000 0000 0000  ................
        0x01d0:  0000 0000 0000 0000 0000 0000 0000 0000  ................
        0x01e0:  0000 0000 0000 0000 0000 0000 0000 0000  ................
        0x01f0:  0000 0000 0000 0000 0000 0000 0000 0000  ................
        0x0200:  0000 0000 0000 0000 0000 0000 0000 0000  ................
        0x0210:  0000 0000 0000 0000 0000 0000 0000 0000  ................
        0x0220:  0000 0000 0000 0000 0000 0000 0000 0000  ................
        0x0230:  0000 0000 0000 0000 0000 0000 0000 0000  ................
09:47:28.074208 IP (tos 0x0, ttl 64, id 65104, offset 0, flags [DF], proto UDP (17), length 328)
    10.210.0.11.67 > 10.211.0.1.67: [bad udp cksum 0x16f6 -> 0x7101!] BOOTP/DHCP, Reply, length 300, hops 1, xid 0x4d693b17, secs 4, Flags [Broadcast] (0x8000)
          Your-IP 10.211.0.21
          Server-IP 10.210.0.11
          Gateway-IP 10.211.0.1
          Client-Ethernet-Address 00:e0:4c:69:3b:17
          file "undionly.kkpxe"
          Vendor-rfc1048 Extensions
            Magic Cookie 0x63825363
            DHCP-Message Option 53, length 1: ACK
            Server-ID Option 54, length 4: 10.210.0.11
            Lease-Time Option 51, length 4: 21600
            Subnet-Mask Option 1, length 4: 255.255.255.0
            Default-Gateway Option 3, length 4: 10.210.0.1
            Domain-Name-Server Option 6, length 4: 10.210.0.11
        0x0000:  4500 0148 fe50 4000 4011 25a4 0ad2 000b  E..H.P@.@.%.....
        0x0010:  0ad3 0001 0043 0043 0134 16f6 0201 0601  .....C.C.4......
        0x0020:  4d69 3b17 0004 8000 0000 0000 0ad3 0015  Mi;.............
        0x0030:  0ad2 000b 0ad3 0001 00e0 4c69 3b17 0000  ..........Li;...
        0x0040:  0000 0000 0000 0000 0000 0000 0000 0000  ................
        0x0050:  0000 0000 0000 0000 0000 0000 0000 0000  ................
        0x0060:  0000 0000 0000 0000 0000 0000 0000 0000  ................
        0x0070:  0000 0000 0000 0000 0000 0000 0000 0000  ................
        0x0080:  0000 0000 0000 0000 756e 6469 6f6e 6c79  ........undionly
        0x0090:  2e6b 6b70 7865 0000 0000 0000 0000 0000  .kkpxe..........
        0x00a0:  0000 0000 0000 0000 0000 0000 0000 0000  ................
        0x00b0:  0000 0000 0000 0000 0000 0000 0000 0000  ................
        0x00c0:  0000 0000 0000 0000 0000 0000 0000 0000  ................
        0x00d0:  0000 0000 0000 0000 0000 0000 0000 0000  ................
        0x00e0:  0000 0000 0000 0000 0000 0000 0000 0000  ................
        0x00f0:  0000 0000 0000 0000 0000 0000 0000 0000  ................
        0x0100:  0000 0000 0000 0000 6382 5363 3501 0536  ........c.Sc5..6
        0x0110:  040a d200 0b33 0400 0054 6001 04ff ffff  .....3...T`.....
        0x0120:  0003 040a d200 0106 040a d200 0bff 0000  ................
        0x0130:  0000 0000 0000 0000 0000 0000 0000 0000  ................
        0x0140:  0000 0000 0000 0000                      ........

iPXE client:

Code:
09:47:29.624519 IP (tos 0x0, ttl 63, id 25124, offset 0, flags [none], proto UDP (17), length 436)
    10.211.0.1.67 > 10.210.0.11.67: [udp sum ok] BOOTP/DHCP, Request from 00:e0:4c:69:3b:17, length 408, hops 1, xid 0x954baa5e, secs 4, Flags [Broadcast] (0x8000)
          Gateway-IP 10.211.0.1
          Client-Ethernet-Address 00:e0:4c:69:3b:17
          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"
            User-Class Option 77, length 4:
              instance#1: ERROR: malformed option
            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 57: 177.5.1.16.236.129.104.235.3.1.0.0.23.1.1.34.1.1.22.1.1.19.1.1.20.1.1.17.1.1.39.​1.1.25.1.1.41.1.1.16.1.2.33.1.1.21.1.1.24.1.1.38.1.1.18.1.1
            Client-ID Option 61, length 7: ether 00:e0:4c:69:3b:17
            GUID Option 97, length 17: 0.0.2.0.3.0.4.0.5.0.6.0.7.0.8.0.9
        0x0000:  4500 01b4 6224 0000 3f11 0265 0ad3 0001  E...b$..?..e....
        0x0010:  0ad2 000b 0043 0043 01a0 af5d 0101 0601  .....C.C...]....
        0x0020:  954b aa5e 0004 8000 0000 0000 0000 0000  .K.^............
        0x0030:  0000 0000 0ad3 0001 00e0 4c69 3b17 0000  ..........Li;...
        0x0040:  0000 0000 0000 0000 0000 0000 0000 0000  ................
        0x0050:  0000 0000 0000 0000 0000 0000 0000 0000  ................
        0x0060:  0000 0000 0000 0000 0000 0000 0000 0000  ................
        0x0070:  0000 0000 0000 0000 0000 0000 0000 0000  ................
        0x0080:  0000 0000 0000 0000 0000 0000 0000 0000  ................
        0x0090:  0000 0000 0000 0000 0000 0000 0000 0000  ................
        0x00a0:  0000 0000 0000 0000 0000 0000 0000 0000  ................
        0x00b0:  0000 0000 0000 0000 0000 0000 0000 0000  ................
        0x00c0:  0000 0000 0000 0000 0000 0000 0000 0000  ................
        0x00d0:  0000 0000 0000 0000 0000 0000 0000 0000  ................
        0x00e0:  0000 0000 0000 0000 0000 0000 0000 0000  ................
        0x00f0:  0000 0000 0000 0000 0000 0000 0000 0000  ................
        0x0100:  0000 0000 0000 0000 6382 5363 3501 0139  ........c.Sc5..9
        0x0110:  0205 c05d 0200 005e 0301 0201 3c20 5058  ...]...^....<.PX
        0x0120:  4543 6c69 656e 743a 4172 6368 3a30 3030  EClient:Arch:000
        0x0130:  3030 3a55 4e44 493a 3030 3230 3031 4d04  00:UNDI:002001M.
        0x0140:  6950 5845 3716 0103 0607 0c0f 112b 3c42  iPXE7........+<B
        0x0150:  4377 8081 8283 8485 8687 afcb af39 b105  Cw...........9..
        0x0160:  0110 ec81 68eb 0301 0000 1701 0122 0101  ....h........"..
        0x0170:  1601 0113 0101 1401 0111 0101 2701 0119  ............'...
        0x0180:  0101 2901 0110 0102 2101 0115 0101 1801  ..).....!.......
        0x0190:  0126 0101 1201 013d 0701 00e0 4c69 3b17  .&.....=....Li;.
        0x01a0:  6111 0000 0200 0300 0400 0500 0600 0700  a...............
        0x01b0:  0800 09ff                                ....
09:47:30.598068 IP (tos 0x0, ttl 63, id 25125, offset 0, flags [none], proto UDP (17), length 436)
    10.211.0.1.67 > 10.210.0.11.67: [udp sum ok] BOOTP/DHCP, Request from 00:e0:4c:69:3b:17, length 408, hops 1, xid 0x954baa5e, secs 8, Flags [Broadcast] (0x8000)
          Gateway-IP 10.211.0.1
          Client-Ethernet-Address 00:e0:4c:69:3b:17
          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"
            User-Class Option 77, length 4:
              instance#1: ERROR: malformed option
            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 57: 177.5.1.16.236.129.104.235.3.1.0.0.23.1.1.34.1.1.22.1.1.19.1.1.20.1.1.17.1.1.39.​1.1.25.1.1.41.1.1.16.1.2.33.1.1.21.1.1.24.1.1.38.1.1.18.1.1
            Client-ID Option 61, length 7: ether 00:e0:4c:69:3b:17
            GUID Option 97, length 17: 0.0.2.0.3.0.4.0.5.0.6.0.7.0.8.0.9
        0x0000:  4500 01b4 6225 0000 3f11 0264 0ad3 0001  E...b%..?..d....
        0x0010:  0ad2 000b 0043 0043 01a0 af59 0101 0601  .....C.C...Y....
        0x0020:  954b aa5e 0008 8000 0000 0000 0000 0000  .K.^............
        0x0030:  0000 0000 0ad3 0001 00e0 4c69 3b17 0000  ..........Li;...
        0x0040:  0000 0000 0000 0000 0000 0000 0000 0000  ................
        0x0050:  0000 0000 0000 0000 0000 0000 0000 0000  ................
        0x0060:  0000 0000 0000 0000 0000 0000 0000 0000  ................
        0x0070:  0000 0000 0000 0000 0000 0000 0000 0000  ................
        0x0080:  0000 0000 0000 0000 0000 0000 0000 0000  ................
        0x0090:  0000 0000 0000 0000 0000 0000 0000 0000  ................
        0x00a0:  0000 0000 0000 0000 0000 0000 0000 0000  ................
        0x00b0:  0000 0000 0000 0000 0000 0000 0000 0000  ................
        0x00c0:  0000 0000 0000 0000 0000 0000 0000 0000  ................
        0x00d0:  0000 0000 0000 0000 0000 0000 0000 0000  ................
        0x00e0:  0000 0000 0000 0000 0000 0000 0000 0000  ................
        0x00f0:  0000 0000 0000 0000 0000 0000 0000 0000  ................
        0x0100:  0000 0000 0000 0000 6382 5363 3501 0139  ........c.Sc5..9
        0x0110:  0205 c05d 0200 005e 0301 0201 3c20 5058  ...]...^....<.PX
        0x0120:  4543 6c69 656e 743a 4172 6368 3a30 3030  EClient:Arch:000
        0x0130:  3030 3a55 4e44 493a 3030 3230 3031 4d04  00:UNDI:002001M.
        0x0140:  6950 5845 3716 0103 0607 0c0f 112b 3c42  iPXE7........+<B
        0x0150:  4377 8081 8283 8485 8687 afcb af39 b105  Cw...........9..
        0x0160:  0110 ec81 68eb 0301 0000 1701 0122 0101  ....h........"..
        0x0170:  1601 0113 0101 1401 0111 0101 2701 0119  ............'...
        0x0180:  0101 2901 0110 0102 2101 0115 0101 1801  ..).....!.......
        0x0190:  0126 0101 1201 013d 0701 00e0 4c69 3b17  .&.....=....Li;.
        0x01a0:  6111 0000 0200 0300 0400 0500 0600 0700  a...............
        0x01b0:  0800 09ff                                ....
09:47:30.625184 IP (tos 0x0, ttl 64, id 65490, offset 0, flags [DF], proto UDP (17), length 328)
    10.210.0.11.67 > 10.211.0.1.67: [bad udp cksum 0x16f6 -> 0x52da!] BOOTP/DHCP, Reply, length 300, hops 1, xid 0x954baa5e, secs 4, Flags [Broadcast] (0x8000)
          Your-IP 10.211.0.20
          Server-IP 10.210.0.11
          Gateway-IP 10.211.0.1
          Client-Ethernet-Address 00:e0:4c:69:3b:17
          file "undionly.kkpxe"
          Vendor-rfc1048 Extensions
            Magic Cookie 0x63825363
            DHCP-Message Option 53, length 1: Offer
            Server-ID Option 54, length 4: 10.210.0.11
            Lease-Time Option 51, length 4: 21194
            Subnet-Mask Option 1, length 4: 255.255.255.0
            Default-Gateway Option 3, length 4: 10.210.0.1
            Domain-Name-Server Option 6, length 4: 10.210.0.11
        0x0000:  4500 0148 ffd2 4000 4011 2422 0ad2 000b  E..H..@.@.$"....
        0x0010:  0ad3 0001 0043 0043 0134 16f6 0201 0601  .....C.C.4......
        0x0020:  954b aa5e 0004 8000 0000 0000 0ad3 0014  .K.^............
        0x0030:  0ad2 000b 0ad3 0001 00e0 4c69 3b17 0000  ..........Li;...
        0x0040:  0000 0000 0000 0000 0000 0000 0000 0000  ................
        0x0050:  0000 0000 0000 0000 0000 0000 0000 0000  ................
        0x0060:  0000 0000 0000 0000 0000 0000 0000 0000  ................
        0x0070:  0000 0000 0000 0000 0000 0000 0000 0000  ................
        0x0080:  0000 0000 0000 0000 756e 6469 6f6e 6c79  ........undionly
        0x0090:  2e6b 6b70 7865 0000 0000 0000 0000 0000  .kkpxe..........
        0x00a0:  0000 0000 0000 0000 0000 0000 0000 0000  ................
        0x00b0:  0000 0000 0000 0000 0000 0000 0000 0000  ................
        0x00c0:  0000 0000 0000 0000 0000 0000 0000 0000  ................
        0x00d0:  0000 0000 0000 0000 0000 0000 0000 0000  ................
        0x00e0:  0000 0000 0000 0000 0000 0000 0000 0000  ................
        0x00f0:  0000 0000 0000 0000 0000 0000 0000 0000  ................
        0x0100:  0000 0000 0000 0000 6382 5363 3501 0236  ........c.Sc5..6
        0x0110:  040a d200 0b33 0400 0052 ca01 04ff ffff  .....3...R......
        0x0120:  0003 040a d200 0106 040a d200 0bff 0000  ................
        0x0130:  0000 0000 0000 0000 0000 0000 0000 0000  ................
        0x0140:  0000 0000 0000 0000                      ........
09:47:32.568204 IP (tos 0x0, ttl 63, id 25127, offset 0, flags [none], proto UDP (17), length 448)
    10.211.0.1.67 > 10.210.0.11.67: [udp sum ok] BOOTP/DHCP, Request from 00:e0:4c:69:3b:17, length 420, hops 1, xid 0x954baa5e, secs 18, Flags [Broadcast] (0x8000)
          Gateway-IP 10.211.0.1
          Client-Ethernet-Address 00:e0:4c:69:3b:17
          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"
            User-Class Option 77, length 4:
              instance#1: ERROR: malformed option
            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 57: 177.5.1.16.236.129.104.235.3.1.0.0.23.1.1.34.1.1.22.1.1.19.1.1.20.1.1.17.1.1.39.​1.1.25.1.1.41.1.1.16.1.2.33.1.1.21.1.1.24.1.1.38.1.1.18.1.1
            Client-ID Option 61, length 7: ether 00:e0:4c:69:3b:17
            GUID Option 97, length 17: 0.0.2.0.3.0.4.0.5.0.6.0.7.0.8.0.9
            Server-ID Option 54, length 4: 10.210.0.11
            Requested-IP Option 50, length 4: 10.211.0.20
        0x0000:  4500 01c0 6227 0000 3f11 0256 0ad3 0001  E...b'..?..V....
        0x0010:  0ad2 000b 0043 0043 01ac e0b9 0101 0601  .....C.C........
        0x0020:  954b aa5e 0012 8000 0000 0000 0000 0000  .K.^............
        0x0030:  0000 0000 0ad3 0001 00e0 4c69 3b17 0000  ..........Li;...
        0x0040:  0000 0000 0000 0000 0000 0000 0000 0000  ................
        0x0050:  0000 0000 0000 0000 0000 0000 0000 0000  ................
        0x0060:  0000 0000 0000 0000 0000 0000 0000 0000  ................
        0x0070:  0000 0000 0000 0000 0000 0000 0000 0000  ................
        0x0080:  0000 0000 0000 0000 0000 0000 0000 0000  ................
        0x0090:  0000 0000 0000 0000 0000 0000 0000 0000  ................
        0x00a0:  0000 0000 0000 0000 0000 0000 0000 0000  ................
        0x00b0:  0000 0000 0000 0000 0000 0000 0000 0000  ................
        0x00c0:  0000 0000 0000 0000 0000 0000 0000 0000  ................
        0x00d0:  0000 0000 0000 0000 0000 0000 0000 0000  ................
        0x00e0:  0000 0000 0000 0000 0000 0000 0000 0000  ................
        0x00f0:  0000 0000 0000 0000 0000 0000 0000 0000  ................
        0x0100:  0000 0000 0000 0000 6382 5363 3501 0339  ........c.Sc5..9
        0x0110:  0205 c05d 0200 005e 0301 0201 3c20 5058  ...]...^....<.PX
        0x0120:  4543 6c69 656e 743a 4172 6368 3a30 3030  EClient:Arch:000
        0x0130:  3030 3a55 4e44 493a 3030 3230 3031 4d04  00:UNDI:002001M.
        0x0140:  6950 5845 3716 0103 0607 0c0f 112b 3c42  iPXE7........+<B
        0x0150:  4377 8081 8283 8485 8687 afcb af39 b105  Cw...........9..
        0x0160:  0110 ec81 68eb 0301 0000 1701 0122 0101  ....h........"..
        0x0170:  1601 0113 0101 1401 0111 0101 2701 0119  ............'...
        0x0180:  0101 2901 0110 0102 2101 0115 0101 1801  ..).....!.......
        0x0190:  0126 0101 1201 013d 0701 00e0 4c69 3b17  .&.....=....Li;.
        0x01a0:  6111 0000 0200 0300 0400 0500 0600 0700  a...............
        0x01b0:  0800 0936 040a d200 0b32 040a d300 14ff  ...6.....2......
09:47:32.568601 IP (tos 0x0, ttl 64, id 97, offset 0, flags [DF], proto UDP (17), length 328)
    10.210.0.11.67 > 10.211.0.1.67: [bad udp cksum 0x16f6 -> 0x52cc!] BOOTP/DHCP, Reply, length 300, hops 1, xid 0x954baa5e, secs 18, Flags [Broadcast] (0x8000)
          Your-IP 10.211.0.20
          Server-IP 10.210.0.11
          Gateway-IP 10.211.0.1
          Client-Ethernet-Address 00:e0:4c:69:3b:17
          file "undionly.kkpxe"
          Vendor-rfc1048 Extensions
            Magic Cookie 0x63825363
            DHCP-Message Option 53, length 1: ACK
            Server-ID Option 54, length 4: 10.210.0.11
            Lease-Time Option 51, length 4: 21191
            Subnet-Mask Option 1, length 4: 255.255.255.0
            Default-Gateway Option 3, length 4: 10.210.0.1
            Domain-Name-Server Option 6, length 4: 10.210.0.11
        0x0000:  4500 0148 0061 4000 4011 2394 0ad2 000b  E..H.a@.@.#.....
        0x0010:  0ad3 0001 0043 0043 0134 16f6 0201 0601  .....C.C.4......
        0x0020:  954b aa5e 0012 8000 0000 0000 0ad3 0014  .K.^............
        0x0030:  0ad2 000b 0ad3 0001 00e0 4c69 3b17 0000  ..........Li;...
        0x0040:  0000 0000 0000 0000 0000 0000 0000 0000  ................
        0x0050:  0000 0000 0000 0000 0000 0000 0000 0000  ................
        0x0060:  0000 0000 0000 0000 0000 0000 0000 0000  ................
        0x0070:  0000 0000 0000 0000 0000 0000 0000 0000  ................
        0x0080:  0000 0000 0000 0000 756e 6469 6f6e 6c79  ........undionly
        0x0090:  2e6b 6b70 7865 0000 0000 0000 0000 0000  .kkpxe..........
        0x00a0:  0000 0000 0000 0000 0000 0000 0000 0000  ................
        0x00b0:  0000 0000 0000 0000 0000 0000 0000 0000  ................
        0x00c0:  0000 0000 0000 0000 0000 0000 0000 0000  ................
        0x00d0:  0000 0000 0000 0000 0000 0000 0000 0000  ................
        0x00e0:  0000 0000 0000 0000 0000 0000 0000 0000  ................
        0x00f0:  0000 0000 0000 0000 0000 0000 0000 0000  ................
        0x0100:  0000 0000 0000 0000 6382 5363 3501 0536  ........c.Sc5..6
        0x0110:  040a d200 0b33 0400 0052 c701 04ff ffff  .....3...R......
        0x0120:  0003 040a d200 0106 040a d200 0bff 0000  ................
        0x0130:  0000 0000 0000 0000 0000 0000 0000 0000  ................
        0x0140:  0000 0000 0000 0000                      ........

Windows client:

Code:
09:59:20.257548 IP (tos 0x0, ttl 127, id 26142, offset 0, flags [none], proto UDP (17), length 328)
    10.211.0.1.67 > 10.210.0.11.67: [udp sum ok] BOOTP/DHCP, Request from 00:e0:4c:69:3b:17, length 300, hops 1, xid 0x9df66d8c, Flags [none] (0x0000)
          Gateway-IP 10.211.0.1
          Client-Ethernet-Address 00:e0:4c:69:3b:17
          Vendor-rfc1048 Extensions
            Magic Cookie 0x63825363
            DHCP-Message Option 53, length 1: Discover
            Client-ID Option 61, length 7: ether 00:e0:4c:69:3b:17
            Hostname Option 12, length 15: "USER-20161114RB"
            Vendor-Class Option 60, length 8: "MSFT 5.0"
            Parameter-Request Option 55, length 12:
              Subnet-Mask, Domain-Name, Default-Gateway, Domain-Name-Server
              Netbios-Name-Server, Netbios-Node, Netbios-Scope, Router-Discovery
              Static-Route, Classless-Static-Route, Classless-Static-Route-Microsoft, Vendor-Option
        0x0000:  4500 0148 661e 0000 7f11 bed6 0ad3 0001  E..Hf...........
        0x0010:  0ad2 000b 0043 0043 0134 b975 0101 0601  .....C.C.4.u....
        0x0020:  9df6 6d8c 0000 0000 0000 0000 0000 0000  ..m.............
        0x0030:  0000 0000 0ad3 0001 00e0 4c69 3b17 0000  ..........Li;...
        0x0040:  0000 0000 0000 0000 0000 0000 0000 0000  ................
        0x0050:  0000 0000 0000 0000 0000 0000 0000 0000  ................
        0x0060:  0000 0000 0000 0000 0000 0000 0000 0000  ................
        0x0070:  0000 0000 0000 0000 0000 0000 0000 0000  ................
        0x0080:  0000 0000 0000 0000 0000 0000 0000 0000  ................
        0x0090:  0000 0000 0000 0000 0000 0000 0000 0000  ................
        0x00a0:  0000 0000 0000 0000 0000 0000 0000 0000  ................
        0x00b0:  0000 0000 0000 0000 0000 0000 0000 0000  ................
        0x00c0:  0000 0000 0000 0000 0000 0000 0000 0000  ................
        0x00d0:  0000 0000 0000 0000 0000 0000 0000 0000  ................
        0x00e0:  0000 0000 0000 0000 0000 0000 0000 0000  ................
        0x00f0:  0000 0000 0000 0000 0000 0000 0000 0000  ................
        0x0100:  0000 0000 0000 0000 6382 5363 3501 013d  ........c.Sc5..=
        0x0110:  0701 00e0 4c69 3b17 0c0f 5553 4552 2d32  ....Li;...USER-2
        0x0120:  3031 3631 3131 3452 423c 084d 5346 5420  0161114RB<.MSFT.
        0x0130:  352e 3037 0c01 0f03 062c 2e2f 1f21 79f9  5.07.....,./.!y.
        0x0140:  2bff 0000 0000 0000                      +.......
09:59:21.259071 IP (tos 0x0, ttl 64, id 61000, offset 0, flags [DF], proto UDP (17), length 328)
    10.210.0.11.67 > 10.211.0.1.67: [bad udp cksum 0x16f6 -> 0x9509!] BOOTP/DHCP, Reply, length 300, hops 1, xid 0x9df66d8c, Flags [none] (0x0000)
          Your-IP 10.211.0.20
          Server-IP 10.210.0.11
          Gateway-IP 10.211.0.1
          Client-Ethernet-Address 00:e0:4c:69:3b:17
          Vendor-rfc1048 Extensions
            Magic Cookie 0x63825363
            DHCP-Message Option 53, length 1: Offer
            Server-ID Option 54, length 4: 10.210.0.11
            Lease-Time Option 51, length 4: 20483
            Subnet-Mask Option 1, length 4: 255.255.255.0
            Default-Gateway Option 3, length 4: 10.211.0.1
            Domain-Name-Server Option 6, length 4: 10.210.0.11
        0x0000:  4500 0148 ee48 4000 4011 35ac 0ad2 000b  E..H.H@.@.5.....
        0x0010:  0ad3 0001 0043 0043 0134 16f6 0201 0601  .....C.C.4......
        0x0020:  9df6 6d8c 0000 0000 0000 0000 0ad3 0014  ..m.............
        0x0030:  0ad2 000b 0ad3 0001 00e0 4c69 3b17 0000  ..........Li;...
        0x0040:  0000 0000 0000 0000 0000 0000 0000 0000  ................
        0x0050:  0000 0000 0000 0000 0000 0000 0000 0000  ................
        0x0060:  0000 0000 0000 0000 0000 0000 0000 0000  ................
        0x0070:  0000 0000 0000 0000 0000 0000 0000 0000  ................
        0x0080:  0000 0000 0000 0000 0000 0000 0000 0000  ................
        0x0090:  0000 0000 0000 0000 0000 0000 0000 0000  ................
        0x00a0:  0000 0000 0000 0000 0000 0000 0000 0000  ................
        0x00b0:  0000 0000 0000 0000 0000 0000 0000 0000  ................
        0x00c0:  0000 0000 0000 0000 0000 0000 0000 0000  ................
        0x00d0:  0000 0000 0000 0000 0000 0000 0000 0000  ................
        0x00e0:  0000 0000 0000 0000 0000 0000 0000 0000  ................
        0x00f0:  0000 0000 0000 0000 0000 0000 0000 0000  ................
        0x0100:  0000 0000 0000 0000 6382 5363 3501 0236  ........c.Sc5..6
        0x0110:  040a d200 0b33 0400 0050 0301 04ff ffff  .....3...P......
        0x0120:  0003 040a d300 0106 040a d200 0bff 0000  ................
        0x0130:  0000 0000 0000 0000 0000 0000 0000 0000  ................
        0x0140:  0000 0000 0000 0000                      ........
09:59:21.270193 IP (tos 0x0, ttl 127, id 26145, offset 0, flags [none], proto UDP (17), length 354)
    10.211.0.1.67 > 10.210.0.11.67: [udp sum ok] BOOTP/DHCP, Request from 00:e0:4c:69:3b:17, length 326, hops 1, xid 0x9df66d8c, Flags [none] (0x0000)
          Gateway-IP 10.211.0.1
          Client-Ethernet-Address 00:e0:4c:69:3b:17
          Vendor-rfc1048 Extensions
            Magic Cookie 0x63825363
            DHCP-Message Option 53, length 1: Request
            Client-ID Option 61, length 7: ether 00:e0:4c:69:3b:17
            Requested-IP Option 50, length 4: 10.211.0.20
            Server-ID Option 54, length 4: 10.210.0.11
            Hostname Option 12, length 15: "USER-20161114RB"
            FQDN Option 81, length 18: "USER-20161114RB"
            Vendor-Class Option 60, length 8: "MSFT 5.0"
            Parameter-Request Option 55, length 12:
              Subnet-Mask, Domain-Name, Default-Gateway, Domain-Name-Server
              Netbios-Name-Server, Netbios-Node, Netbios-Scope, Router-Discovery
              Static-Route, Classless-Static-Route, Classless-Static-Route-Microsoft, Vendor-Option
        0x0000:  4500 0162 6621 0000 7f11 beb9 0ad3 0001  E..bf!..........
        0x0010:  0ad2 000b 0043 0043 014e 5166 0101 0601  .....C.C.NQf....
        0x0020:  9df6 6d8c 0000 0000 0000 0000 0000 0000  ..m.............
        0x0030:  0000 0000 0ad3 0001 00e0 4c69 3b17 0000  ..........Li;...
        0x0040:  0000 0000 0000 0000 0000 0000 0000 0000  ................
        0x0050:  0000 0000 0000 0000 0000 0000 0000 0000  ................
        0x0060:  0000 0000 0000 0000 0000 0000 0000 0000  ................
        0x0070:  0000 0000 0000 0000 0000 0000 0000 0000  ................
        0x0080:  0000 0000 0000 0000 0000 0000 0000 0000  ................
        0x0090:  0000 0000 0000 0000 0000 0000 0000 0000  ................
        0x00a0:  0000 0000 0000 0000 0000 0000 0000 0000  ................
        0x00b0:  0000 0000 0000 0000 0000 0000 0000 0000  ................
        0x00c0:  0000 0000 0000 0000 0000 0000 0000 0000  ................
        0x00d0:  0000 0000 0000 0000 0000 0000 0000 0000  ................
        0x00e0:  0000 0000 0000 0000 0000 0000 0000 0000  ................
        0x00f0:  0000 0000 0000 0000 0000 0000 0000 0000  ................
        0x0100:  0000 0000 0000 0000 6382 5363 3501 033d  ........c.Sc5..=
        0x0110:  0701 00e0 4c69 3b17 3204 0ad3 0014 3604  ....Li;.2.....6.
        0x0120:  0ad2 000b 0c0f 5553 4552 2d32 3031 3631  ......USER-20161
        0x0130:  3131 3452 4251 1200 0000 5553 4552 2d32  114RBQ....USER-2
        0x0140:  3031 3631 3131 3452 423c 084d 5346 5420  0161114RB<.MSFT.
        0x0150:  352e 3037 0c01 0f03 062c 2e2f 1f21 79f9  5.07.....,./.!y.
        0x0160:  2bff                                     +.
09:59:21.271317 IP (tos 0x0, ttl 64, id 61002, offset 0, flags [DF], proto UDP (17), length 328)
    10.210.0.11.67 > 10.211.0.1.67: [bad udp cksum 0x16f6 -> 0x9309!] BOOTP/DHCP, Reply, length 300, hops 1, xid 0x9df66d8c, Flags [none] (0x0000)
          Your-IP 10.211.0.20
          Server-IP 10.210.0.11
          Gateway-IP 10.211.0.1
          Client-Ethernet-Address 00:e0:4c:69:3b:17
          Vendor-rfc1048 Extensions
            Magic Cookie 0x63825363
            DHCP-Message Option 53, length 1: ACK
            Server-ID Option 54, length 4: 10.210.0.11
            Lease-Time Option 51, length 4: 20482
            Subnet-Mask Option 1, length 4: 255.255.255.0
            Default-Gateway Option 3, length 4: 10.211.0.1
            Domain-Name-Server Option 6, length 4: 10.210.0.11
        0x0000:  4500 0148 ee4a 4000 4011 35aa 0ad2 000b  E..H.J@.@.5.....
        0x0010:  0ad3 0001 0043 0043 0134 16f6 0201 0601  .....C.C.4......
        0x0020:  9df6 6d8c 0000 0000 0000 0000 0ad3 0014  ..m.............
        0x0030:  0ad2 000b 0ad3 0001 00e0 4c69 3b17 0000  ..........Li;...
        0x0040:  0000 0000 0000 0000 0000 0000 0000 0000  ................
        0x0050:  0000 0000 0000 0000 0000 0000 0000 0000  ................
        0x0060:  0000 0000 0000 0000 0000 0000 0000 0000  ................
        0x0070:  0000 0000 0000 0000 0000 0000 0000 0000  ................
        0x0080:  0000 0000 0000 0000 0000 0000 0000 0000  ................
        0x0090:  0000 0000 0000 0000 0000 0000 0000 0000  ................
        0x00a0:  0000 0000 0000 0000 0000 0000 0000 0000  ................
        0x00b0:  0000 0000 0000 0000 0000 0000 0000 0000  ................
        0x00c0:  0000 0000 0000 0000 0000 0000 0000 0000  ................
        0x00d0:  0000 0000 0000 0000 0000 0000 0000 0000  ................
        0x00e0:  0000 0000 0000 0000 0000 0000 0000 0000  ................
        0x00f0:  0000 0000 0000 0000 0000 0000 0000 0000  ................
        0x0100:  0000 0000 0000 0000 6382 5363 3501 0536  ........c.Sc5..6
        0x0110:  040a d200 0b33 0400 0050 0201 04ff ffff  .....3...P......
        0x0120:  0003 040a d300 0106 040a d200 0bff 0000  ................
        0x0130:  0000 0000 0000 0000 0000 0000 0000 0000  ................
        0x0140:  0000 0000 0000 0000                      ........
09:59:25.799736 IP (tos 0x0, ttl 127, id 26147, offset 0, flags [none], proto UDP (17), length 328)
    10.211.0.1.67 > 10.210.0.11.67: [udp sum ok] BOOTP/DHCP, Request from 00:e0:4c:69:3b:17, length 300, hops 1, xid 0x31590f66, Flags [none] (0x0000)
          Client-IP 10.211.0.20
          Gateway-IP 10.211.0.1
          Client-Ethernet-Address 00:e0:4c:69:3b:17
          Vendor-rfc1048 Extensions
            Magic Cookie 0x63825363
            DHCP-Message Option 53, length 1: Inform
            Client-ID Option 61, length 7: ether 00:e0:4c:69:3b:17
            Hostname Option 12, length 15: "USER-20161114RB"
            Vendor-Class Option 60, length 8: "MSFT 5.0"
            Parameter-Request Option 55, length 13:
              Subnet-Mask, Domain-Name, Default-Gateway, Domain-Name-Server
              Netbios-Name-Server, Netbios-Node, Netbios-Scope, Router-Discovery
              Static-Route, Classless-Static-Route, Classless-Static-Route-Microsoft, Vendor-Option
              Option 252
        0x0000:  4500 0148 6623 0000 7f11 bed1 0ad3 0001  E..Hf#..........
        0x0010:  0ad2 000b 0043 0043 0134 7254 0101 0601  .....C.C.4rT....
        0x0020:  3159 0f66 0000 0000 0ad3 0014 0000 0000  1Y.f............
        0x0030:  0000 0000 0ad3 0001 00e0 4c69 3b17 0000  ..........Li;...
        0x0040:  0000 0000 0000 0000 0000 0000 0000 0000  ................
        0x0050:  0000 0000 0000 0000 0000 0000 0000 0000  ................
        0x0060:  0000 0000 0000 0000 0000 0000 0000 0000  ................
        0x0070:  0000 0000 0000 0000 0000 0000 0000 0000  ................
        0x0080:  0000 0000 0000 0000 0000 0000 0000 0000  ................
        0x0090:  0000 0000 0000 0000 0000 0000 0000 0000  ................
        0x00a0:  0000 0000 0000 0000 0000 0000 0000 0000  ................
        0x00b0:  0000 0000 0000 0000 0000 0000 0000 0000  ................
        0x00c0:  0000 0000 0000 0000 0000 0000 0000 0000  ................
        0x00d0:  0000 0000 0000 0000 0000 0000 0000 0000  ................
        0x00e0:  0000 0000 0000 0000 0000 0000 0000 0000  ................
        0x00f0:  0000 0000 0000 0000 0000 0000 0000 0000  ................
        0x0100:  0000 0000 0000 0000 6382 5363 3501 083d  ........c.Sc5..=
        0x0110:  0701 00e0 4c69 3b17 0c0f 5553 4552 2d32  ....Li;...USER-2
        0x0120:  3031 3631 3131 3452 423c 084d 5346 5420  0161114RB<.MSFT.
        0x0130:  352e 3037 0d01 0f03 062c 2e2f 1f21 79f9  5.07.....,./.!y.
        0x0140:  2bfc ff00 0000 0000                      +.......
09:59:25.801511 IP (tos 0x0, ttl 64, id 43189, offset 0, flags [DF], proto UDP (17), length 328)
    10.210.0.11.67 > 10.211.0.20.68: [bad udp cksum 0x1709 -> 0x643c!] BOOTP/DHCP, Reply, length 300, hops 1, xid 0x31590f66, Flags [none] (0x0000)
          Client-IP 10.211.0.20
          Server-IP 10.210.0.11
          Gateway-IP 10.211.0.1
          Client-Ethernet-Address 00:e0:4c:69:3b:17
          Vendor-rfc1048 Extensions
            Magic Cookie 0x63825363
            DHCP-Message Option 53, length 1: ACK
            Server-ID Option 54, length 4: 10.210.0.11
            Subnet-Mask Option 1, length 4: 255.255.255.0
            Default-Gateway Option 3, length 4: 10.211.0.1
            Domain-Name-Server Option 6, length 4: 10.210.0.11
        0x0000:  4500 0148 a8b5 4000 4011 7b2c 0ad2 000b  E..H..@.@.{,....
        0x0010:  0ad3 0014 0043 0044 0134 1709 0201 0601  .....C.D.4......
        0x0020:  3159 0f66 0000 0000 0ad3 0014 0000 0000  1Y.f............
        0x0030:  0ad2 000b 0ad3 0001 00e0 4c69 3b17 0000  ..........Li;...
        0x0040:  0000 0000 0000 0000 0000 0000 0000 0000  ................
        0x0050:  0000 0000 0000 0000 0000 0000 0000 0000  ................
        0x0060:  0000 0000 0000 0000 0000 0000 0000 0000  ................
        0x0070:  0000 0000 0000 0000 0000 0000 0000 0000  ................
        0x0080:  0000 0000 0000 0000 0000 0000 0000 0000  ................
        0x0090:  0000 0000 0000 0000 0000 0000 0000 0000  ................
        0x00a0:  0000 0000 0000 0000 0000 0000 0000 0000  ................
        0x00b0:  0000 0000 0000 0000 0000 0000 0000 0000  ................
        0x00c0:  0000 0000 0000 0000 0000 0000 0000 0000  ................
        0x00d0:  0000 0000 0000 0000 0000 0000 0000 0000  ................
        0x00e0:  0000 0000 0000 0000 0000 0000 0000 0000  ................
        0x00f0:  0000 0000 0000 0000 0000 0000 0000 0000  ................
        0x0100:  0000 0000 0000 0000 6382 5363 3501 0536  ........c.Sc5..6
        0x0110:  040a d200 0b01 04ff ffff 0003 040a d300  ................
        0x0120:  0106 040a d200 0bff 0000 0000 0000 0000  ................
        0x0130:  0000 0000 0000 0000 0000 0000 0000 0000  ................
        0x0140:  0000 0000 0000 0000                      ........
09:59:28.801956 IP (tos 0x0, ttl 127, id 26149, offset 0, flags [none], proto UDP (17), length 328)
    10.211.0.1.67 > 10.210.0.11.67: [udp sum ok] BOOTP/DHCP, Request from 00:e0:4c:69:3b:17, length 300, hops 1, xid 0x31590f66, secs 768, Flags [none] (0x0000)
          Client-IP 10.211.0.20
          Gateway-IP 10.211.0.1
          Client-Ethernet-Address 00:e0:4c:69:3b:17
          Vendor-rfc1048 Extensions
            Magic Cookie 0x63825363
            DHCP-Message Option 53, length 1: Inform
            Client-ID Option 61, length 7: ether 00:e0:4c:69:3b:17
            Hostname Option 12, length 15: "USER-20161114RB"
            Vendor-Class Option 60, length 8: "MSFT 5.0"
            Parameter-Request Option 55, length 13:
              Subnet-Mask, Domain-Name, Default-Gateway, Domain-Name-Server
              Netbios-Name-Server, Netbios-Node, Netbios-Scope, Router-Discovery
              Static-Route, Classless-Static-Route, Classless-Static-Route-Microsoft, Vendor-Option
              Option 252
        0x0000:  4500 0148 6625 0000 7f11 becf 0ad3 0001  E..Hf%..........
        0x0010:  0ad2 000b 0043 0043 0134 6f54 0101 0601  .....C.C.4oT....
        0x0020:  3159 0f66 0300 0000 0ad3 0014 0000 0000  1Y.f............
        0x0030:  0000 0000 0ad3 0001 00e0 4c69 3b17 0000  ..........Li;...
        0x0040:  0000 0000 0000 0000 0000 0000 0000 0000  ................
        0x0050:  0000 0000 0000 0000 0000 0000 0000 0000  ................
        0x0060:  0000 0000 0000 0000 0000 0000 0000 0000  ................
        0x0070:  0000 0000 0000 0000 0000 0000 0000 0000  ................
        0x0080:  0000 0000 0000 0000 0000 0000 0000 0000  ................
        0x0090:  0000 0000 0000 0000 0000 0000 0000 0000  ................
        0x00a0:  0000 0000 0000 0000 0000 0000 0000 0000  ................
        0x00b0:  0000 0000 0000 0000 0000 0000 0000 0000  ................
        0x00c0:  0000 0000 0000 0000 0000 0000 0000 0000  ................
        0x00d0:  0000 0000 0000 0000 0000 0000 0000 0000  ................
        0x00e0:  0000 0000 0000 0000 0000 0000 0000 0000  ................
        0x00f0:  0000 0000 0000 0000 0000 0000 0000 0000  ................
        0x0100:  0000 0000 0000 0000 6382 5363 3501 083d  ........c.Sc5..=
        0x0110:  0701 00e0 4c69 3b17 0c0f 5553 4552 2d32  ....Li;...USER-2
        0x0120:  3031 3631 3131 3452 423c 084d 5346 5420  0161114RB<.MSFT.
        0x0130:  352e 3037 0d01 0f03 062c 2e2f 1f21 79f9  5.07.....,./.!y.
        0x0140:  2bfc ff00 0000 0000                      +.......
09:59:28.803832 IP (tos 0x0, ttl 64, id 43771, offset 0, flags [DF], proto UDP (17), length 328)
    10.210.0.11.67 > 10.211.0.20.68: [bad udp cksum 0x1709 -> 0x613c!] BOOTP/DHCP, Reply, length 300, hops 1, xid 0x31590f66, secs 768, Flags [none] (0x0000)
          Client-IP 10.211.0.20
          Server-IP 10.210.0.11
          Gateway-IP 10.211.0.1
          Client-Ethernet-Address 00:e0:4c:69:3b:17
          Vendor-rfc1048 Extensions
            Magic Cookie 0x63825363
            DHCP-Message Option 53, length 1: ACK
            Server-ID Option 54, length 4: 10.210.0.11
            Subnet-Mask Option 1, length 4: 255.255.255.0
            Default-Gateway Option 3, length 4: 10.211.0.1
            Domain-Name-Server Option 6, length 4: 10.210.0.11
        0x0000:  4500 0148 aafb 4000 4011 78e6 0ad2 000b  E..H..@.@.x.....
        0x0010:  0ad3 0014 0043 0044 0134 1709 0201 0601  .....C.D.4......
        0x0020:  3159 0f66 0300 0000 0ad3 0014 0000 0000  1Y.f............
        0x0030:  0ad2 000b 0ad3 0001 00e0 4c69 3b17 0000  ..........Li;...
        0x0040:  0000 0000 0000 0000 0000 0000 0000 0000  ................
        0x0050:  0000 0000 0000 0000 0000 0000 0000 0000  ................
        0x0060:  0000 0000 0000 0000 0000 0000 0000 0000  ................
        0x0070:  0000 0000 0000 0000 0000 0000 0000 0000  ................
        0x0080:  0000 0000 0000 0000 0000 0000 0000 0000  ................
        0x0090:  0000 0000 0000 0000 0000 0000 0000 0000  ................
        0x00a0:  0000 0000 0000 0000 0000 0000 0000 0000  ................
        0x00b0:  0000 0000 0000 0000 0000 0000 0000 0000  ................
        0x00c0:  0000 0000 0000 0000 0000 0000 0000 0000  ................
        0x00d0:  0000 0000 0000 0000 0000 0000 0000 0000  ................
        0x00e0:  0000 0000 0000 0000 0000 0000 0000 0000  ................
        0x00f0:  0000 0000 0000 0000 0000 0000 0000 0000  ................
        0x0100:  0000 0000 0000 0000 6382 5363 3501 0536  ........c.Sc5..6
        0x0110:  040a d200 0b01 04ff ffff 0003 040a d300  ................
        0x0120:  0106 040a d200 0bff 0000 0000 0000 0000  ................
        0x0130:  0000 0000 0000 0000 0000 0000 0000 0000  ................
        0x0140:  0000 0000 0000 0000                      ........
How so, when every output above has the SAME Gateway-IP 10.211.0.1
I got the answer from isc-dhcp-server mail list.

Code:
Rui Mao <maorui2k@163.com> wrote:

> I installed a Ubuntu 16.04 and configured isc-dhcp-server 4.3.3 as DHCP/BOOTp server. But the iPXE didn't got correct gateway from it.
>  
> The DHCP server is 10.210.0.11, and the client is in another VLAN which gateway is 10.211.0.1.
>  
> I captured Ethernet packages by tcpdump, and also used a Windows Server 2012 for comparison. It seems ISC-DHCP-Server sent a wrong gateway.
>  
> Is this a configuration issue or a bug of ISC-DHCP-Server?

It's a configuration issue - and a known "gotcha" !

Move your class statements out of the subnet declarations - regardless of where you define them, they are global in scope (ditto for host statements). So a client can match a class even if you **think** you've defined it only for a specific subnet. When this happens, the client gets options inherited from the class in the other subnet - and a side effect is getting (in this case) the router option from a different subnet.

_______________________________________________
dhcp-users mailing list
dhcp-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/dhcp-users
Reference URL's