2

If i have a VLAN (say VLAN 10) on switch 1 and again a VLAN 10 on switch 2. Can the hosts on these VLANS communicate with each other?

6

Yes, assuming the switches are connected together and VLAN 10 is forwarding on the connected ports. Both ports have to be configured the same, so that VLAN 10 is either tagged on both or untagged (native) on both.

  • May also be helpful to mention this is why documentation of what VLAN's carry what meanings are important: misconfiguration can have serious security consequences. (Naming, as an example, is extremely important.) – Der Kommissar Jan 3 '18 at 17:13
0

yes, however they must be conected with a trunk link and allowed the same vlan's, don't forget to set the link as trunk

  • 3
    They don't have to be trunks. Consider an access port set to vlan 10 on both switches. – Ron Trunk Jan 3 '18 at 17:29
  • XD cisco cries right now, but what happened to good practices and recommendations? – Alejandro Teran Jan 3 '18 at 17:41
  • I understand what you're trying to say, but it's not a universal rule. And especially for a student who is trying to learn the concept, it's more important that they understand when tagging matters and when it doesn't. – Ron Trunk Jan 3 '18 at 18:29
  • Excuse me if I was rude, I just tried to teach the right way, how companies will demand it in the workplace – Alejandro Teran Jan 3 '18 at 18:33
  • It is certainly a best practice to connect switches with trunk links, even if there is only a single VLAN between them, but it is also not a requirement, and I see companies connect switches with access interfaces all the time. The most current best practice is to limit a VLAN to a single access switch, and never connect access switches to each other. – Ron Maupin Jan 3 '18 at 19:57

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.