Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Computing > Cisco > Csico DHCP static mapping

Reply
Thread Tools

Csico DHCP static mapping

 
 
abc
Guest
Posts: n/a
 
      09-26-2007
Hello,

I have cisco router running as DHCP server (12.2.(46)). It leases IP
addresses dynamically with no problem. However, when I try to configure
static binding , it does not work!

I tried both hardware-address and client-identification commands both of
which failed. I see many contradictions on the net regarding this method so
any advice would be most appreciated.

Here is the config snippet:

!
ip dhcp pool 5
host 3.3.3.33 255.255.255.0
hardware-address ca02.13f8.001c
default-router 3.3.3.20
!

Here is binding

R1#sh ip dhcp bind
IP address Client-ID/ Lease expiration Type
Hardware address
3.3.3.1 0063.6973.636f.2d63. Sep 27 2007 09:36 AM Automatic
6130.322e.3064.6438.
2e30.3031.632d.4574.
312f.30
3.3.3.33 ca02.13f8.001c Infinite Manual

---------------------------

I am trying to map 3.3.3.33 to ca02.13f8.001c which is not working.

Thanks


 
Reply With Quote
 
 
 
 
Merv
Guest
Posts: n/a
 
      09-26-2007
On Sep 26, 3:39 am, "abc" <(E-Mail Removed)> wrote:
> Hello,
>
> I have cisco router running as DHCP server (12.2.(46)). It leases IP
> addresses dynamically with no problem. However, when I try to configure
> static binding , it does not work!
>
> I tried both hardware-address and client-identification commands both of
> which failed. I see many contradictions on the net regarding this method so
> any advice would be most appreciated.
>
> Here is the config snippet:
>
> !
> ip dhcp pool 5
> host 3.3.3.33 255.255.255.0
> hardware-address ca02.13f8.001c
> default-router 3.3.3.20
> !
>
> Here is binding
>
> R1#sh ip dhcp bind
> IP address Client-ID/ Lease expiration Type
> Hardware address
> 3.3.3.1 0063.6973.636f.2d63. Sep 27 2007 09:36 AM Automatic
> 6130.322e.3064.6438.
> 2e30.3031.632d.4574.
> 312f.30
> 3.3.3.33 ca02.13f8.001c Infinite Manual
>
> ---------------------------
>
> I am trying to map 3.3.3.33 to ca02.13f8.001c which is not working.



======



AFAIK you must aconfigure the DHCP client-identifier command for
manual bindings:


config t
no ip dhcp pool 5

ip dhcp pool 5
host 3.3.3.33 255.255.255.0
client-identifier 01ca.0213.f800.1c
default-router 3.3.3.20
client-name TEST
end


sh ip dhcp bind


use the "debug ip dhcp server packet" command to verify the DHCP
client identifier
being send by the PC with MAC address ca02.13f8.001c

The identifier may be:

ca02.13f8.001c

01ca.0213.f800.1c




 
Reply With Quote
 
 
 
 
abc
Guest
Posts: n/a
 
      09-28-2007
> AFAIK you must aconfigure the DHCP client-identifier command for
> manual bindings:
>
>
> config t
> no ip dhcp pool 5
>
> ip dhcp pool 5
> host 3.3.3.33 255.255.255.0
> client-identifier 01ca.0213.f800.1c
> default-router 3.3.3.20
> client-name TEST
> end
>
>
> sh ip dhcp bind
>
>
> use the "debug ip dhcp server packet" command to verify the DHCP
> client identifier
> being send by the PC with MAC address ca02.13f8.001c
>
> The identifier may be:
>
> ca02.13f8.001c
>
> 01ca.0213.f800.1c
>
>
>
>


Tried that also, but no help! sh ip dhcp bind shows a long entry for MAC
address (or whatever that is):

0063.6973.636f.2d63.6130.322e.3064.6438.2e30.3031. 632d.4574.312f.30

instead of ca02.13f8.001c or 01ca.0213.f800.1c

regards

Ivica



 
Reply With Quote
 
Martin Gallagher
Guest
Posts: n/a
 
      09-28-2007
On Fri, 28 Sep 2007 10:01:00 +0200, abc wrote:

>> AFAIK you must aconfigure the DHCP client-identifier command for
>> manual bindings:

>
> Tried that also, but no help! sh ip dhcp bind shows a long entry for MAC
> address (or whatever that is):
>
> 0063.6973.636f.2d63.6130.322e.3064.6438.2e30.3031. 632d.4574.312f.30
>
> instead of ca02.13f8.001c or 01ca.0213.f800.1c
>


That's a client-id from a Cisco router. If you treat each pair of digits
as an ASCII character it spells ".cisco-ca02.0dd8.001c-Et1/0".

So try configuring it like this.

ip dhcp pool 5
host 3.3.3.33 255.255.255.0
client-identifier 0063.6973.636f.2d63.6130.322e.3064.6438.2e30.3031. 632d.4574.312f.3001ca.0213.f800.1c
default-router 3.3.3.20
client-name TEST
end

--
Rgds,
Martin
 
Reply With Quote
 
Merv
Guest
Posts: n/a
 
      09-28-2007
On Sep 28, 7:09 am, Martin Gallagher <(E-Mail Removed)>
wrote:
> On Fri, 28 Sep 2007 10:01:00 +0200, abc wrote:
> >> AFAIK you must aconfigure the DHCP client-identifier command for
> >> manual bindings:

>
> > Tried that also, but no help! sh ip dhcp bind shows a long entry for MAC
> > address (or whatever that is):

>
> > 0063.6973.636f.2d63.6130.322e.3064.6438.2e30.3031. 632d.4574.312f.30

>
> > instead of ca02.13f8.001c or 01ca.0213.f800.1c

>
> That's a client-id from a Cisco router. If you treat each pair of digits
> as an ASCII character it spells ".cisco-ca02.0dd8.001c-Et1/0".
>
> So try configuring it like this.
>
> ip dhcp pool 5
> host 3.3.3.33 255.255.255.0
> client-identifier 0063.6973.636f.2d63.6130.322e.3064.6438.2e30.3031. 632d.4574.312f.3001ca.0213.f800.1c
> default-router 3.3.3.20
> client-name TEST
> end
>
> --
> Rgds,
> Martin



I am curious, why would you be using a Cisco router as a DHCP client
to another Cisco router ?


 
Reply With Quote
 
abc
Guest
Posts: n/a
 
      09-28-2007

> That's a client-id from a Cisco router. If you treat each pair of digits
> as an ASCII character it spells ".cisco-ca02.0dd8.001c-Et1/0".
>
> So try configuring it like this.
>
> ip dhcp pool 5
> host 3.3.3.33 255.255.255.0
> client-identifier
> 0063.6973.636f.2d63.6130.322e.3064.6438.2e30.3031. 632d.4574.312f.3001ca.0213.f800.1c
> default-router 3.3.3.20
> client-name TEST
> end
>
> --
> Rgds,
> Martin


Excellent answer,Martin! Thank you, this was the issue!!

regards

Ivica

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Csico ASA 5505 not connecting to the Internet Izoj General Computer Support 0 12-26-2010 04:08 PM
Csico 3640 => MTU/ISIS/MPLS Mag Cisco 3 03-05-2009 01:45 PM
Csico 1721 Setup ITCOM Cisco 0 03-22-2007 10:47 AM
Csico 804 ISDN-6-NO_TIMER Errors xxnonexspamxnonexx@tampascanner.info Cisco 1 02-19-2006 11:24 PM
PIX public/24 ip static mapping means 256 times interfaces static maps? Nieuws Xs4all Cisco 0 05-26-2005 11:07 AM



Advertisments