Hi all,
Am I missing a flag? DHCP is working for the local NIC subnet (172.16.252.0/25), but not for anything coming over DHCP relay (172.16.251.0/26). TCP dump confirms the relay inbound:
Code:
02:47:40.416725 IP 172.16.252.1.bootps > 172.16.252.3.bootps: BOOTP/DHCP, Request from 00:0c:29:bf:cf:39 (oui Unknown), length 548
02:47:44.480925 IP 172.16.252.1.bootps > 172.16.252.3.bootps: BOOTP/DHCP, Request from 00:0c:29:bf:cf:39 (oui Unknown), length 548
02:47:52.555107 IP 172.16.252.1.bootps > 172.16.252.3.bootps: BOOTP/DHCP, Request from 00:0c:29:bf:cf:39 (oui Unknown), length 548
Here is the config:
Code:
allow booting;
allow bootp;
ignore client-updates;
set vendorclass = option vendor-class-identifier;
option pxe-system-type code 93 = unsigned integer 16;
subnet 172.16.252.0 netmask 255.255.255.128 {
option routers 172.16.252.1;
option subnet-mask 255.255.255.128;
range dynamic-bootp 172.16.252.100 172.16.252.126;
default-lease-time 21600;
max-lease-time 43200;
next-server 172.16.252.3;
class "pxeclients" {
match if substring (option vendor-class-identifier, 0, 9) = "PXEClient";
if option pxe-system-type = 00:02 {
filename "ia64/elilo.efi";
} else if option pxe-system-type = 00:06 {
filename "grub/grub-x86.efi";
} else if option pxe-system-type = 00:07 {
filename "grub/grub-x86_64.efi";
} else {
filename "pxelinux.0";
}
}
}
subnet 172.16.251.0 netmask 255.255.255.192 {
option routers 172.16.251.1;
option subnet-mask 255.255.255.192;
range dynamic-bootp 172.16.251.48 172.16.251.62;
default-lease-time 21600;
max-lease-time 43200;
next-server 172.16.252.3;
class "pxeclients" {
match if substring (option vendor-class-identifier, 0, 9) = "PXEClient";
if option pxe-system-type = 00:02 {
filename "ia64/elilo.efi";
} else if option pxe-system-type = 00:06 {
filename "grub/grub-x86.efi";
} else if option pxe-system-type = 00:07 {
filename "grub/grub-x86_64.efi";
} else {
filename "pxelinux.0";
}
}
host galera1.dev
{
hardware ethernet 00:0c:29:bf:cf:39;
fixed-address 172.16.251.2;
}
}
Thanks in advance!
Morgan