Re: dhcp client-identifier

From: Jason Madsen (madsen.jason@gmail.com)
Date: Mon Dec 01 2008 - 19:19:18 ARST


Are these PCs? With the one sending the MAC address, you should be
able to manually bind 01 plus its MAC address in the following format
(if the MAC were all zeros) as the client-id on the router:

0100.0000.0000.00

01 indicates ethernet...

Jason

On 12/1/08, Bit Gossip <bit.gossip@chello.nl> wrote:
> Experts,
> I am trying to do manual binding for two client devices: GRANDSTREAM and
> DEVOLO. Enabling dhcp debug, for the first one I can see 7 octects
> client-identifier and it works fine; for the second I just see a 6
> octects client-identifier which also corresponds to the mac-address of
> the device, and this doesn't work! :-)
> Wiresharking the discovery packets I noticed that GRANDSTREAM sends:
>
> Option: (t=61,l=7) Client identifier
> Option: (61) Client identifier
> Length: 7
> Value: 01000B82005BDD
> Hardware type: Ethernet
> Client MAC address: Grandstr_00:5b:dd (00:0b:82:00:5b:dd)
>
> while DEVOLO doesn't send this option!
>
> Is there a way around this? How can I do manual binding for DEVOLO then?
>
> Thanks,
> Bit.
>
>
>
> ip dhcp pool GRANDSTREAM
> import all
> host 192.168.255.226 255.255.255.224
> client-identifier 0100.0b82.005b.dd
> !
> ip dhcp pool DEVOLO
> import all
> host 192.168.255.227 255.255.255.224
> client-identifier 0002.6f30.4e6d
> !
>
> r1#debug ip dhcp server packet
>
> DEVOLO:
>
> Dec 1 20:53:52.771: DHCPD: DHCPDISCOVER received from client
> 0002.6f30.4e6d on interface FastEthernet0/0.
> Dec 1 20:53:52.771: DHCPD: Sending DHCPOFFER to client 0002.6f30.4e6d
> (192.168.255.236).
> Dec 1 20:53:52.771: DHCPD: broadcasting BOOTREPLY to client
> 0002.6f30.4e6d.
> Dec 1 20:53:52.787: DHCPD: DHCPREQUEST received from client
> 0002.6f30.4e6d.
> Dec 1 20:53:52.787: DHCPD: Sending DHCPACK to client 0002.6f30.4e6d
> (192.168.255.236).
> Dec 1 20:53:52.787: DHCPD: broadcasting BOOTREPLY to client
> 0002.6f30.4e6d.
>
> GRANDSTREAM
> Dec 1 20:57:40.741: DHCPD: DHCPDISCOVER received from client
> 0100.0b82.005b.dd on interface FastEthernet0/0.
>
>
> Blogs and organic groups at http://www.ccie.net
>
> _______________________________________________________________________
> Subscription information may be found at:
> http://www.groupstudy.com/list/CCIELab.html

Blogs and organic groups at http://www.ccie.net



This archive was generated by hypermail 2.1.4 : Thu Jan 01 2009 - 12:53:07 ARST