[Dnsmasq-discuss] Overriding server-identifier in DHCP response
Ryan Govostes
rgovostes at whoi.edu
Sat Oct 3 17:50:38 BST 2020
When I run with log-dhcp enabled, I notice the following option in dnsmasq's DHCP response:
dnsmasq-dhcp: 756190107 sent size: 4 option: 54 server-identifier 172.17.0.2
This is the local IP address of the network interface that dnsmasq is using. But dnsmasq is running inside a virtual machine with NAT, and this IP address is not the network-facing address.
Is there a way to change the response? I've tried setting dhcp-option=option:server-identifier(or 54),... but dnsmasq doesn't accept it. I've also tried using 11 which I believe is some kind of server-identifier override. That also did not work.
I'm using dnsmasq to do DHCP proxying for PXE.
Thanks,
Ryan
More information about the Dnsmasq-discuss
mailing list