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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

ping-a-ling...

Status
Not open for further replies.

k0mbachi

Technical User
Jan 25, 2003
53
US
Why would I not be able to ping an IP external to my network from a router, but be able to ping those fine from any workstation? There is no internal domain and the 2505 ip name-servers are pointing to my isp's servers. I can ping the 2505 router from any workstation and I can ping any workstation from the router. The network is linked to the internet thru a linksys router which is defined as the ip default-gateway. Do I need a gateway of last resort?
 
For the benefit for any other newbies with the same problem, the simple solution was to define a default route on the 2505 pointing to the Linksys gateway to the outside world:

ip route 0.0.0.0 0.0.0.0 192.168.1.1

Before:

Routesaurus#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
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, * - candidate default

Gateway of last resort is not set

C 192.168.1.0 is directly connected, Ethernet0

After:

Routesaurus#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
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, * - candidate default

Gateway of last resort is 192.168.1.1 to network 0.0.0.0

C 192.168.1.0 is directly connected, Ethernet0
S* 0.0.0.0 0.0.0.0 [1/0] via 192.168.1.1
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top