[Openstack] Vlans and openstack.

Andrew Holway a.holway at syseleven.de
Wed Dec 12 18:33:02 UTC 2012


I have two hosts in my openstack setup: blade03 and blade04. I have set up my openstack with vlanned networking. The instances are being created on the specifed vlans correctly.

The problem is that I cannot ping instances on blade03 from blade04. I can ping blade04 instances from blade04. I do not expect to be able to ping blade03 instances because the nova network service is not running there.

I have experimented to make sure vlans are working on the switch. I created a new vlan interface on blade03 and blade04 and pinged between them quite happily.

What am I missing?



[root at blade02 ~]# nova-manage network list
id   	IPv4              	IPv6           	start address  	DNS1           	DNS2           	VlanID         	project        	uuid           
1    	None      	None           	None           	142            	88fe447d408d418baad31f681330a648	8ed0508f-d8bb-4845-8eea-ed7b12f61adc

Switch Config:

Current VLAN 142: 
    name "VLAN 142", ports INT11-INT14, enabled,
    Protocol- empty, 
    spanning tree 1
Current VLAN 143: 
    name "VLAN 143", ports INT11-INT14, enabled,
    Protocol- empty, 
    spanning tree 1

[root at blade03 instance-00000011]# ifconfig eth0.143
eth0.143  Link encap:Ethernet  HWaddr 00:1A:64:5D:10:98  
          inet addr:  Bcast:  Mask:
          inet6 addr: fe80::21a:64ff:fe5d:1098/64 Scope:Link
          RX packets:9 errors:0 dropped:0 overruns:0 frame:0
          TX packets:101 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:672 (672.0 b)  TX bytes:8241 (8.0 KiB)

[root at blade03 instance-00000011]# ping
PING ( 56(84) bytes of data.
64 bytes from icmp_seq=1 ttl=64 time=0.031 ms

More information about the Openstack mailing list