DNSMasq - Group dhcp assignment by Mac header ?

busch09

Regular Contributor
Hi,

I have a few hikvision cameras. They have only a few mac headers:
C4:2F:90
C0:56:E3
BC:AD:28
B4:A3:82
...

Is it possible to use dnsmasq to autoassign IP in a certain segment per these mac addresses?
Eg. all hikvision cameras get assigned an IP only between 192.168.1.100 and 192.168.1.200?

cheers
chris
 

ColinTaylor

Part of the Furniture
According to the dnsmasq man page entry for --dhcp-host:
Ethernet addresses (but not client-ids) may have wildcard bytes, so for example --dhcp-host=00:20:e0:3b:13:*,ignore will cause dnsmasq to ignore a range of hardware addresses.
So it looks like it might be possible with a bit of work.
 

Latest threads

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Top