06-18-2010 09:57 AM - edited 03-04-2019 08:49 AM
Hi,
I have a couple of questions about VLAN.
1. Based in the following scenario:
Switch A ---Trunk---- Switch B ----Trunk------ Switch C
If I create a VLAN in swithes A and C (for reference VLAN 100), but I dont create it in Switch B, is it possible to communicate the hosts connected on Switch A in vlan 100 with the hosts connected to Vlan 100 in Switch B ?????
2. I know that the ethernet interfaces are broadcast. I supose that the VLAN interface are too, but I would like a second opinion about that.
Thanks for your comments,
06-22-2010 07:04 AM
Jon,
Better to avoid too much of Cisco here (referring to VTP)
Once the trunk is up, it will by default carry all Vlans (whether or not its accessed at the switchport)
i.e SW1--SW2--SW3--SW4
Host on Vlan 10 at SW1 can contact host on SW4 in the same Vlan 10 if all the links between the switches trunk.
Just to simplify that VTP works over trunks and its for ease of administration and not required real communication.
06-25-2010 01:49 AM
tharakabraham wrote:
Jon,
Better to avoid too much of Cisco here (referring to VTP)
Once the trunk is up, it will by default carry all Vlans (whether or not its accessed at the switchport)
i.e SW1--SW2--SW3--SW4
Host on Vlan 10 at SW1 can contact host on SW4 in the same Vlan 10 if all the links between the switches trunk.
Just to simplify that VTP works over trunks and its for ease of administration and not required real communication.
Tharak
This is where i am slightly confused.
If you look at the output from Dasuntha for all 3 switches you will see that switch B is not forwarding vlan 100 on it's trunk link to switch C. It can't be forwarding it because there is no vlan 100.
When the frame arrives from switch A at switch B on the trunk link the 802.1q tag is stripped from the frame and this tells switch B that the frame belongs to vlan 100. Switch B should then do a lookup in it's cam table and see that the destination mac-address is reachable via the trunk link connection to switch C and is in vlan 100. So the frame then has an 802.1q tag added for vlan 100 and forwarded to C. But if switch B doesn't have vlan 100 configured how does it know that it needs to add an 802.1q tag for vlan 100.
My understanding was that the mac-address table records not only the port but also the vlan ie. a switch has a mac-address table per vlan but if you haven't configured vlan 100 it won't have a mac-address table for this vlan and so switch B will not know that the frame should have a vlan 100 tag added.
So how does switch B -
1) know to add an 802.1q tag for vlan 100 before transmitting the frame to switch C
2) forward the frame in vlan 100 on the trunk link when vlan 100 is not active on the trunk link.
Note i'm not trying to prove anyone wrong here, i am simply trying to get a full understanding of how this works.
Jon
06-20-2010 11:35 PM
Hi Douglas,
Can u resend your question clearly?
06-21-2010 08:43 PM
HI Narendrakumar,
In the actual question, Douglas is not talking about inter vlan communication.
He wants to know if the traffic from switch A is going to switch C through switch B for vlan 100. And vlan 100 is not configured in switch B.
Pls find below the configs you requested. Note that VTP is not configured.
Switch A
06-22-2010 02:58 AM
VLAN 100 is not configured in SWITCH B, So Put in VTP mode as transparent, Switch A will be configured in VTP mode as Server, and Switch C is configured in VTP mode as Client.
06-22-2010 06:07 AM
Hi Thiruma,
I think you didnt understood the question.
No need to configure Vlan 100 in Switch B. That's what the main question asked about.
VLAN 100 traffic can pass without any problem to switch C.
So, clienst in VLAN 100 attached to Switch A can communicate with the clients in Vlan 100 in Switch C.
Hope you understand question & answar.
Regards,
Dasuntha
06-23-2010 06:01 AM
Hi Dhasundha,
I understood your question Properly,
In switch B, We don't need to configure Vlan 100, jus configure vtp mode as transparent, Switch A as vtp mode server, switch c as vtp mode client, Configure trunk links b/w Switch A & B & C.
Thanks,
Thiruma
06-22-2010 07:19 PM
06-22-2010 08:58 PM
Hi Narendrakumar,
As I informed in my answars, we need to configure the trunk links properly.
I checked your file & the trunk links were not properly configured.
So, I configured it for you & it's working fine now.
Now both hosts can communicate with each other.
I attached the fixed file for you.
Then you can see that it's working fine.
Regards,
Dasuntha
06-23-2010 09:47 AM
Dear Dasuntha,
Thankyou very much for your reply. I have checked the file you have sent me. Even in that the host arent able to reach eachother. I guess, there is some problem in the packettracer installed in my system (SUSE LINUX) itself. Not sure though.
In the file that i have posted, the trunks exists. Eventhough i have specified "switchport mode trunk" only in one end of any switches, the trunks had formed sucessfully. Because in my file the switchports are in "Dynamic Auto" mode by default. So specifying this command in one end brings the trunk up.
Anyway, I dont have real switches to check this. I appreciate your efforts towards answering this question and i have rated your posts.
Happy Networking !!
Rgds,
Narendrakumar B
06-23-2010 08:14 PM
Hi Narendrakumar,
May be the problem is coming from the packet traser. a bug. I also noticed lots of bug in the previous versions.
I m using Packet Traser 5.3.
I hope you're also using the same. Otherwise download 5.3 or I can give you a link to download.
Best Regards,
Dasuntha
06-24-2010 08:58 AM
Yes, That should be it. Because conceptually what u mean is right. I use PTv5.1I would appreciate if you could mail the link for PTv5.3 to narendrakumar1987in@gmail.com.
THanks in advance.
Happy Networking !!
Narendrakumar B
06-24-2010 09:16 AM
Hi All,
I hope you have heard about VTP Pruning:
"VTP Pruning allows switches to prevent broadcast and unknown unicast from flowing to switches that do not have any ports in that VLAN"
In the example: SwitchB does not have port for VLAN 100, that's why, there will not be communication between SwitchA and SwitchC.
Action: Create and assign VLAN100 on trunk ports on SwitchB.
Hope it will resolve the issue.
Thanks,
Sha
06-24-2010 08:11 PM
Hi Shahid,
No need to configure vlan 100 in switch B.
And switch A can communicate with Switch C.
And VTP Pruning we have to enable manually..
Regards,
Dasuntha
06-24-2010 08:17 PM
Hi Narendrakumar,
Download PT 5.3 from below link.
http://hotfile.com/dl/40746344/98501c6/PacketTracer53_setup.rar.html
Regards,
Dasuntha
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