[Dnsmasq-discuss] 'ignored' mac address patterns offered/granted leases?

Mike Ruiz mruiz at zynga.com
Thu Aug 4 08:44:41 BST 2011


> Any idea how I could start with a configuration like this:
> 
> [root at netops-adm-1.va1 software]# grep 06:01 /etc/dnsmasq.conf
> dhcp-host=06:01:*,ignore
> 

Syntax was wrong: suspect it should look more like:

> dhcp-host=06:01:*:*:*:*,ignore


I switched to:

[root at s2hb-net-cmdb1 views]# grep xenhosts dhcp.erb
dhcp-ignore=xenhosts
dhcp-mac=xenhosts,06:*:*:*:*:*

and it now works great:

Aug  4 07:42:27 netops-adm-1 dnsmasq-dhcp[2838]: DHCPDISCOVER(eth0) 06:be:0c:00:75:08 ignored
Aug  4 07:42:28 netops-adm-1 dnsmasq-dhcp[2838]: DHCPDISCOVER(eth0) 06:b5:a4:00:56:43 ignored
Aug  4 07:42:28 netops-adm-1 dnsmasq-dhcp[2838]: DHCPDISCOVER(eth0) 06:b5:a4:00:56:43 ignored

-Mike


More information about the Dnsmasq-discuss mailing list