VLAN Trunking 1admin | Saturday, June 12th, 2010 | 3 Comments »
In another lab created by Dave Hucaby, we look at playing with VLAN trunking and mixing and matching native vlan’s and what the effects of doing so are. As always, you can view his original lab here:
Here is his original question:
Here’s a new scenario to think about. I haven’t built it in a lab yet, but I think it might be interesting and it just might work.
Switches A and B are connected by a single link. The configurations for each end of the link are shown in the figure below. PCs A, B, and C are connected to access interfaces assigned to VLANs 10, 20, and 30, respectively, on Switch A. PC X is connected to an interface on Switch B, which has the interface configuration shown.
And here are the available options:
Assuming that the switches are configured for Layer 2 traffic only, which one of the following can PC X reach?
A. PC A
B. PC B
C. PC C
D. None of the above
Again, since I don’t have the exact equipment in his scenario, I’ve modified the lab just a tad bit. Here’s what we’ll be working with:
The first thing that I did was ping PC A, B and C from PC X with everyone on the same VLAN(and everyone with the same IP Addressing scheme). Which by default is VLAN 1. This is to simply test connectivity before moving onto the actual configuration of the switches. Ping tests confirmed that PC X is able to communicate with PC A, B and C.
Since the diagram already includes the configuration info, we won’t repeat it again here.
As soon as I started configuring the switchports on both switches (2950 and 2960) for trunking or access I began receiving native VLAN mismatch errors.
*Mar 1 02:56:38.309: %CDP-4-NATIVE_VLAN_MISMATCH: Native VLAN mismatch discovered on GigabitEthernet0/1 (20), with SW-2950-24 FastEthernet0/1 (10).
02:50:34: %CDP-4-NATIVE_VLAN_MISMATCH: Native VLAN mismatch discovered on FastEthernet0/1 (10), with SW-2960G-24 GigabitEthernet0/1 (20).
07:25:31: %SPANTREE-2-RECV_PVID_ERR: Received BPDU with inconsistent peer vlan id 20 on FastEthernet0/1 VLAN10.
07:25:31: %SPANTREE-2-BLOCK_PVID_PEER: Blocking FastEthernet0/1 on VLAN0020. Inconsistent peer vlan.
07:25:31: %SPANTREE-2-BLOCK_PVID_LOCAL: Blocking FastEthernet0/1 on VLAN0010. Inconsistent local vlan.
Once all the switchports and trunking have been confgured. I attempted to ping PC’s A, B and C with no success from PC X.
I’m not entirely convinced that “D: None of the Above” is suppose to be the correct answer. I do know that you can have native vlan mismatches and still have traffic forwarded across the switches(if you’re using 802.1Q, not ISL). If this was the intended purpose, then I was unable to configure this lab properly.
I am open to suggestions!