From: John Tafasi (johntafasi@yahoo.com)
Date: Mon Nov 24 2003 - 22:49:48 GMT-3
Can some one try using the command "ip dhcp relay information option" on the
dhcp relay agent see if this will work. I could not use this command on my
dhcp relay agent because it is running an old ios.
Thanks
John
----- Original Message -----
From: "John Tafasi" <johntafasi@yahoo.com>
To: "ccielab" <ccielab@groupstudy.com>
Sent: Monday, November 24, 2003 6:26 PM
Subject: DHCP Manual Binding Configuration challenge
> Hi group,
>
> I have a problem assigning bb2 (router acting as dhcp client) the ip
address
> 150.50.4.12 which has been manually mapped to bb2 mac address on the dhcp
> server (r7).
>
> The r8 is the dhcp relay agent residing between r7 and bb2.
> r7 and r8 have the serial connection between them.
> r8 and bb2 have ethernet connection between them.
>
>
> I have included the configuration for all routers below. The problem is
that
> the dhcp server (r7) will assign the client any ip address other than
> 150.50.4.12, which is not the desired result. The desired result is that
bb2
> should be assigned the ip address 150.50.4.12 by the dhcp server.
>
> Can someone see what the problem is?
>
> r7#show run
> Building configuration...
>
>  hostname r7
> !
> ip dhcp smart-relay
> ip dhcp relay information option
> !
> ip dhcp pool bb2
>    host 150.50.4.12 255.255.255.0
>    domain-name cisco.com
>    client-name bb2
> !
> ip dhcp pool 150.50.4
>    network 150.50.4.0 255.255.255.0
>  !
> !
> !
> !
> interface Loopback0
>  ip address 200.0.0.7 255.255.255.255
>  !
> interface Serial1/0
>  ip address 150.50.5.68 255.255.255.224
>  ip tcp header-compression
>  no fair-queue
>  clockrate 64000
> !
>  !
>  !
> end
>
> r7#
>
> ---------------
> r8#show run
> Building configuration...
>
> !
> hostname r8
> !
> !
> interface Loopback0
>  ip address 200.0.0.8 255.255.255.255
>  no ip directed-broadcast
> !
> interface Ethernet0
>  ip address 150.50.4.8 255.255.255.0
>  ip helper-address 200.0.0.7
>  no ip directed-broadcast
>  media-type 10BaseT
>  ip rsvp bandwidth 7500 7500
> !
> !
> interface Serial0
>  ip address 150.50.5.69 255.255.255.224
>  no ip directed-broadcast
>  ip tcp header-compression
>  no ip mroute-cache
>   !
>  !
>  !
> ip classless
>  !
>  end
>
> r8#
>
> -----------------
> bb2(config)#int e0
> bb2(config-if)#
> bb2(config-if)#no ip address
> bb2(config-if)#ip add
> 4w5d: IP: s=150.50.4.22 (local), d=150.50.5.68, len 604, unroutable
> 4w5d:     UDP src=68, dst=67
> 4w5d: IP: s=150.50.4.22 (local), d=150.50.5.68 (Ethernet0), len 604,
sending
> 4w5d:     UDP src=68, dst=67
> 4w5d: IP: s=150.50.4.22 (local), d=150.50.5.68 (Ethernet0), len 604,
> encapsulation failed
> 4w5d:     UDP src=68, dst=67
> 4w5d: IP: s=150.50.4.22 (local), d=150.50.5.68 (Ethernet0), len 604,
sending
> 4w5d:     UDP src=68, dst=67
> bb2(config-if)#ip address dhcp
> bb2(config-if)#
> 4w5d: IP: s=0.0.0.0 (local), d=255.255.255.255 (Ethernet0), len 604,
sending
> broad/multicast
> 4w5d:     UDP src=68, dst=67
> bb2(config-if)#Interface Ethernet0 assigned DHCP address 150.50.4.23, mask
> 255.255.255.0
>
> 4w5d: IP: s=150.50.5.68 (Ethernet0), d=255.255.255.255, len 328, rcvd 2
> 4w5d:     UDP src=67, dst=68
> 4w5d: IP: s=0.0.0.0 (local), d=255.255.255.255 (Ethernet0), len 604,
sending
> broad/multicast
> 4w5d:     UDP src=68, dst=67
> 4w5d: IP: s=150.50.5.68 (Ethernet0), d=255.255.255.255, len 328, rcvd 2
> 4w5d:     UDP src=67, dst=68
> bb2(config-if)#
>
>
>
> bb2#show ip inter brief
> Interface                  IP-Address      OK? Method Status
> Protocol
> Ethernet0                  150.50.4.23     YES DHCP   up
> up
> Serial0                    unassigned      YES NVRAM  administratively
down
> down
> Serial1                    unassigned      YES NVRAM  administratively
down
> down
> bb2#
>
>
>
>
>
> ----------------------------
>
> _______________________________________________________________________
> Please help support GroupStudy by purchasing your study materials from:
> http://shop.groupstudy.com
>
> Subscription information may be found at:
> http://www.groupstudy.com/list/CCIELab.html
This archive was generated by hypermail 2.1.4 : Fri Dec 12 2003 - 12:29:17 GMT-3