VLAN – Simple Question About VLAN Switching

switchingvlan

Well, some days ago I had a interview for a IT networking job.

One of the questions was about switching, and says the following:

We have a computer A connected to a switch configured in VLAN2, and computer B connected to other switch configured with VLAN3. Considering the link between switches as access mode, has the computers A and B connection trough ping?

Connection

As I think the answer is NO, because if we are using dot1Q we need at least one router to join different VLANs (VLAN2 VLAN3). Am I wrong?

Best Answer

In this case, you are wrong. Since the link between the two switches is an access port, there is no VLAN tagging involved.

Think of it this way, switch two is a unconfigured switch (i.e. operating like a dumb switch) so all ports are in VLAN 1. This would still provide connectivity as well.