Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Cisco 871 not connect to Internet

Status
Not open for further replies.

Conestoga216

Technical User
Oct 30, 2010
9
US
Hi,
I have this used C871 router, try to put it up and running, my Lan side works OK, but won't connect to Internet, when I try to ping a well know site like google.com, I got time out, please help me to fix this issued. here is my sh run.


!
version 12.4
no service pad
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname Router
!
boot-start-marker
boot-end-marker
!
!
no aaa new-model
!
resource policy
!
ip cef
!
!
no ip dhcp use vrf connected
ip dhcp excluded-address 192.168.10.1 192.168.10.10
!
ip dhcp pool USR8054
import all
network 192.168.10.0 255.255.255.0
default-router 192.168.10.1
!
!
no ip domain lookup
!
!
!
!
!
!
!
!
!
interface FastEthernet0
!
interface FastEthernet1
!
interface FastEthernet2
!
interface FastEthernet3
!
interface FastEthernet4
ip address dhcp
ip nat outside
ip virtual-reassembly
duplex auto
speed auto
!
interface Vlan1
ip address 192.168.10.1 255.255.255.0
ip nat inside
ip virtual-reassembly
!
ip route 0.0.0.0 0.0.0.0 FastEthernet4
!
!
no ip http server
no ip http secure-server
ip nat inside source list 1 interface FastEthernet4 overload
!
access-list 1 permit 0.0.0.0 255.255.255.0
!
!
!
!
control-plane
!
!
line con 0
no modem enable
line aux 0
line vty 0 4
login
!
scheduler max-task-time 5000
end

 
i'm assuming you can ping 4.2.2.2?? is the client you are using to ping using the router as the DNS server?? if so you need to configure dns options in the dhcp pool and configure ip name-server <isp_dns_address> so it the router can perform a recursive lookup using the isp dns server(s)

I hate all Uppercase... I don't want my groups to seem angry at me all the time! =)
- ColdFlame (vbscript forum)
 
Hi unclerico,

No, It also shows time out when I ping 4.2.2.2, I even can't ping my ISP's DNS Server, it's time out also. Any Suggestion ?
Thanks
 
Code:
access-list 1 permit 0.0.0.0 255.255.255.0
should be:
Code:
access-list 1 permit 192.168.10.0 0.0.0.255

I hate all Uppercase... I don't want my groups to seem angry at me all the time! =)
- ColdFlame (vbscript forum)
 
Same resulted, time out after change made.
access-list 1 permit 192.168.10.0 0.0.0.255 any suggestion ?
Thanks
 
try to ping and then from the router issue sh ip nat trans

I hate all Uppercase... I don't want my groups to seem angry at me all the time! =)
- ColdFlame (vbscript forum)
 
Hi unclerico,

Here is what I got after ping my ISP's DNS server
Sh ip nat trans

Router#sh ip nat trans
Pro Inside global Inside local Outside local Outside global
icmp 173.32.107.164:512 192.168.10.11:512 64.71.255.198:512 64.71.255.198:512
udp 173.32.107.164:20124 192.168.10.11:20124 24.119.145.244:5575 24.119.145.244:
5575
udp 173.32.107.164:20124 192.168.10.11:20124 59.136.115.153:22916 59.136.115.153
:22916
udp 173.32.107.164:20124 192.168.10.11:20124 68.169.145.70:14622 68.169.145.70:1
4622
udp 173.32.107.164:20124 192.168.10.11:20124 173.175.132.37:11239 173.175.132.37
:11239
udp 173.32.107.164:20124 192.168.10.11:20124 174.101.138.178:2062 174.101.138.17
8:2062
udp 173.32.107.164:53023 192.168.10.11:53023 64.71.255.198:53 64.71.255.198:53
udp 173.32.107.164:57588 192.168.10.11:57588 64.71.255.198:53 64.71.255.198:53
udp 173.32.107.164:61769 192.168.10.11:61769 64.71.255.198:53 64.71.255.198:53
udp 173.32.107.164:63983 192.168.10.11:63983 64.71.255.198:53 64.71.255.198:53

64.71.155.198 is my ISP's DNS server

Thanks

 
Hi unclerico,

Just found out this.
Router#sh ip inter brief
Interface IP-Address OK? Method Status Prot
ocol
FastEthernet0 unassigned YES unset up up

FastEthernet1 unassigned YES unset up down

FastEthernet2 unassigned YES unset up down

FastEthernet3 unassigned YES unset up down

FastEthernet4 unassigned YES DHCP up down

Vlan1 192.168.10.1 YES NVRAM up up

NVI0 unassigned YES unset administratively down down

Status of NVI0 administratively brought down, How I'm bring it back up.

Thanks
 
Your f4 interface is down

I hate all Uppercase... I don't want my groups to seem angry at me all the time! =)
- ColdFlame (vbscript forum)
 
Hi unclerico,
Yes, because I have to swapping network cable to other router which I'm getting connected to Internet, if my C871 is up & running,type sh ip inter brief, will shows NVI0 is administratively down even I got IP from my ISP's DHCP on f4. any idea how ?

Thanks
 
try to remove your nat statements from vlan1 and f4 and then add them back in again.

I hate all Uppercase... I don't want my groups to seem angry at me all the time! =)
- ColdFlame (vbscript forum)
 
my 857w didn't like ip nat inside/outside.... it did LIKE ip nat enable however....

just a thought...


We must go always forward, not backward
always up, not down and always twirling twirling towards infinity.
 
Unclerico,

I did try your suggestion, samething didn't work, I start to suspect hardware issue.

Imbadatthis,

How the statements is ip nat enable....., can you explaine a bit more detail,I'm a newbie to Cisco.

Thanks all your help!
 
Conestoga216,
I think the problem that you are having is that fastethernet4 isn't a configurable port on this model of router. Think of all four fastethernet ports as a dummy switch. The configurations on interface vlan 1 controls all your ethernet ports. There should be an atm port on this router, but I don't see it in your configs. The only way to route data on this router is to use this atm port as your gateway, not fastethernet 4. Sorry
 
Hi Quince0cha,
I'm new to Cisco Router, can you provided a code statement I will give it a try.

Thanks
 
Quince0cha,

871 can handle f4 with configurable IP while f0 to f3 are always part of VLAN 1 .

his configuration seems OK .
850 are the ones with ATM modules.

-
conestoga216, when you plugin the cable to f4 do you get a message on console about NVI0 also coming up ?

We must go always forward, not backward
always up, not down and always twirling twirling towards infinity.
 
imbadatthis,

No, NVI0 is down, that's why I suspect this router had hardware issued.
Thanks
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top