I am trying to set the MTU for a specific host. I tag the host with the vpnmtu tag and then later I have the following in my dnsmasq.conf file:

dhcp-option-force=tag:vpnmtu,26,1407
dhcp-option-force=26,1492

This means that the second dhcp-option is ignored (and yes, I understand this is documented.) But what I have not been able to find is how to tell dnsmasq to send one option to a tagged host and another to all untagged hosts.

Sun Dec 13 09:55:41 2015 daemon.info dnsmasq-dhcp[2538]: DHCPDISCOVER(eth1.5) 84:55:a5:0b:9e:ac Sun Dec 13 09:55:41 2015 daemon.info dnsmasq-dhcp[2538]: DHCPOFFER(eth1.5) 192.168.5.180 84:55:a5:0b:9e:ac Sun Dec 13 09:55:41 2015 daemon.warn dnsmasq-dhcp[2538]: Ignoring duplicate dhcp-option 26 Sun Dec 13 09:55:41 2015 daemon.info dnsmasq-dhcp[2538]: DHCPREQUEST(eth1.5) 192.168.5.180 84:55:a5:0b:9e:ac Sun Dec 13 09:55:41 2015 daemon.info dnsmasq-dhcp[2538]: DHCPACK(eth1.5) 192.168.5.180 84:55:a5:0b:9e:ac android-bb56322d2b2bc256 Sun Dec 13 09:55:41 2015 daemon.warn dnsmasq-dhcp[2538]: Ignoring duplicate dhcp-option 26


_______________________________________________
Dnsmasq-discuss mailing list
Dnsmasq-discuss@lists.thekelleys.org.uk
http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss

Reply via email to