cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1201
Views
5
Helpful
3
Replies

Default Route cannot ping

goransh_pc
Level 1
Level 1

Hi everybody. I have this scenario,

A 3500 cisco switch and 2900 cisco swtich. I have 3 Vlan in the 3500 and 2900 swithces, Vlan10, 20 and 30. In the 3500 also I have DHCP Server for the Vlan20 and 30, I get a valid IP address and I can ping between Vlan's. I have a Router connected to the Internet and the 3500 Switch.

On the 3500 I configured an Interface for route traffic to the Internet through the Router.

3500(config)# interface fastethernet 0/1

3500(config-if)# no switchport

3500(config-if)# ip address 10.0.10.2 255.255.255.0

3500(config-if)# no shutdown

3500(config-if)# exit

3500(cofnig)# ip route 0.0.0.0 0.0.0.0 10.0.10.1

3500(config)# exit

3500# show ip route

10.0.0.0/24 is subnetted, 3 subnets

C       10.0.10.0 is directly connected, Interface FastEthernet 0/1
C       10.0.20.0 is directly connected, Vlan20
C       10.0.30.0 is directly connected, Vlan30

S*      0.0.0.0/0 [1/0] via 10.0.10.1

3500# ping 10.0.10.1

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 10.0.10.1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 1/1/4 ms

The Problem:

From any PC that I try to ping the default gateway for the Internet 10.0.10.1 and Fail. Also I try to browse a web page do not work.

PC Vlan20:

IPv4 address: 10.0.20.10

Subnet Mask: 255.255.255.0

Default Gateway: 10.0.20.1         (3500 Vlan Interface)

DNS Server: 10.0.10.3

I can ping from a PC in the VLan20 to PC in the Vlan30, I can ping from PC in the VLan 20 to all Vlan Interface on the 3500 Switch. I can ping from the 3500 Switch to PC Vlan20 and 30, I can ping from 3500 Switch to Router 10.0.10.1 and DNS server 10.0.10.3. But I can NO ping from VLAN PC to Router 10.0.10.1 and the DNS Server 10.0.10.3 and also I can no browse any web page on the Internet.

Thank you for all.

1 Accepted Solution

Accepted Solutions

Jon Marshall
Hall of Fame
Hall of Fame

You need to add routes for your 3550 vlans onto the router eg.

ip route 10.0.20.0 255.255.255.0 10.0.10.2

ip route 10.0.30.0 255.255.255.0 10.0.10.2

Jon

View solution in original post

3 Replies 3

Jon Marshall
Hall of Fame
Hall of Fame

You need to add routes for your 3550 vlans onto the router eg.

ip route 10.0.20.0 255.255.255.0 10.0.10.2

ip route 10.0.30.0 255.255.255.0 10.0.10.2

Jon

Jerry Ye
Cisco Employee
Cisco Employee

Does your router has routes point back to 10.10.10.2 for 10.10.20.0/24 (VLAN20) and 10.10.30.0/24 (VLAN30)?

Regards,

jerry

I don't Have any route on my Router, so I think that these are the Problems such as you said guys I have to add a route in my Router for this Vlans.
I will configure these route and try ping again.
Thank you Jon Marshal and Jeye for all your Help.
Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: