MAC address deny in udhcpd

Tom Isaacson Tom.Isaacson at navico.com
Mon May 14 00:08:34 UTC 2012


In the example udhcpd.conf it shows how to declare a static IP address 
for a specific MAC address:

|   # Static leases map
   static_lease 00:60:08:11:CE:4E 192.168.0.54
|

You can also use a MAC address range by using the wildcard:

|   static_lease 00:21:5a:e7:xx:xx 10.10.1.254

But it doesn't seem possible to deny an IP address to a MAC address or range, which is possible in dhcpd.conf. I was thinking this could be done in the same way static leases are done:
||   static_lease 00:21:5a:e7:xx:xx 0.0.0.0|
Alternatively we could add a new command:
   deny|00:21:5a:e7:xx:xx|

What are your thoughts?

|Tom

|



More information about the busybox mailing list