cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Bookmark
|
Subscribe
|
2092
Views
0
Helpful
4
Replies

Ping from a Switch with Multiple vlans and Management VLan

jwnetworker
Level 1
Level 1

If we have a switch that has the following vlans

 

10-Data

20-Vlan

192 -Management

 

Let say we are ssh connected to this Layer 2 switch using the management vlan 192.168.0.2 and we try to ping a server on the 10.10.10.50 address.

 

Does the ping from within the switch Exit through one of the VLANS?  Im confused with this. :(

 

 

1 Accepted Solution

Accepted Solutions

Hi @jwnetworker 

 

If you have a vlan interface enabled on the switch, then the packets will exit the switch with the tag of that interface.

The L2 switches allow only one vlan interface to be enabled at a time, which is used for administration.
The L3 switches allow several vlan interfaces to be enabled simultaneously, which are used as the vlan gateway.

 

Regards

View solution in original post

4 Replies 4

balaji.bandi
Hall of Fame
Hall of Fame

If this is L2 switch, you will have the only route back out to your Management network 192 -Management, so your ping got to L3 Gateway of  Management,  if that management device aware of routes for Vlan 10 and Vvlan 20, you able to ping.

 

 

 

BB

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

How to Ask The Cisco Community for Help

So does this mean the packet exits the switch on the VLAN 192?  Like the packet gets tagged with vlan 192?

Hi @jwnetworker 

 

If you have a vlan interface enabled on the switch, then the packets will exit the switch with the tag of that interface.

The L2 switches allow only one vlan interface to be enabled at a time, which is used for administration.
The L3 switches allow several vlan interfaces to be enabled simultaneously, which are used as the vlan gateway.

 

Regards

yes correct, as per the information you have provided, you able to login to switch using SSH which means there is L3 interface that exists and has a route.

 

BB

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

How to Ask The Cisco Community for Help