openstack team mailing list archive
-
openstack team
-
Mailing list archive
-
Message #19393
Vlans and openstack.
Hi,
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?
Thanks,
Andrew
[root@blade02 ~]# nova-manage network list
id IPv4 IPv6 start address DNS1 DNS2 VlanID project uuid
1 10.142.10.0/26 None 10.142.10.3 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@blade03 instance-00000011]# ifconfig eth0.143
eth0.143 Link encap:Ethernet HWaddr 00:1A:64:5D:10:98
inet addr:10.145.0.1 Bcast:10.145.255.255 Mask:255.255.0.0
inet6 addr: fe80::21a:64ff:fe5d:1098/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
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@blade03 instance-00000011]# ping 10.145.0.1
PING 10.145.0.1 (10.145.0.1) 56(84) bytes of data.
64 bytes from 10.145.0.1: icmp_seq=1 ttl=64 time=0.031 ms
Follow ups