Assigning leases based on option 82
Denis Laventure
Denis_Laventure at uqac.ca
Tue Nov 23 16:29:27 UTC 2010
Do you use cisco switches on your test environment? I don't recognize the agent.circuit-id value "test-01-03/Ethernet7:Vlan2", mine looks like this with cisco 2950:
host G301A-01 { host-identifier option agent.circuit-id 0:4:1:9:1:1; fixed-address 172.17.15.64; } # 10.3.32.23 - Fa0/1
It works very well here too... But did you try to have multiple switches on one vlan? The agent.circuit-id option only contain vlan number and module/interface information. How do you identify your different switches on a same vlan without the agent.remote-id?
Denis
-----Message d'origine-----
De : dhcp-users-bounces+denis_laventure=uqac.ca at lists.isc.org [mailto:dhcp-users-bounces+denis_laventure=uqac.ca at lists.isc.org] De la part de Jerimiah Cole
Envoyé : 23 novembre 2010 10:39
À : Users of ISC DHCP
Objet : Re: Assigning leases based on option 82
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
_______________________________________________
dhcp-users mailing list
dhcp-users at lists.isc.org
https://lists.isc.org/mailman/listinfo/dhcp-users
More information about the dhcp-users
mailing list