RE: dhcp client-identifier

From: Scott Morris (smorris@internetworkexpert.com)
Date: Mon Dec 01 2008 - 22:03:14 ARST


Client-id or host-address.

According to the spec, if client-id is offered you MUST match on that (why
you can't use host-address with Cisco devices). But if it's not provided,
it's kinda hard to match on it! :)

HTH,

Scott
 

-----Original Message-----
From: nobody@groupstudy.com [mailto:nobody@groupstudy.com] On Behalf Of Bit
Gossip
Sent: Monday, December 01, 2008 4:11 PM
To: ccielab
Subject: dhcp client-identifier

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



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