IP Address by DHCP on a Cisco 2611

Hello, I really need help this problem. A cisco 2611 is connected to the Internet on interface Ethernet0/1 with an ethernet ADSL modem. When you turn on the cisco, after his boot initialization, it get his ip address. But the ISP change the Internet address every two or three days, but the Cisco doesn't detect the new IP address send by the new ISP DHCP/Gateway. I must shut / no shut the ethernet0/1 interface and the it take the new address. The ISP have IP address sometimes in range 62.147.x.y , sometimes

82.252.X.Y,etc... , but the Gateway (which is too the DHCP server for this subnet) is always 62.147.X.254 or 82.252.X.254 or etc .....

What's wrong in my configuration below ? I paste examples (after config file) of :

- show dhcp lease

- dhcp debug details

Thanks a lot for your help !!

Here is the configuration

***** toto.free.fr#show run Building configuration...

Current configuration : 3494 bytes ! ! Last configuration change at 18:26:10 PCTime Sun Apr 17 2005 ! NVRAM config last updated at 18:29:19 PCTime Sun Apr 17 2005 ! version 12.3 no service pad service timestamps debug uptime service timestamps log uptime service password-encryption ! hostname toto.free.fr ! boot-start-marker boot-end-marker ! enable password 7 094F461B1016031D1E ! clock timezone PCTime 1 clock summer-time PCTime date Mar 30 2003 2:00 Oct 26 2003 3:00 no aaa new-model ip subnet-zero no ip source-route ip cef ! ! no ip domain lookup ip dhcp excluded-address 192.168.0.1 192.168.0.200 ip dhcp excluded-address 192.168.0.210 192.168.0.254 ! ip dhcp pool wifi host 192.168.0.250 255.255.255.0 client-identifier 0100.4005.d042.b8 ! ip dhcp pool 1 network 192.168.0.0 255.255.255.0 default-router 192.168.0.244 dns-server 212.27.32.177 194.149.160.9 ! no ip bootp server ip audit notify log ip audit po max-events 100 no ftp-server write-enable ! ! ! ! interface Null0 no ip unreachables ! interface Ethernet0/0 description connected to EthernetLAN ip address 192.168.0.244 255.255.255.0 ip access-group 100 in no ip redirects no ip unreachables no ip proxy-arp ip nat inside half-duplex ! interface Ethernet0/1 description connected to Internet ip address dhcp ip access-group 103 in no ip proxy-arp ip nat outside half-duplex no cdp enable ! router rip version 1 passive-interface Ethernet0/1 network 192.168.0.0 no auto-summary ! ip nat inside source list 1 interface Ethernet0/1 overload ip nat inside source static udp 192.168.0.10 5555 interface Ethernet0/1 5555 ip nat inside source static tcp 192.168.0.10 5555 interface Ethernet0/1 5555 ip nat inside source static udp 192.168.0.10 6666 interface Ethernet0/1 6666 ip nat inside source static tcp 192.168.0.10 6666 interface Ethernet0/1 6666 no ip http server ip classless ! ! access-list 1 remark Regle NAT genereale access-list 1 permit 192.168.0.0 0.0.0.255 access-list 100 remark LAN In access-list 100 permit udp any any eq bootpc access-list 100 deny ip host 255.255.255.255 any access-list 100 deny ip 127.0.0.0 0.255.255.255 any access-list 100 permit ip any any access-list 103 remark ENTRANT Interface Wan access-list 103 permit udp any eq bootpc host 192.168.0.244 eq bootpc access-list 103 deny udp any any eq bootps access-list 103 deny udp any any eq snmp access-list 103 deny udp any any eq snmptrap access-list 103 permit ip any any snmp-server community public RO 1 snmp-server enable traps tty banner login ^CAuthorized access only! Disconnect IMMEDIATELY if you are not an authorized user! ****** Acces reserve - Deconnectez vous immediatement ****!^C ! line con 0 exec-timeout 0 0 password 7 02050C4902151B2E59 login line aux 0 line vty 0 4 access-class 1 in password 7 13061F00021F10253E login ! ntp clock-period 17208826 ntp server 195.83.132.135 ntp server 138.195.130.71 ntp server 195.83.66.36 ntp server 207.46.130.100 ! ! end

*********

And for information

toto.free.fr#show dhcp server DHCP server: ANY (255.255.255.255) Leases: 423 Offers: 2 Requests: 426 Acks: 423 Naks: 0 Declines: 0 Releases: 3 Bad: 0 DNS0: 213.228.0.212, DNS1: 212.27.32.177 Subnet: 255.255.255.0

toto.free.fr#show dhcp lease Temp IP addr: 82.252.134.XXX for peer on Interface: Ethernet0/1 Temp sub net mask: 255.255.255.0 DHCP Lease server: 82.252.134.254, state: 3 Bound DHCP transaction id: 364230A Lease: 600 secs, Renewal: 60 secs, Rebind: 600 secs Temp default-gateway addr: 82.252.134.254 Next timer fires after: 00:00:32 Retry count: 0 Client-ID: cisco-0008.ZZZZ.YYYY-Et0/1 Hostname: toto.free.fr toto.free.fr#

