RE: DHCP manual binding - hardware-address not works :-(

From: Asep Ruhimat (asep.ruhimat@asaba.co.id)
Date: Mon Nov 10 2003 - 00:14:23 GMT-3


Hi, Phuong !
Try, This.

 Ex'
  Ip Address 192.168.1.12 255.255.255.0
  hardware-address 1212.1212.1212
  add prefix "01" for client-identifier then put your MAC Add.

 ip dhcp pool R1
   host 192.168.1.12 255.255.255.0
   client-identifier 0112.1212.1212.12

regards,

/asep#12383

-----Original Message-----
From: Pun, Alec CL [mailto:Alec.CL.Pun@pccw.com]
Sent: Monday, November 10, 2003 9:46 AM
To: asadovnikov; 'Phuong'; ccielab@groupstudy.com
Subject: RE: DHCP manual binding - hardware-address not works :-(

From DocCD, client-identifier is only required by Microsoft DHCP client :

client-identifier
To specify the unique identifier (in dotted hexadecimal notation) for a
Microsoft Dynamic Host Configuration Protocol (DHCP) client, use the
client-identifier DHCP pool configuration command. It is valid for manual
bindings only. To delete the client identifier, use the no form of this
command.

alec

-----Original Message-----
From: asadovnikov [mailto:asadovnikov@comcast.net]
Sent: Monday, November 10, 2003 2:43 AM
To: 'Phuong'; ccielab@groupstudy.com
Subject: RE: DHCP manual binding - hardware-address not works :-(

Try the exact same thing, but use client id instead. It will work then.
You may find it easiest to get unrestricted DHCP reservation happen first,
and then verify what server has (client IS or MAC):

        router#show ip dhcp binding
        IP address Client-ID/ Lease expiration
Type
                         Hardware address

Best regards,
Alexei
-----Original Message-----
From: nobody@groupstudy.com [mailto:nobody@groupstudy.com] On Behalf Of
Phuong
Sent: Sunday, November 09, 2003 1:02 PM
To: ccielab@groupstudy.com
Subject: DHCP manual binding - hardware-address not works :-(

HI group
 
I've just tested DCHP with manual binding. I want when a router come up, its
ethernet0 will be assign a fixed IP.
 
- First I've show the router interface for the Mac address (or configed the
mac address manually) R1#Sho int e0
     Hardware is Lance, address is 1212.1212.1212 (bia 00e0.b055.9a29)
 
 - Then I configure the DHCP,
   
  ip dhcp pool R1
   host 192.168.1.12 255.255.255.0
   hardware-address 1212.1212.1212
 
 both routers are in the same vlan.
  But when I configure R1's E0:
     ip address dhcp
 
The dhcp server can not recognize R1 and assign the ip address, it receive
the following messgase when I debug ip dhcp server packet and event
 
11:08:32: DHCPD: DHCPDISCOVER received from client
0063.6973.636f.2d31.3231.322e.3132.3132.2e31.3231.322d.4574.30 on interface
Ethernet0.
11:08:35: DHCPD: there is no address pool for 192.168.1.33.
 
So I decide to reconfigre the DHCP with previous complex client-id, and it
work well.
 
 ip dhcp pool R1
   host 192.168.1.12 255.255.255.0
   client-identifier
0063.6973.636f.2d31.3231.322e.3132.3132.2e31.3231.322d.4574.30
 
 But it isn't pretty way, anyone could do with the simple Mac address.
Sorry if my description is verbose
 Thank you in advance
 Phuong.



This archive was generated by hypermail 2.1.4 : Fri Dec 12 2003 - 12:29:09 GMT-3