[Openstack] Vlans and openstack.

Matt Joyce matt.joyce at cloudscaling.com
Wed Dec 12 19:06:43 UTC 2012


Check your switch.

Make sure the ports are trunked.  Make sure they have access to the vlans
desired.  All ports.


On Wed, Dec 12, 2012 at 10:33 AM, Andrew Holway <a.holway at syseleven.de>wrote:

> 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 at 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 at 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 at 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
>
>
>
>
>
>
>
>
>
>
> _______________________________________________
> Mailing list: https://launchpad.net/~openstack
> Post to     : openstack at lists.launchpad.net
> Unsubscribe : https://launchpad.net/~openstack
> More help   : https://help.launchpad.net/ListHelp
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20121212/942eab67/attachment.html>


More information about the Openstack mailing list