[Openstack-operators] vlan setup and cisco switch

Lionel Porcheron lionel at alveonet.org
Thu Nov 17 14:02:59 UTC 2011


Hi Miguel,

On 11/17/2011 05:53 AM, Miguel Alejandro González wrote:
> Hello
>
> It's been a while since I configured a cisco switch myself. I'm
> wondering if you can help me... I'm trying to use vlan networking

[snip]


> On the switch, I created vlan100 with a command like:
> vlan 100 name cloud
>
> Then configured the ports with:
> interface range fastethernet 0/1-4
> switchport mode access vlan 100
>
> This didn't work, so i was told i needed to enable Trunk mode. So I did
> with:
> interface range fastethernet 0/1-4
> switchport mode trunk
> switchport trunk native vlan 100
>

Two first lines, are correct, the last line should be:
switchport trunk allowed vlan add 100

(native means, all non tagged traffic goes to vlan 100, you want to 
allow traffic from vlan 100 tagged by your compute node).

Cheers,

Lionel



More information about the Openstack-operators mailing list