cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
4700
Views
65
Helpful
37
Replies

Host Unable to Ping Outside of LAN

alexbarrycooper
Level 1
Level 1

Hello, I'm currently having an issue with being able to ping the IP address 8.8.8.8 with my host computer. I am using a 3550 Cisco switch and a 2621xm Cisco router with the Host computer connected to the switch along my router's 0/1 interface connected to the switch my router's 0/0 interface connected into my ISPs modem and the modem is connected to the internet.

1 Accepted Solution

Accepted Solutions

Hello

So its looks like you have L2/l3 connectivity so  check the cabling

The rtr fa0/1 needs to be in a up/up state for you lan users to be able to reach internet.

res

paul


Please rate and mark as an accepted solution if you have found any of the information provided useful.
This then could assist others on these forums to find a valuable answer and broadens the community’s global network.

Kind Regards
Paul

View solution in original post

37 Replies 37

GRANT3779
Spotlight
Spotlight

Hi,

There could be a lot of variables at play here. 

Can you hit the outside world from the router itself? Can your host hit its default gateway which i assume is the routers 0/1 interface? Do you have the required NAT configuration? 

I would start from the router itself, get connectivity working from there and then focus on the LAN side.

If you are able to post the router config this would help also.

Thanks

My apologies, my Cisco router can ping the outside world and my Host computer can ping its default gateway (interface 0/1).

The router's configuration is as so:

Building configuration...

Current configuration : 1931 bytes
!
version 12.2
service config
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname Router
!
!
ip subnet-zero
!
!
no ip domain lookup
ip name-server 8.8.8.8
ip name-server 4.2.2.2
ip dhcp excluded-address 192.168.0.100
ip dhcp excluded-address 192.168.0.102
ip dhcp excluded-address 192.168.0.103
ip dhcp excluded-address 192.168.0.104
ip dhcp excluded-address 192.168.0.105
ip dhcp excluded-address 192.168.0.106
ip dhcp excluded-address 192.168.0.107
ip dhcp excluded-address 192.168.0.108
ip dhcp excluded-address 192.168.0.109
ip dhcp excluded-address 192.168.0.110
ip dhcp excluded-address 192.168.0.200
ip dhcp excluded-address 192.168.0.201
ip dhcp excluded-address 192.168.0.202
ip dhcp excluded-address 192.168.0.203
ip dhcp excluded-address 192.168.0.204
ip dhcp excluded-address 192.168.0.205
ip dhcp excluded-address 192.168.0.206
ip dhcp excluded-address 192.168.0.207
ip dhcp excluded-address 192.168.0.208
ip dhcp excluded-address 192.168.0.209
!
ip dhcp pool CLIENT
import all
network 192.168.0.0 255.255.255.0
default-router 192.168.0.200
dns-server 8.8.8.8
!
ip audit notify log
ip audit po max-events 100
!
!
!
voice call carrier capacity active
!
!
!
!
!
!
!
!
!
mta receive maximum-recipients 0
!
!
!
!
interface FastEthernet0/0
ip address dhcp
ip nat outside
duplex auto
speed auto
!
interface FastEthernet0/1
ip address 192.168.0.200 255.255.255.0
ip nat inside
duplex auto
speed auto
!
ip nat inside source list 100 interface FastEthernet0/0 overload
ip classless
ip route 0.0.0.0 0.0.0.0 10.0.0.1
ip http server
!
!
access-list 100 remark ==[Control NAT Service]==
access-list 100 permit ip 192.168.0.0 0.0.0.255 any
access-list 100 remark ==[Control NAT Service]==
!
call rsvp-sync
!
!
mgcp profile default
!
dial-peer cor custom
!
!
!
!
!
line con 0
logging synchronous
speed 115200
line aux 0
line vty 0 4
!
!
end

and thank you for the speedy reply!

Hello

no ip route 0.0.0.0 0.0.0.0 10.0.0.1

ip route 0.0.0.0 0.0.0.0 fa0/0 dhcp

res
Paul


Please rate and mark as an accepted solution if you have found any of the information provided useful.
This then could assist others on these forums to find a valuable answer and broadens the community’s global network.

Kind Regards
Paul

Hello Paul, I've eliminated the original IP route, but when I attempt to implement your configuration I receive the following message:

Router(config)#ip route 0.0.0.0 0.0.0.0 fa0/0 dhcp
                                                                       ^
% Invalid input detected at '^' marker.

Hello

Strange ?

interface FastEthernet0/0
ip address dhcp
ip nat outside
duplex auto
speed auto

Is this correct?

could you post
ip route 0.0.0.0 0.0.0.0 fa0/0 ?

res
Paul


Please rate and mark as an accepted solution if you have found any of the information provided useful.
This then could assist others on these forums to find a valuable answer and broadens the community’s global network.

Kind Regards
Paul

Yes, that is correct. I was able to post "IP route 0.0.0.0 0.0.0.0 fa0/0" too, but I have just checked to see if a connection to the outside world can be made from my host and it cannot.

Hello

Dont you have an option to apply DHCP at the end of that default route?

hence why i asked to post the output from:

IP route 0.0.0.0 0.0.0.0 fa0/0 ?   -  Just to see what options you have.


Also
ping 8.8.8.8 source fa0/1


res
Paul


Please rate and mark as an accepted solution if you have found any of the information provided useful.
This then could assist others on these forums to find a valuable answer and broadens the community’s global network.

Kind Regards
Paul

I am so sorry, I've been up for a while now.

Here is that output:

Router(config)#ip route 0.0.0.0 0.0.0.0 fa0/0 ?
<1-255> Distance metric for this route
A.B.C.D Forwarding router's address
name Specify name of the next hop
permanent permanent route
tag Set tag for this route
<cr>

Hello

Sh ip route

ping 8.8.8.8 source fa0/1

res
Paul


Please rate and mark as an accepted solution if you have found any of the information provided useful.
This then could assist others on these forums to find a valuable answer and broadens the community’s global network.

Kind Regards
Paul

show ip route:

Router#show ip route
Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP
i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area
* - candidate default, U - per-user static route, o - ODR
P - periodic downloaded static route

Gateway of last resort is not set

10.0.0.0/24 is subnetted, 1 subnets
C 10.0.0.0 is directly connected, FastEthernet0/0

Router#ping 8.8.8.8 source fa0/1
^
% Invalid input detected at '^' marker.

!--- This is the only output avalible

Router#ping 8.8.8.8 ?
<cr>

Hello

remote the static completely and then post

sh ip int brief
sh ip route
sh arp
sh ip nat translations



res
Paul


Please rate and mark as an accepted solution if you have found any of the information provided useful.
This then could assist others on these forums to find a valuable answer and broadens the community’s global network.

Kind Regards
Paul

I've never actually remotely accessed my router before, so i really don't know how to. I'm sorry.

Hello


Please rate and mark as an accepted solution if you have found any of the information provided useful.
This then could assist others on these forums to find a valuable answer and broadens the community’s global network.

Kind Regards
Paul

oh, were you asking me to remote into the router using vty?

Review Cisco Networking products for a $25 gift card