Solved

Cannot ping layer 3 switch

Posted on 2014-03-26
8
726 Views
Last Modified: 2014-04-19
Hi Expert

The topology and config are below. R3 is layer 3 switch, R2 is layer 2 switch, and R1 is PC
R1(PC) can ping 12.0.0.2 and 12.0.0.3, but cannot ping 34.0.0.3. R2(layer 2 switch) can ping 34.0.0.3

Why cannot R1 ping 34.0.0.3 ? After I added command "ip routing" in R2, R2 became layer 3 switch and R3 can ping 34.0.0.3 Thank you

aa

===========================

R3#Show run

interface FastEthernet1/0
 switchport mode trunk
 no ip address
!
interface FastEthernet1/1
 switchport access vlan 40
 no ip address
!

!
interface Vlan10
 ip address 12.0.0.3 255.255.255.0
!
interface Vlan40
 ip address 34.0.0.3 255.255.255.0

==========================

R2#sh run

no ip routing
!
!
interface FastEthernet1/0
 switchport mode trunk
 no ip address
!
interface FastEthernet1/1
 switchport access vlan 10
 no ip address
!

!
interface Vlan10
 ip address 12.0.0.2 255.255.255.0
 no ip route-cache
!
!
interface Vlan40
 ip address 34.0.0.2 255.255.255.0
 no ip route-cache
!
ip default-gateway 34.0.0.3
no ip http server
ip classless

========================
R1(PC) ip address 12.0.0.1 255.255.255.0
0
Comment
Question by:EESky
  • 4
  • 4
8 Comments
 
LVL 11

Assisted Solution

by:Miftaul
Miftaul earned 500 total points
ID: 39958055
What is the default gateway of the pc
0
 

Author Comment

by:EESky
ID: 39958060
Thank you so much for your fast reply. and your question solved the problem.
0
 
LVL 11

Accepted Solution

by:
Miftaul earned 500 total points
ID: 39958074
Good that it worked.
0
 

Author Comment

by:EESky
ID: 39958893
If R1(PC) set default-gateway as 12.0.0.2, should the PC be able to ping 34.0.0.3 ?
0
Control application downtime with dependency maps

Visualize the interdependencies between application components better with Applications Manager's automated application discovery and dependency mapping feature. Resolve performance issues faster by quickly isolating problematic components.

 
LVL 11

Assisted Solution

by:Miftaul
Miftaul earned 500 total points
ID: 39959072
Yes, it will. Because once r2 SVI gets the packets, it forwards them to its default gateway R3, are intervlan is happening in R3.
0
 

Author Comment

by:EESky
ID: 39959092
Yes, I also think so. but in the previous test where I set default-gateway as 12.0.0.2 in PC, the PC could not ping 34.0.0.3. After you posted your first comment, I changed the default-gate to 34.0.0.3 or 34.0.0.2, and then the PC is able to ping 34.0.0.3

I tried these several time. and i got the same result. i do not know why
0
 
LVL 11

Assisted Solution

by:Miftaul
Miftaul earned 500 total points
ID: 39959139
Please recreate the issue and post the config, this time include the pc R1 config(gns3) as well.

It will work, thats for sure.
0
 

Author Comment

by:EESky
ID: 39959769
Thank you,
0

Featured Post

Zoho SalesIQ

Hassle-free live chat software re-imagined for business growth. 2 users, always free.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Connecting LAN to a new leased line 2 46
HSRP not working on N7K-c7018 3 44
Packet Tracer Router to Router 10 61
Connecting to CISCO 4402 WLC 3 11
I see many questions here on Experts Exchange regarding switch port configurations and trunks. This article is meant for beginners in the subject to help to get basic knowledge about Virtual Local Area Network (VLAN (http://en.wikipedia.org/wiki/Vir…
I have seen some questions on problems with SSH/telnet access to Cisco routers that may occur despite the fact that from a PC connected to your LAN, Internet connectivity is in place and users can access Internet sites without any issues.  There are…
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…

895 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now