Assigning leases based on option 82

Jerimiah Cole jcole at tbtc.net
Tue Nov 23 15:39:09 UTC 2010


Jeremy Falling wrote:
> We currently assign both static and dynamic leases based on the
> remote-id sent to us by our DSLAMS.
> Our problem is when a customer changes the equipment that is getting the
> lease, DHCP will not reissue the lease due to the MAC address changing.
> This causes us to desire DHCP to issue and track leases by the remote-id
> instead of the MAC address.

4.2 series has a new feature that makes this much cleaner.  You declare
a host and use the 'host-identifier option' option.  For example:

host test-01-03-07 {
  host-identifier option agent.circuit-id "test-01-03/Ethernet7:Vlan2";
  fixed-address 10.8.200.1;
  filename "onttlrs_test.cfg";
}

This works beautifully in my test environment.  I'm close to putting it
in production.

Jerimiah



More information about the dhcp-users mailing list