RE: Allocating Static IP Addresses with DHCP

From: Joe Harris, CCIE# 6200 (jfh6200@tx.rr.com)
Date: Thu Feb 21 2008 - 22:54:44 ARST


Most likely your client id is incorrect...run a debug ip dhcp server packet
and it will tell you what the client id is it's receiving....you will most
likely need to shift you decimals and prepend a 01 to the client-id command
like so:

ip dhcp pool DHCP
   host 192.168.16.1 255.255.255.0
   client-identifier 0100.11bb.78fc.80
   client-name Rack1R4(1)
!

The actual MAC address is: 00.11bb.78fc.80 ... 01 is pre-pended see the
client-id part of the link below

Feb 21 18:49:50.250: DHCPD: DHCPDISCOVER received from client
0100.11bb.78fc.80 on interface Virtual-Access1.1.
Feb 21 18:49:50.250: DHCPD: Sending DHCPOFFER to client 0100.11bb.78fc.80
(192.168.16.1).
Feb 21 18:49:50.250: DHCPD: broadcasting BOOTREPLY to client 0011.bb78.fc80.
Feb 21 18:49:50.254: DHCPD: DHCPREQUEST received from client
0100.11bb.78fc.80.
Feb 21 18:49:50.254: DHCPD: Sending DHCPACK to client 0100.11bb.78fc.80
(192.168.16.1).
Feb 21 18:49:50.254: DHCPD: broadcasting BOOTREPLY to client 0011.bb78.fc80.

http://www.cisco.com/univercd/cc/td/doc/product/software/ios124/124cg/hiad_c
/ch10/hipdhcps.htm#wp1074511

-Joe

-----Original Message-----
From: nobody@groupstudy.com [mailto:nobody@groupstudy.com] On Behalf Of
Matemane, Walter
Sent: Wednesday, February 20, 2008 11:25 PM
To: ccielab@groupstudy.com
Subject: Allocating Static IP Addresses with DHCP

Hi group,

Bellow is my configs to allocate static IP to my PC, but it is not
working as expected. It get allocated the next IP, i.e 10.121.251.36
instead of 10.121.251.35 as per the configs.

Do I miss something here?

ip dhcp excluded-address 10.121.251.33

ip dhcp excluded-address 10.121.251.34

!

ip dhcp pool Networks

   network 10.121.251.32 255.255.255.240

   domain-name XYZ

   default-router 10.121.251.33

   netbios-name-server 10.120.100.250

   dns-server 10.120.100.250

!

ip dhcp pool Printer

   host 10.121.251.35 255.255.255.240

   client-identifier 0014.22b7.9aad

   client-name IT-Printer

   domain-name XYZ

   default-router 10.121.251.33

   netbios-name-server 10.120.100.250

   dns-server 10.120.100.250

   netbios-node-type h-node

!

!

Thanks

Walter

****************************************************************************
*
*******
The e-mail and attachments are confidential and intended only for selected
recipients. If you have received it in error, you may not in any way
disclose
or rely on the contents. You may not keep, copy or distribute the e-mail.
Should you receive it, immediately notify the sender of the error and delete
the e-mail.Also note that this form of communication is not secure, it can
be
intercepted, and may not necessarily be free of errors and viruses in spite
of
reasonable efforts to secure this medium.

****************************************************************************
*
*******



This archive was generated by hypermail 2.1.4 : Sat Mar 01 2008 - 16:54:49 ARST