DHCP Assignment rule

Post new topic   Reply to topic    DD-WRT Forum Index -> Advanced Networking
Author Message
gatorback
DD-WRT User


Joined: 04 Feb 2007
Posts: 426
Location: Fountain of Youth

PostPosted: Sun Apr 03, 2011 2:17    Post subject: DHCP Assignment rule Reply with quote
I have 3 Apple TVs whos MAC address begin with XX:YY:ZZ....

Only one will be connected to the network at any given time. Is it possible to create a DHCP assignment rule where 192.168.1.20 is assigned to a device that present a MAC address beginning with XX:YY:ZZ...?

I tried to assign the same IP addr static lease to the three MAC addresses. The UI will not allow this.

My gut tells me a series of commands can be written to implement this in the "Additional DHCPd Options". A gentle nudge in the right direction would be appreciated.

_________________
My Routers | RT-N16 Wiki | TMO Cellspot Wiki
Peacock Flashing | Wireless N Conf | Linking Routers |
DD-WRT Wiki | DD-WRT Builds | Broadcom FAQ| QoS| OTRW
Sponsor
phuzi0n
DD-WRT Guru


Joined: 10 Oct 2006
Posts: 10141

PostPosted: Sun Apr 03, 2011 2:49    Post subject: Reply with quote
See the DNSMasq wiki and man page for examples of creating leases with the dhcp-host option. I don't know whether it will be possible or not with the version included in DD-WRT. It is pretty old because newer versions remove a feature DD-WRT needs.
_________________
Read the forum announcements thoroughly! Be cautious if you're inexperienced.
Available for paid consulting. (Don't PM about complicated setups otherwise)
Looking for bricks and spare routers to expand my collection. (not interested in G spec models)
Display posts from previous:    Page 1 of 1
Post new topic   Reply to topic    DD-WRT Forum Index -> Advanced Networking All times are GMT

Navigation

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum