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

From: asadovnikov (asadovnikov@comcast.net)
Date: Tue Nov 11 2003 - 00:06:25 GMT-3


Again, here is the tip:

- create subnet pool
- let your test router acquire a DHCP address out of subnet ("ip address
dhcp" on the interface + may need to shut / no shut the interface) - if you
are not getting the address - something wrong with your setup
- go to the router which acts as DHCP server "show ip dhcp binding", right
down the client id
- create client id specific pool, using client ID as per previous step
- reboot your client router - it will get IP address as per the specific
pool

IOS does use client id, it does not use Microsoft style client id. See the
following link about how IOS compiles the client id
http://www.cisco.com/univercd/cc/td/doc/product/software/ios122/122cgcr/fipr
as_r/1rfdhcp.htm#63056.

Best regards,
Alexei

-----Original Message-----
From: Phuong [mailto:kieu@hn.vnn.vn]
Sent: Monday, November 10, 2003 8:14 AM
To: 'Asep Ruhimat'; 'Pun, Alec CL'; 'asadovnikov'; ccielab@groupstudy.com
Subject: RE: DHCP manual binding - hardware-address not works :-(

Already done before, but not work

-----Original Message-----
From: nobody@groupstudy.com [mailto:nobody@groupstudy.com] On Behalf Of Asep
Ruhimat
Sent: Monday, November 10, 2003 10:14 AM
To: Pun, Alec CL; asadovnikov; Phuong; ccielab@groupstudy.com
Subject: RE: DHCP manual binding - hardware-address not works :-(

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:10 GMT-3