DHCP server not working for iPXE
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
01-13-2021 09:42 AM
The switch is BlackDiamond X8.
I’ve set dhcp server for our lab VLAN that I’m using for testing. The pool range and everything else works as intended.
I’ve configured options 66 and 67 to FOG server machine and that’s where it breaks. I’m getting:
Filename: undionly.kpxe
Could not start download: Operation not supported (http://ipxe.org/3c092003)
I can confirm that when using separate isc-dhcp server there’s no problem. But I’d like to utilize our switch.
Here’s snippet of my configuration:
VLAN "XXX_TEST":
DHCP Address Range : 192.168.xx.xx->192.168.xx.xx
Netlogin Lease Timer : Not configured (Default = 10 seconds)
DHCP Lease Timer : 86400 seconds
Default Gateway : 192.168.xx.xx
Primary DNS Server : xx.xx.xx.xx
DHCP Option Code 66 : ipaddress 192.168.xx.xx
DHCP Option Code 67 : string "undionly.kpxe"
Ports DHCP Enabled : 1:21
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
01-14-2021 10:24 AM
So we are one step further. What you can do now is to trace while using your ISC as DHCP server and compare the traces from XOS dhcp and ISC dhcp. In this way you can check if there futher differences.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
01-14-2021 10:21 AM
Changed it to string. The option now is readable in the frame:
Option: (66) TFTP Server Name
Length: 14
TFTP Server Name: 192.168.230.51
but unfortunately the end result is the same. My client machine still doesn’t download the kpxe file and produces same error as in my initial post.
I can see that on my working example I do have value for “Next server IP address:”
Here it is missing.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
01-14-2021 10:18 AM
Because of option 66 is defined as the TFTP server name, I assume your server is looking for a string maybe.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
01-14-2021 10:14 AM
DHCP Address Range : 192.168.230.200->192.168.230.220
Netlogin Lease Timer : Not configured (Default = 10 seconds)
DHCP Lease Timer : 86400 seconds
Default Gateway : 192.168.230.253
Primary DNS Server : xx.xx.xx.xx
DHCP Option Code 66 : ipaddress 192.168.230.51
DHCP Option Code 67 : string "undionly.kpxe"
Ports DHCP Enabled : 1:21,3:16
Here it is. I’ve selected “ipaddress” for option code 66 as it seems logical to me.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
01-14-2021 10:12 AM
You can try to use “string” as type and set the ip like “192.168.x.x”
