I've not used VLAN's with Cisco switches, so I could be wrong here..<div><br></div><div>switchport mode trunk</div><div>switchport trunk native vlan 1 (This is the vlan that un-tagged packets will go to..)<br clear="all">

switchport trunk allowed vlan 100-115 (Since you created 16 networks, they will be vlan's 100-115)</div><div><br>Thanks,<br>Kiall<br>
<br><br><div class="gmail_quote">2011/11/17 Miguel Alejandro González <span dir="ltr"><<a href="mailto:maggonzz@gmail.com">maggonzz@gmail.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

Hello<br><br>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<br><br>I have installed two nodes and my eth0 in both nodes goes to a cisco 2960 switch, to ports 1 and 3<br>



<br>I used this command to create the network:<br><pre><span>nova-manage network create --multi_host T --network_size 16 --num_networks 16 --bridge_interface eth0 --fixed_range_v4 <a href="http://172.16.0.0/12" target="_blank">172.16.0.0/12</a> --label internal<br>



<br></span></pre>Here's my setup<br><br>server1<br>nova (all)<br>glance<br>keystone<br>horizon<br><br>server2<br>nova(compute, volume and network)<br><br>The nodes show the vlan100 interface so I think so far the problem I'm having relies on the switch... maybe i haven't configured it correctly....<br>



<br>Here's an ifconfig: <a href="http://pastebin.com/A3Z3tJz2" target="_blank">http://pastebin.com/A3Z3tJz2</a><br><br>On the switch, I created vlan100 with a command like:<br>vlan 100 name cloud<br><br>Then configured the ports with:<br>



interface range fastethernet 0/1-4<br>switchport mode access vlan 100<br><br>This didn't work, so i was told i needed to enable Trunk mode. So I did with:<br>interface range fastethernet 0/1-4<br>switchport mode trunk<br>



switchport trunk native vlan 100<br><br>But somehow i think im doing something in the switch, so that's why I'm asking you guys<br><br>I hope you can help me...<br><br>Regards<br><br><br><br><br><br><br>
<br>_______________________________________________<br>
Mailing list: <a href="https://launchpad.net/~openstack" target="_blank">https://launchpad.net/~openstack</a><br>
Post to     : <a href="mailto:openstack@lists.launchpad.net">openstack@lists.launchpad.net</a><br>
Unsubscribe : <a href="https://launchpad.net/~openstack" target="_blank">https://launchpad.net/~openstack</a><br>
More help   : <a href="https://help.launchpad.net/ListHelp" target="_blank">https://help.launchpad.net/ListHelp</a><br>
<br></blockquote></div><br></div>