RE: DHCP client-identifier

From: Reza Toghraee (reza@toghraee.com)
Date: Mon Oct 20 2008 - 17:05:47 ARST


Gaurav,

I don't know how the default client-id is created, but I use this method to
assign IPs to the clients:

On R1, R2

interface f0/0
 ip address dhcp client-id f0/0 <<=== Set the Client-ID to mac address of
the interface.
 Mac-address 0063.6973.636f
end

then R1 will use its f0/0 mac-address as client-id.
And you can configure R3 in this way:

ip dhcp pool TEST
   host 172.16.12.2 255.255.0.0
   client-identifier 0063.6973.636f

Reza

-----Original Message-----
From: nobody@groupstudy.com [mailto:nobody@groupstudy.com] On Behalf Of
GAURAV MADAN
Sent: Monday, October 20, 2008 6:52 PM
To: Cisco certification
Subject: DHCP client-identifier

HI Group

I have following setup

R1====|
            |
            |==== R3
            |
R2====

My DHCP server is running on R3 .
I want say 172.16.12.2 to be assigned to R1 and 172.16.12.12 to be
assigned to R2.

I am able to do this using host and client identifier .

R3(config)#do sh run | sec dhcp
ip dhcp pool TEST
   host 172.16.12.2 255.255.0.0
   client-identifier
0063.6973.636f.2d30.3031.632e.3538.6261.2e66.6532.302d.4661.302f.30
ip dhcp pool TEST1
   host 172.16.12.12 255.255.0.0
   client-identifier
0063.6973.636f.2d30.3031.612e.6132.6166.2e36.3830.382d.4661.302f.30
R3(config)#

My query is is there a way to CALCULATE the client identifier ?

I got the above by simply creating a DHCP pool on R3(server) in this
case to start off and enabling DHCP debugs .
As address is assigned by server to clients .. we do get what address
is assigned to what client

But is there a way we can somehow calculate this ?

Thnx
Gaurav Madan

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



This archive was generated by hypermail 2.1.4 : Sat Nov 01 2008 - 15:35:21 ARST