PDA

View Full Version : Inter-VLAN routing - page 575 and following


oflodnap
07-23-2008, 10:39 AM
Hi Todd,

I'm a bit confused by the examples in the Inter-VLAN Routing section of your book. The pages just before it mention that trunk links use VLAN 1 as the native VLAN. However, all of the examples for the Inter-VLAN Routing section have VLAN 1 assigned as an access port rather than a trunk port.

Am I missing something?

Thanks for your help.

lildeezul
07-23-2008, 11:20 AM
Switchports with Vlans assigned has to be a Access port. That way different devices can connect to thier associated Vlan.

to better explain.

By defualt Vlan 1 is the defualt and native Vlan. All switchports belong to Vlan 1

You configure Trunk ports if you are connected to another switch.

what lammle is tryin to say is that.
by defualt all trunk ports, carry all vlans by default...

But the ports that belong to vlans are access ports, so that devices can connect to them.

Trunk ports are for connecting to a switch.

Also when u create Vlans. IOS automatically makes the vlan port an access port.

int fa0/3
switchport mode access
access vlan 3

see that access command after the word mode. This means that the specific port is an access port

vidhya
11-25-2008, 02:47 AM
Hi
I have a doubt.Wat is the total number of Vlans that can be used.

lildeezul
11-26-2008, 12:13 AM
depends on what trunking protocol your are using.....

now heres where it gets tricky... dot1q supports 4096 vlans... nut you can configure 4094 vlans.... 802.1q automatically holds vlan 0 and 1....

yeah its gets a little tricky here.. but dot1q supports 4096 vlans

LT72884
06-25-2009, 07:11 PM
ANY vlan can be used as a native vlan using the switchport native command. For example. i do this all the time. i have like 5 switches and no hosts are in the vlan1. Vlan 2 is my native vlan. ports fa0/1 - 0/4 are in vlan 2. fa0/1 is a trunk port to another switch with the exact same configuration. I use vlan 1 as my managment vlan only. vlan1 gets an IP and thats it.