cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
7709
Views
0
Helpful
9
Replies

Cisco 850 not geting WAN IP Address Via DHCP

jsandau
Level 1
Level 1

I have a cisco 850 that is not getting a WAN ip address thorugh DHCP. I have FE4 (The WAN port) set to get an ip address via DHCP, but when I do a test connection from CCP I get this error:

Checking interface IP address…failed

No Ip Address for the interface has been obtained. The interface is configured to obtain an ip address through dhcp. The remote end may not be configured with a dhcp server or the dhcp pool may be empty.

Recommended actions

Please contact your ISP or WAN administrator and check if the server has been configured to lease ip addresses to the client’s connection through DHCP. Retest connection

I know that the modem is providing an ip address via dchp, because I can plug my computer directly into  the modem and get an ip address, so I think I may have missed a setting on the router. Here is he running config:

Building configuration...

Current configuration : 1851 bytes

!

version 12.4

service config

no service pad

service timestamps debug datetime msec

service timestamps log datetime msec

no service password-encryption

!

hostname *Host*

!

boot-start-marker

boot-end-marker

!

no logging buffered

enable secret 5 $1$7sCe$otJJdbrbqgn/WkFF8Aqzt.

enable password *Password*

!

aaa new-model

!

!

aaa authentication login default local

aaa authorization exec default local

!

!

aaa session-id common

!

!

dot11 syslog

no ip routing

no ip dhcp use vrf connected

ip dhcp excluded-address 10.10.0.1 10.10.10.99

ip dhcp excluded-address 10.10.10.201 10.10.255.254

!

ip dhcp pool Vlan1

   network 10.10.0.0 255.255.0.0

   default-router 10.10.10.1

   lease infinite

!

!

no ip cef

ip name-server 64.59.135.133

ip name-server 64.59.135.150

!

!

!

username admin privilege 15 secret 5 $1$almq$LzL55/3z.g3Sq9fpSvv8e0

!

!

archive

log config

hidekeys

!

!

!

!

!

interface FastEthernet0

no cdp enable

!

interface FastEthernet1

no cdp enable

!

interface FastEthernet2

no cdp enable

!

interface FastEthernet3

no cdp enable

!

interface FastEthernet4

description $ETH-WAN$

ip address dhcp client-id FastEthernet4

ip broadcast-address 0.0.0.0

ip nat outside

ip virtual-reassembly

no ip route-cache

duplex auto

speed auto

no cdp enable

!

interface Vlan1

ip address 10.10.10.1 255.255.0.0

ip broadcast-address 0.0.0.0

ip nat inside

ip virtual-reassembly

no ip route-cache

!

ip forward-protocol nd

!

ip http server

no ip http secure-server

ip nat inside source list 1 interface FastEthernet4 overload

!

access-list 1 remark INSIDE_IF=Vlan1

access-list 1 remark CCP_ACL Category=2

access-list 1 permit 10.10.0.0 0.0.255.255

!

control-plane

!

!

line con 0

exec-timeout 0 0

no modem enable

line aux 0

line vty 0 4

password *Password*

!

scheduler max-task-time 5000

no process cpu extended

no process cpu autoprofile hog

end

I think the problem may be the Firewall is not letting dhcp through (even tough I haven't set it up yet, and there are no rules in the firewall yet). But I'm not 100% sure about that.

Thanks for any help.

1 Accepted Solution

Accepted Solutions

Neeraj Arora
Level 3
Level 3

Although your config has no issues, below mentioned steps might help:

- Issue "shut" "no shut" on the Fa4 to bump the interface

- Remove "ip address dhcp client-id FastEthernet4" and just configure "ip address dhcp"

- Remove "ip broadcast-address 0.0.0.0" from Fa4 interface

- Shut down the router and Modem. Turn the modem on first and then turn the router after 5-10 min.

there might be another reason if all the above steps fail, You mentioned that your PC/laptop works fine and gets the ip address from modem, it could be because of the gigabit ethernet connection. Your modem might be looking for a 1000 Mbps speed which your laptop is capable but the router is not. Again, this might be a long shot but worth checking at your end.

Hope it helps

Neeraj

View solution in original post

9 Replies 9

paolo bevilacqua
Hall of Fame
Hall of Fame

By all means, connect the router directly to ISP modedm, with no firewall.

If you do that, and still no address, try:

ip dhcp relay information check

And let us know.

The router is plugged directly into the modem. The firewall I'm talking about is the one built into the 850. Anyway I tried the ip dchp relay information check command via the cli and nothing happened.

Hi,

Can your turn on routing and CEF anyway:

-ip routing

-ip cef

Both these commands in config mode.

Regards.

Alain

Don't forget to rate helpful posts.

I did that and still nothing happened.

Hi,

Please try not to create duplicate posts in order to avoid any confusion. Try these commands and try again:

ip dhcp pool Vlan1

import all

ip route 0.0.0.0 0.0.0.0 dhcp

#renew dhcp fa4

Sent from Cisco Technical Support iPhone App

Hi,

This was not to solve your dhcp problem but for the router to be routing anyway otherwise it won't even NAT.

I should have stated it sooner, sorry.

Regards.

Alain

Don't forget to rate helpful posts.

Sorry, I meant:

no ip dhcp relay information check

Neeraj Arora
Level 3
Level 3

Although your config has no issues, below mentioned steps might help:

- Issue "shut" "no shut" on the Fa4 to bump the interface

- Remove "ip address dhcp client-id FastEthernet4" and just configure "ip address dhcp"

- Remove "ip broadcast-address 0.0.0.0" from Fa4 interface

- Shut down the router and Modem. Turn the modem on first and then turn the router after 5-10 min.

there might be another reason if all the above steps fail, You mentioned that your PC/laptop works fine and gets the ip address from modem, it could be because of the gigabit ethernet connection. Your modem might be looking for a 1000 Mbps speed which your laptop is capable but the router is not. Again, this might be a long shot but worth checking at your end.

Hope it helps

Neeraj

Thanks, I tried those commands and now it is working.

Review Cisco Networking products for a $25 gift card