Cisco2611 : Dhcp client problem.

Hello,

Here is the problem. a cisco 2611 is connected to the Internet on interface Ethernet0/1 with an ethernetADSL modem. When you turn on the cisco, after his boot initialization, it get his ip address, but when the address change , the Cisco doesn't detect the new address !!!! I must shut / no shut the ethernet0/1 interface and the it take the new address. What's wrong in my configuration ? Thanks

Here is part of the configuration

Current configuration : 3450 bytes ! ! Last configuration change at 09:32:15 PCTime Wed Apr 13 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 xxxxxx ! 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 hardware-address 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 ip dhcp-client network-discovery informs 2 discovers 2 period 15 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

etc...

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#

Reply to
sam
Loading thread data ...

Why would the DHCP address change before the lease expires?

Reply to
thrill5

Check your access-list 103 and see if there's anything going on there (i.e. show access-list or checking logging if your logging).

Reply to
michaelvital23

Hello, I don't understand what you means... sorry for my poor english. I just determine that every 24hours , my isp change me my Ip address. Today, again, my ip change, and the cisco 2611 didn't gzt the new ip Here is the show dhcp lease command :

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

Where can the problem come from ?

I remove from my config the : ip dhcp-client network-discovery informs 2 discovers 2 period 15 by doing a : no ip dhcp-client network-discovery informs 2 discovers 2 period 15 save and then reload... I get an ip ... so i hope that it solve the pb.... but i think i only can see the effect in 24hours.... :-(

Any idea ? Thanks for your help

Reply to
sam

On 13 Apr 2005 23:29:33 -0500, "" wrote:

show access-list or checking logging if your logging).

here is my whole (new... see my response to thrill5) config (i modify nat ports for security reason ;-) )

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

Current configuration : 3367 bytes ! ! No configuration change since last restart ! 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 xxxx ! 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 hardware-address 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 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 102 remark ENTRANT Interface Wan access-list 102 permit udp host 195.83.66.36 eq ntp any eq ntp access-list 102 permit udp any any eq domain access-list 102 permit udp any any eq bootpc access-list 102 permit tcp any any eq 5555 access-list 102 permit udp any any eq 6666 access-list 102 permit tcp any any eq www access-list 102 permit tcp any any eq 5190 access-list 102 permit icmp any any echo-reply access-list 102 permit icmp any any time-exceeded access-list 102 permit icmp any any unreachable access-list 102 deny 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 xxxxxxx login line aux 0 line vty 0 4 access-class 1 in password 7 xxxxx login ! ntp clock-period 17208599 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

Reply to
sam

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.