Wednesday, December 17, 2008

without going into debug output details lets again reup the interface and also lets check the current index so as we are getting the same ip or not

CODE
r2#show ip dhcp pool

Pool rakesh_r3 :
Utilization mark (high/low) : 100 / 0
Subnet size (first/next) : 0 / 0
Total addresses : 254
Leased addresses : 0
Pending event : none
1 subnet is currently in the pool :
Current index IP address range Leased addresses
172.16.23.102 172.16.23.1 - 172.16.23.254 0
r2#




r3(config-if)#no shut
r3(config-if)#
*Mar 1 01:15:30.903: %LINK-3-UPDOWN: Interface FastEthernet0/0, changed state to up
*Mar 1 01:15:31.903: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to up
r3(config-if)#
*Mar 1 01:15:34.055: %DHCP-6-ADDRESS_ASSIGN: Interface FastEthernet0/0 assigned DHCP address 172.16.23.102, mask 255.255.255.0, hostname r3

r3(config-if)#do siib
Interface IP-Address OK? Method Status Protocol
FastEthernet0/0 172.16.23.102 YES DHCP up up
Serial0/0 unassigned YES unset administratively down down
FastEthernet0/1 unassigned YES unset administratively down down
Serial0/1 unassigned YES unset administratively down down
r3(config-if)#


alternatively you can also do this to renew and release a ip addr

CODE
r3#release ?
dhcp Release a dhcp lease

r3#release dhcp ?
Async Async interface
BVI Bridge-Group Virtual Interface
CDMA-Ix CDMA Ix interface
CTunnel CTunnel interface
Dialer Dialer interface
FastEthernet FastEthernet IEEE 802.3
Lex Lex interface
Loopback Loopback interface
MFR Multilink Frame Relay bundle interface
Multilink Multilink-group interface
Null Null interface
Port-channel Ethernet Channel of interfaces
Serial Serial
Tunnel Tunnel interface
Vif PGM Multicast Host interface
Virtual-PPP Virtual PPP interface
Virtual-Template Virtual Template interface
Virtual-TokenRing Virtual TokenRing
XTagATM Extended Tag ATM interface
vmi Virtual Multipoint Interface

r3#release dhcp fa0/0
r3#renew dhcp fa0/0
Not in Bound state.
r3#
*Mar 1 01:17:49.983: %DHCP-6-ADDRESS_ASSIGN: Interface FastEthernet0/0 assigned DHCP address 172.16.23.103, mask 255.255.255.0, hostname r3

r3#

Design by Blogger Buster | Distributed by Blogging Tips