- Posts: 42
- Thank you received: 0
Inter VLAN communcation
16 years 8 months ago #25555
by prabhuk
Inter VLAN communcation was created 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
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
16 years 8 months ago #25557
by Chojin
CCNA / CCNP / CCNA - Security / CCIP / Prince2 / Checkpoint CCSA
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
16 years 8 months ago #25565
by S0lo
Studying CCNP...
Ammar Muqaddas
Forum Moderator
www.firewall.cx
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 ?
May I ask what are you looking for ?
Studying CCNP...
Ammar Muqaddas
Forum Moderator
www.firewall.cx
16 years 8 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
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
16 years 8 months ago #25583
by skylimit
"...you are never too old to learn" anon
Replied by skylimit on topic Re: Inter VLAN communcation
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!
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
16 years 8 months ago #25584
by jstretch
Replied by jstretch on topic Re: Inter VLAN communcation
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.
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.132 seconds