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?