06-14-2025 04:14 AM
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
06-14-2025 04:17 AM
06-14-2025 10:13 AM - edited 06-14-2025 10:14 AM
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!
06-14-2025 12:11 PM
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
06-14-2025 01:38 PM
@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?
06-15-2025 01:52 AM
No, I’ve just seen it now. Thanks for pointing it out
06-15-2025 01:05 PM
Did you look at OP's later reply providing a Packet Tracer file?
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide