DNSMasq - Group dhcp assignment by Mac header ?

  • ATTENTION! As of November 1, 2020, you are not able to reply to threads 6 months after the thread is opened if there are more than 500 posts in the thread.
    Threads will not be locked, so posts may still be edited by their authors.
    Just start a new thread on the topic to post if you get an error message when trying to reply to a thread.

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.
 

Similar threads

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