01-17-2024 01:34 PM
I've heard that to make communication between two vlans possible, you need a layer 3 device.
Suppose that I connect two layer 2 switches via trunk link passing two vlans 10 and 20 on it. Both switches have some devices of both vlans connected to it's interfaces. If I configure int vlan 10 and int vlan 20 ip addresses on both switches, then I will be able to ping every end host devices from any end host device regardless of their vlan subnet. So, isn't this an example of inter vlan communication where I didn't use layer 3 device? So, why we need layer 3 device to make two vlans communicate with each other? I tested this setup via packet tracer.
01-17-2024 02:31 PM
What PT switch model did you use?
Could you provide the PT file where this worked for you?
01-17-2024 02:40 PM
one Q
what is native in both SW are it same or not ?
MHM
01-17-2024 11:03 PM
Hello, I wasn't able to attach packet tracer file here. Hence, I'm providing screenshot images below.
Both switches model is WS-C2960-24TT-L
PC0 IP: 10.1.1.1/24
PC1 IP: 10.1.1.2/24
PC2 IP: 10.1.1.3/24
PC3 IP: 10.1.1.4/24
Laptop0 IP: 20.1.1.1/24
Laptop1 IP: 20.1.1.2/24
Laptop2 IP: 20.1.1.3/24
Laptop3 IP: 20.1.1.4/24
01-18-2024 03:24 AM
You should be able to attach PT file if you Zip it first.
01-17-2024 03:18 PM
Hello @Sagar4
If I configure int vlan 10 and int vlan 20 ip addresses on both switches...
So Switches are no more L2 only no?
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