cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
821
Views
5
Helpful
10
Replies

routing issue at Layer switches

interfacedy
Spotlight
Spotlight

Hi Please see below diagram. A2, A1 and B2 are L3 switches and B1 is a PC device. A2 and B2 are connected with interface ip addresses 192.168.1.1 and 2 respectively. The static route is configured at B2, but not at A2. Question is why devices B1 and B2 at vlan 20 can ping device at device at vlan 10? we understand vlan 10 cannot ping vlan 20 because no static route. Thank you

Capture.PNG

10 Replies 10

Giuseppe Larosa
Hall of Fame
Hall of Fame

Hello @interfacedy ,

the absence of  a specific route on swich A2 for returning traffic to subnet 10.20.20.0/24 can be "fixed" by a default static route

if A2 has

ip route 0.0.0.0 0.0.0.0 192.168.1.2

this would explain what you see.

 

Hope to help

Giuseppe

 

 

balaji.bandi
Hall of Fame
Hall of Fame

You need to route back from B2 to A1 (same way you did A2 to B2 )

 

or run any IGP protocol to exchange routes easy

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

Hello


@interfacedy wrote:

Question is why devices B1 and B2 at vlan 20 can ping device at device at vlan 10? we understand vlan 10 cannot ping vlan 20 because no static route.


I beleive B2 would be able reach either A1 and A2 to due to the fact that it having direclty connected interrface to A2 and a static route to A1 network.

 

However B1 WONT be able to ping either A1 or A2 from what you have stated and that is becasue as others have highliged A2 isnt aware of B1 network

 


Please rate and mark as an accepted solution if you have found any of the information provided useful.
This then could assist others on these forums to find a valuable answer and broadens the community’s global network.

Kind Regards
Paul

I think it complicate but 
Native VLAN is different in both SW, so arp broadcast is go from one SW to other through the mismatch Native VLAN, 
try make same native vlan in both SW and see the different.

@paul B2 shouldn't able to ping vlan10 because it has no return route. Why it is able to ping? Maybe something wrong

 As I mention before it complicate, so
are you not config default GW in PC ?
are you config different native VLAN in both SW ?
try  change 
1- config default GW in PC 
or 
2- config same native VLAN in both SW 
and see result.

@MHM Cisco World  native vlan has nothing to do with this - due to the fact the switch’s

show they are connected at layer 3


Please rate and mark as an accepted solution if you have found any of the information provided useful.
This then could assist others on these forums to find a valuable answer and broadens the community’s global network.

Kind Regards
Paul

Hello

i think you’ve misread  - I said B1 shouldn’t be able to ping and B2 should


Please rate and mark as an accepted solution if you have found any of the information provided useful.
This then could assist others on these forums to find a valuable answer and broadens the community’s global network.

Kind Regards
Paul

 

Assuming there is no NAT on B2 which is unlikely if they are L3 switches then yes. I agree, something seems to be setup incorrectly if B1 can ping a device in vlan 10. 

 

Jon

Hello @interfacedy ,

please can you post

 

show ip route

taken on switch A2.

 

The answer can be there.

if A2 and B2 are switches they should not support NAT .

 

Hope to help

Giuseppe

 

Review Cisco Networking for a $25 gift card