cancel
Showing results for 
Search instead for 
Did you mean: 

DHCP server not working for iPXE

DHCP server not working for iPXE

excessive
New Contributor

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

29 REPLIES 29

StephanH
Valued Contributor III

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.

Regards Stephan

excessive
New Contributor

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.

StephanH
Valued Contributor III

Because of option 66 is defined as the TFTP server name, I assume your server is looking for a string maybe.

Regards Stephan

excessive
New Contributor
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.

StephanH
Valued Contributor III

You can try to use “string” as type and set the ip like “192.168.x.x”

Regards Stephan
GTM-P2G8KFN