toto.free.fr#show dhcp lease Temp IP addr: 82.252.134.xxx for peer on Interface: Ethernet0/1 Temp sub net mask: 255.255.255.0 DHCP Lease server: 82.252.134.254, state: 4 Rebinding DHCP transaction id: 3D6C09F Lease: 600 secs, Renewal: 60 secs, Rebind: 600 secs Temp default-gateway addr: 82.252.134.254 No timer running Retry count: 1 Client-ID: 0008.21ea.aa81 Hostname: toto.free.fr

Notice the No timer running that don't understand. I again do a shut/no shut on the E0/1 interface and now this is the new show dhcp lease command : toto.free.fr#show dhcp lease Temp IP addr: 62.147.217.XXX for peer on Interface: Ethernet0/1 Temp sub net mask: 255.255.255.0 DHCP Lease server: 62.147.217.254, state: 5 Renewing DHCP transaction id: 8E99607 Lease: 600 secs, Renewal: 60 secs, Rebind: 600 secs Temp default-gateway addr: 62.147.217.254 Next timer fires after: 00:07:45 Retry count: 1 Client-ID: 0008.21ea.aa81 Hostname: toto.free.fr toto.free.fr#

and now there is a Next timer fires after: 00:07:45

toto.free.fr#debug dhcp detail DHCP client activity debugging is on (detailed) toto.free.fr#

2d22h: DHCP: QScan: Bound..T1 fired..Renewing 2d22h: DHCP: SRequest attempt # 1 for entry: 2d22h: Temp IP addr: 82.252.138.229 for peer on Interface: Ethernet0/1 2d22h: Temp sub net mask: 255.255.255.0 2d22h: DHCP Lease server: 82.252.138.254, state: 5 Renewing 2d22h: DHCP transaction id: B0C85C3 2d22h: Lease: 600 secs, Renewal: 60 secs, Rebind: 600 secs 2d22h: Temp default-gateway addr: 82.252.138.254 2d22h: Next timer fires after: 00:08:59 2d22h: Retry count: 1 Client-ID: cisco-0008.21ea.aa81-Et0/1 2d22h: Hostname: toto.free.fr 2d22h: DHCP: SRequest - ciaddr: 82.252.138.229 2d22h: DHCP: SRequest placed lease len option: 600 2d22h: DHCP: SRequest: 310 bytes 2d22h: DHCP: SRequest: 310 bytes 2d22h: DHCP: Received a BOOTREP pkt 2d22h: DHCP: Scan: Message type: DHCP Ack 2d22h: DHCP: Scan: Server ID Option: 82.252.138.254 = 52FC8AFE 2d22h: DHCP: Scan: Renewal time: 60 2d22h: DHCP: Scan: Rebind time: 600 2d22h: DHCP: Scan: Lease Time: 600 2d22h: DHCP: Scan: Subnet Address Option: 255.255.255.0 2d22h: DHCP: Scan: Router Option: 82.252.138.254 2d22h: DHCP: Scan: DNS Name Server Option: 213.228.0.212, 212.27.32.177 2d22h: DHCP: rcvd pkt source: 82.252.138.254, destination: 82.252.138.229 2d22h: UDP sport: 43, dport: 44, length: 556 2d22h: DHCP op: 2, htype: 1, hlen: 6, hops: 0 2d22h: DHCP server identifier: 82.252.138.254 2d22h: xid: B0C85C3, secs: 0, flags: 0 2d22h: client: 0.0.0.0, your: 82.252.138.229 2d22h: srvr: 82.252.138.254, gw: 0.0.0.0 2d22h: options block length: 308

2d22h: DHCP Ack Message

2d22h: DHCP: Lease Seconds: 600 Renewal secs: 60 Rebind secs: 600 2d22h: DHCP: Server ID Option: 82.252.138.254 2d22h: DHCP: Applying DHCP options: 2d22h: DHCP: Releasing ipl options: 2d22h: Setting default_gateway to 82.252.138.254 2d22h: Adding DNS server address 213.228.0.212 2d22h: Adding DNS server address 212.27.32.177 2d22h: DHCP Client Pooling: ***Allocated IP address: 82.252.138.229 toto.free.fr#no debug dhcp DHCP client activity debugging is off toto.free.fr#
Reply to
sam
Loading thread data ...

yes,

I'd like an answer to this one...

it's not just 2600 I have had a si similar problem with 1600 and 1700 routers as well, with NTL in the UK.

I'm no too worried as I seem to get the same address even when NTL reboot their DHCP servers, must have fixed the lease time caches at last... just to be a real pain as the only way to geet the router back if it looses it's dhcp address seams to be to reload, as it screws up my routing...

any answers to this one ?

i think a similar question was posted recently ?

Reply to
Will Plaice

Cabling-Design.com Forums website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.