Looking at it real quick try

 

 client-identifier  0102c.7f800.0422 providing 02c7.f800.0422 is the correct
mask

 

instead of 

 

 client-identifier  02c7.f800.0422

 

 

From: [email protected]
[mailto:[email protected]] On Behalf Of Aung Phyo Lwin
Sent: October-14-10 1:58 AM
To: [email protected]
Subject: [OSL | CCIE_RS] DHCP manual binding

 

Hi All,

 

Have someone tried manual DHCP binding on GNS3? I tired a few options and
its not work. I'm not sure its because of GNS3. I think it can work on real
router. Or If something I left to configure. I refer the cisco doc and tried
a few option and still not work. Even I tried with setting static MAC on the
client interface. I never used this option in outside environment as hardly
use dhcp server on the router and if its use, just use a pool of address and
dynamic mapping.

 

(R2-dhcp-server) <-------> (client)

 

SERVer side.

send a client identifier in the dhcp packet
ip dhcp pool pool1 
 host 172.16.2.254 
 client-identifier  02c7.f800.0422
 client-name example1

do not send a client identifier in the DHCP
ip dhcp pool pool2 
 host 172.16.2.253 
 hardware-address 02c7.f800.0422 ethernet
 client-name example1


Client Side.

interface FastEthernet0/0
 ip address dhcp
 duplex auto
 speed auto

or 

interface FastEthernet0/0
ip dhcp client client-id ascii example1
 ip address dhcp
 duplex auto
 speed auto

some debug

Client

*Mar  1 03:00:31.639: IP: s=0.0.0.0 (local), d=255.255.255.255
(FastEthernet0/0), len 319, sending broad/multicast
*Mar  1 03:00:31.639:     UDP src=68, dst=67

Server

*Mar  1 03:02:36.231: DHCPD: Sending notification of DISCOVER:
*Mar  1 03:02:36.231:   DHCPD: htype 1 chaddr 02c7.f800.0422
*Mar  1 03:02:36.231:   DHCPD: remote id 020a0000c0a8010100000000
*Mar  1 03:02:36.231:   DHCPD: circuit id 00000000
*Mar  1 03:02:36.231: DHCPD: DHCPDISCOVER received from client
0063.6973.636f.2d30.3263.372e.6638.3030.2e30.3432.322d.4661.302f.30 on
interface FastEthernet0/0.
*Mar  1 03:02:36.235: DHCPD: Seeing if there is an internally specified pool
class:
*Mar  1 03:02:36.235:   DHCPD: htype 1 chaddr 02c7.f800.0422
*Mar  1 03:02:36.235:   DHCPD: remote id 020a0000c0a8010100000000
*Mar  1 03:02:36.235:   DHCPD: circuit id 00000000u all

Regards,

Phyo

 

_______________________________________________
For more information regarding industry leading CCIE Lab training, please visit 
www.ipexpert.com

Reply via email to