Hi guys, I am playing around with my home CCNA lab and want to set up some VLANS.
I am using a 2950 switch and a 2501 router. My question here is, do I simply create a trunk on the port that connects the switch to the router and add the VLAN traffic over that trunk?
switchport mode trunk
switchport trunk encapsulation dot1q
switchport trunk allowed vlan 1 110
Where 1 is the native VLAN and 110 is a VLAN created using vlan database
Does this seem right? Do I need to allow native VLAN or is this allowed by default?
If I am trying to route between VLANS suing a single router as in this case, so I simply place an IP address on the router that covers all of the subnets that the VLANS are on? I tried to use ip address mask secondary on the E0 interface on the router but that did not work. Hope that makes sense?
Your biggest issue is that the 2501 router does not support trunking on the Ethernet 0 interface. So this experiment with multiple VLANs will not work (unless you change equipment).
If you create multiple VLANs on the 2950 (which it certainly can do), and if you create a trunk on the 2950 to carry the VLANs, and if you have a router that supports trunking, then on the router you would create multiple subinterfaces on its LAN interface, and you would assign an IP address on each subinterface which would be the subnet for that VLAN.
Thanks Rick, yes that makes sense, so if I had a router capable of trunking, and configured multiple sub interafces, then the commands above is all I need to do? In particular the native VLAN, is that allowed by default?
We are pleased to announce availability of Beta software for 16.6.3.
16.6.3 will be the second rebuild on the 16.6 release train targeted
towards Catalyst 9500/9400/9300/3850/3650 switching platforms. We are
looking for early feedback from customers befor...
Introduction Featured Speakers Luis Espejel is the Telecommunications
Manager of IENova, an Oil & Gas company. Currently he works with Cisco
IOS® and Cisco IOS XE platforms, and NX to some extent. He has also
worked as a Senior Engineer with the Routing P...
In this session you can learn more about Layer 3 multicast and the best
practices to identify possible threats and take security measures. It
provides an overview of basic multicast, the best security practices for
use of this technology, and recommendati...