Solved

Cannot ping layer 3 switch

Posted on 2014-03-26
8
742 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

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
 
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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
home router to use as repeater  (signal extender) 10 72
Network Vs Redistribute Connected Commands 3 64
Edge switch problems cisco 2960 25 53
Extended ping 6 31
Problem Description:   Couple of months ago we upgraded the ADSL line at our branch office from Home to Business line. The purpose of transforming the service to have static public IP’s. We were in need for public IP’s to publish our web resour…
Creating an OSPF network that automatically (dynamically) reroutes network traffic over other connections to prevent network downtime.
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…

730 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