[Dnsmasq-discuss] what is 'next-server' ? is it dhcp-option 66?

Bino Oetomo bino at jogjacamp.co.id
Sat Jun 26 02:55:01 UTC 2021


Dear All.

I have 3 Virtualbox guest.
A. tftp-server DNSMASQ v.2.80 with IP address 10.10.254.1
B. dhcp-server DNSMASQ v.280 with IP address 10.10.254.2 and 10.10.253.1
(This one facing IPXE client)
C. IPXE client

When I config dhcp server with:
'dhcp-boot=lpxelinux.0,server.name,10.10.254.1'
IPXE client received 'next server' 10.10.254.1

Next try, I commented 'dhcp-boot' line, and put
dhcp-option=66,10.10.254.1
dhcp-option=67,lpxelinux.0

DNSMASQ log says:

dnsmasq-dhcp: 3891074361 next server: 10.10.253.1
dnsmasq-dhcp: 3891074361 sent size:  1 option: 53 message-type  5
dnsmasq-dhcp: 3891074361 sent size:  4 option: 54 server-identifier
 10.10.253.1
dnsmasq-dhcp: 3891074361 sent size:  4 option: 51 lease-time  12h
dnsmasq-dhcp: 3891074361 sent size:  4 option: 58 T1  6h
dnsmasq-dhcp: 3891074361 sent size:  4 option: 59 T2  10h30m
dnsmasq-dhcp: 3891074361 sent size:  4 option:  1 netmask  255.255.255.0
dnsmasq-dhcp: 3891074361 sent size:  4 option: 28 broadcast  10.10.253.255
dnsmasq-dhcp: 3891074361 sent size:  4 option:  3 router  10.10.253.1
dnsmasq-dhcp: 3891074361 sent size: 12 option: 67 bootfile-name  lpxelinux.0
dnsmasq-dhcp: 3891074361 sent size: 12 option: 66 tftp-server  10.10.254.1

and the IPXE client receive 10.10.253.1, not as described by option:66

Is 'next-server' different from dhcp-option-66?

Sincerely
-bino-
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/attachments/20210626/0c69e3e2/attachment.htm>


More information about the Dnsmasq-discuss mailing list