cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
493
Views
0
Helpful
6
Replies

Unable to ping different vlan

mfalfirasi
Level 1
Level 1

Hi, there

I'm having trouble to ping PCs from different vlan (ex. PC1-IT to PC1-Marketing) in simulation that i attach the file below

It would be helpful to tell me what should i do & the command line needed for it

 

6 Replies 6

mfalfirasi
Level 1
Level 1
 

Royalty
Level 1
Level 1

Hi @mfalfirasi,

PC1-IT is in the IT VLAN (VLAN 11), and PC1-Marketing is in the Marketing VLAN (VLAN 12). They’re in different VLANs and subnets and this means their traffic needs to be routed. Your lab is already setup to handle this through the SVIs configured on the Layer 3 switch (SWML). If you need to find the IP address of the SVI for VLAN 11 and VLAN 12 you can do so by accessing the CLI terminal of the SWML switch and using command 'show ip interface brief' from privileged exec / enable mode.

You're missing the default gateway configuration on the PCs. The PCs don’t know where to send traffic destined for other subnets. It's due to how the binary AND operation works and general operations of IP.

This is what you need to do:

  • Set the default gateway on PC1-IT to the IP address of the corresponding VLAN's SVI. The SVI is configured on the switch 'SWML'

  • Set the default gateway on PC1-Marketing to the IP address of the corresponding VLAN's SVI. The SVI is configured on the switch 'SWML'

This needs to be done under the GUI on the Desktop PCs. Specifically, go to Desktop > IP Configuration tab on each Desktop PC

The result should be that the MLS (Layer 3 switch) called SWML can handle inter-VLAN routing which is needed for communication to work.

Let me know if that works or you need further help. I have been a little vague in the steps but hopefully is enough for you to figure out the rest. If not, let me know and can give you more specific instructions.

Hope that helps!

ahmed-magdy
Level 1
Level 1

Hi!
Before jumping into solutions — can you confirm if you're using a router (like 2911 or 1941) or a Layer 3 switch for inter-VLAN routing?

The configuration will be different based on that:

  • If you're using a router, you'll need Router-on-a-Stick.

  • If you're using a Layer 3 switch, you can configure SVIs (Switch Virtual Interfaces) and enable IP routing.

Let me know which setup you're working with, and I’ll guide you step by step

 


@ahmed-magdy wrote:

Hi!
Before jumping into solutions — can you confirm if you're using a router (like 2911 or 1941) or a Layer 3 switch for inter-VLAN routing?

The configuration will be different based on that:

  • If you're using a router, you'll need Router-on-a-Stick.

  • If you're using a Layer 3 switch, you can configure SVIs (Switch Virtual Interfaces) and enable IP routing.

Let me know which setup you're working with, and I’ll guide you step by step


Did you look at OP's later reply providing a Packet Tracer file?

No, I’ve just seen it now. Thanks for pointing it out

Did you look at OP's later reply providing a Packet Tracer file?