Skip to main content

Inter VLAN communcation

More
16 years 7 months ago #25555 by prabhuk
Hi all,

As per my knowledge, for inter VLAN communication a router or L 3 switch is must....?

Is there any other way for Inter VLAN communication without router or L3 switch...?

Thanks
prabhu
More
16 years 7 months ago #25557 by Chojin
Replied by Chojin on topic Re: Inter VLAN communcation
Indeed, for inter-VLAN communication Layer-3 routing is necessary

CCNA / CCNP / CCNA - Security / CCIP / Prince2 / Checkpoint CCSA
More
16 years 7 months ago #25565 by S0lo
Replied by S0lo on topic Re: Inter VLAN communcation
Yup, I second Chojin's, you need L3 routing.

May I ask what are you looking for ?

Studying CCNP...

Ammar Muqaddas
Forum Moderator
www.firewall.cx
More
16 years 7 months ago #25582 by prabhuk
Replied by prabhuk on topic Re: Inter VLAN communcation
Hi solo,

I have one senario.

There are two switches connected by cross cable. All the switch ports are in access mode.

In the Switch1 the first port and the port connected to next switch are in VLAN 2.

In the Swtich 2 the last port and the port connected to the switch1 are in VLAN 10.

Now one PC1 has connected to 1st port of the Switch1(VLAN 2).

PC2 has connected to the last port of the Switch2 that is associated VLAN10.

Now the questions are

1) Can PC1 ping to PC2 ..?
2) If not ,in which port the packet will drop...?

Note that all the ports in both switches are in acces mode.

Thanks
Prabhu k
More
16 years 7 months ago #25583 by skylimit
I'll have a go at your question...

Like others have mentioned you'll require a router preferably a 3550 to route between vlans 2 and 10 in order for PC1 and PC2 to ping each other. Also the ports to which the cross-over cable is connected on both switches MUST be configured as Trunk (switchport mode trunk) and not access.

Apparently you can have two NICs on one of the PCs/Server and configure them as default gateways for both Vlans. See the vlan tutorial on the website (classic solution).

Hope this helps!

"...you are never too old to learn" anon
More
16 years 7 months ago #25584 by jstretch
Although this isn't a recommended setup, it will work. Here's why.

When a frame from PC1 enters SW1, it is marked as VLAN 2. The switch compares the destination MAC to its CAM and forwards it out the appropriate VLAN 2 port facing SW2. The frame isn't tagged, because the port is configured as an access port.

SW2 receives this untagged frame on its access port, and marks it as VLAN 10. It performs a CAM lookup and forwards the frame out the appropriate VLAN 10 port.

Remember, VLANs are only locally significant to a switch.
Time to create page: 0.157 seconds