Solved

Cannot ping layer 3 switch

Posted on 2014-03-26
8
717 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
Zoho SalesIQ

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

 
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

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

This tutorial will go through the steps required to write a script that will back up the configuration settings of a HP-ProCurve switch. You will need to get the following things to follow this tutorial: Telnet Scripting Tool e.g. TST10.exe …
Tired of waiting for your show or movie to load?  Are buffering issues a constant problem with your internet connection?  Check this article out to see if these simple adjustments are the solution for you.
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…

758 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

16 Experts available now in Live!

Get 1:1 Help Now