[Dnsmasq-discuss] Setting different default gateway by mac address

Olaf Westrik weizen_42 at ipcop-forum.de
Tue Jul 29 16:47:17 BST 2008


jboss at cpaaa.org wrote:
> I have a hand full of users on my network that need a different gateway. I would like to override the different gateway by mac address. Here are my config options:
> 
> dhcp-option=option:router,172.xx.xx.1				# just the different gateway
> 
> dhcp-host=00:XX:0B:65:XX:58,3,172.xx.xx.254		# Thought this might work but no
> 
> dhcp-option=3,00:XX:0B:65:XX:58,172.xx.xx.254		# Thought this might work but no

Have to tried ?

dhcp-mac=special1,00:01:02:03:04:05
dhcp-option=special1,option:router,a.b.c.d


Olaf

-- 

A weizen a day helps keep the doctor away.



More information about the Dnsmasq-discuss mailing list