From: GAURAV MADAN (gauravmadan1177@gmail.com)
Date: Tue Dec 02 2008 - 03:07:33 ARST
I am not sure if you are trying for a end PC or a router .... but for a
router please find my observations ....
CLient identifier is of following format : ( To assign specific client a
specific IP based on client id ; we can create a dhcp pool containing host
and client identifier )
W1#
Apr 25 17:53:34.654: DHCPD: checking for expired leases.
Apr 25 17:53:34.654: DHCPD: dhcpd_age_bindings could not lock semaphore.
Apr 25 17:53:34.788: DHCPD: assigned IP address 10.0.0.3 to client *
0063.6973.636f.2d30.3031.632e.3538.6261.2e66.6532.302d.4661.302f.30.*
Apr 25 17:53:34.788: DHCPD: child pool: 10.0.0.0 / 255.255.255.0 (TEST)
Apr 25 17:53:34.788: DHCPD: pool TEST has no parent.
Apr 25 17:53:34.788: DHCPD: child pool: 10.0.0.0 / 255.255.255.0 (TEST)
Apr 25 17:53:34.788: DHCPD: pool TEST has no parent.
Apr 25 17:53:34.788: DHCPD: Sending notification of ASSIGNMENT:
Apr 25 17:53:34.788: DHCPD: address 10.0.0.3 mask 255.255.255.0
Apr 25 17:53:34.788: DHCPD: htype 1 chaddr 001c.58ba.fe20
Apr 25 17:53:34.788: DHCPD: remote id 020a00000a0000021b000000
Apr 25 17:53:34.788: DHCPD: lease time remaining (secs) = 86400
Apr 25 17:53:34.788: DHCPD: giaddr = 0.0.0.0
Apr 25 17:53:34.788: DHCPD: interface = FastEthernet1/0/10
Apr 25 17:53:34.788: DHCPD: child pool: 10.0.0.0 / 255.255.255.0 (TEST)
Apr 25 17:53:34.788: DHCPD: pool TEST has no parent.
Apr 25 17:53:34.788: DHCPD: child pool: 10.0.0.0 / 255.255.255.0 (TEST)
Apr 25 17:53:34.788: DHCPD: pool TEST has no parent.
SW1#
SW1#u al
Hence something like :
ip dhcp pool TEST
host 10.0.0.8 255.255.0.0
client-identifier
*0063.6973.636f.2d30.3031.632e.3538.6261.2e66.6532.302d.4661.302f.30.*
**
will make sense .
GAURAV MADAN.
On Tue, Dec 2, 2008 at 5:33 AM, Scott Morris <smorris@internetworkexpert.com
> wrote:
> 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
>
> _______________________________________________________________________
> Subscription information may be found at:
> http://www.groupstudy.com/list/CCIELab.html
>
>
> 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