[Dnsmasq-discuss] DHCP option 121, handling of interface address
Olaf Hering
olaf at aepfle.de
Fri Apr 27 12:34:45 BST 2018
I had to add DHCP option 121 to server an extra network to the clients in case one of the clients has to use USB tethering via the mobile phone.
Therefore I added this line, and all is (almost) fine:
dhcp-option=option:classless-static-route,$other_local_net/24,$interface_IP
But it is not possible to set $interface_IP to 0.0.0.0 to indicate that dnsmasq should put in the IPv4 address of the interface from which it serves the DHCP requests. This is done for a few other DHCP options like default-router, TFTP server and the like.
Is this just an oversight, or would there be any downside in handling the "wildcard" in "classless-static-route"?
Olaf
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 195 bytes
Desc: Digitale Signatur von OpenPGP
URL: <http://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/attachments/20180427/b7aa8f36/attachment.sig>
More information about the Dnsmasq-discuss
mailing list