[Dnsmasq-discuss] Mac Filtering for VMWare ESX Guests

Matt Neimeyer matt at neimeyer.org
Sun Feb 15 21:18:13 GMT 2015


I'm running dnsmasq 2.72 on my Gentoo box and I feel like I'm missing
something obvious.

I have the following lines in my dnsmasq.conf

   dhcp-mac=set:vmware,00:0C:29:*:*:*
   dhcp-range=10.1.10.100,10.1.10.139,255.255.255.0,6h
   dhcp-range=tag:vmware,10.1.10.50,10.1.10.59,255.255.255.0,6h

And yet the VM with a MAC of 00:0C:29:47:B3:0F is getting an IP of
10.1.10.104

The leases file contains this entry for that machine if it helps any...

   1424056062 00:0c:29:47:b3:0f 10.1.10.104 vxppro 01:00:0c:29:47:b3:0f

And I can see the following in my logs...

   Feb 15 16:14:24 [dnsmasq-dhcp] DHCPRELEASE(enp1s0) 10.1.10.104
00:0c:29:47:b3:0f
   Feb 15 16:14:24 [dnsmasq-dhcp] DHCPDISCOVER(enp1s0) 10.1.10.104
00:0c:29:47:b3:0f
   Feb 15 16:14:24 [dnsmasq-dhcp] DHCPOFFER(enp1s0) 10.1.10.104
00:0c:29:47:b3:0f
   Feb 15 16:14:24 [dnsmasq-dhcp] DHCPREQUEST(enp1s0) 10.1.10.104
00:0c:29:47:b3:0f
   Feb 15 16:14:24 [dnsmasq-dhcp] DHCPACK(enp1s0) 10.1.10.104
00:0c:29:47:b3:0f vxppro

What else should I be looking for?

Thanks in advance!

Matt
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/attachments/20150215/9e012859/attachment.html>


More information about the Dnsmasq-discuss mailing list