[Openstack] Openstack Kilo Vxlan tunnel single NIC setup
Andreas Scheuring
scheuran at linux.vnet.ibm.com
Wed Oct 14 09:26:48 UTC 2015
Amir,
I haven't tried such a configuration so far - but I don't think it will
work.
So your goal is to get it running with a single NIC. So what should work
is the following setup:
Use br-ex as external bridge and plug your eth interface into it (Note
this will break IP connection, so better you log in via a separate
interface/mgmt console!! Otherwise you might be locked out!). Then
configure the ip that was on your eth interface on your br-ex (you will
get back ip connectivity via this ip). With this setup
- your tenant networks uses tunneling, while the ip used for it is the
br-ex IP
- your public network will be a flat network
Alternative, if you want a public vlan network:
- create a vlan device on top of your eth interface
- plug vlan device into br-ex
-> external network will do vlan and your tunnels will use your
interface ip
If you want a vxlan external network, you could do it similar like with
vlan, but using a vxlan device instead. I haven't tried configuring the
openvswitch external bridge for vxlan via Openstack so far.
Does that help?
--
Andreas
(IRC: scheuran)
On Mi, 2015-10-14 at 09:38 +0200, Amir Huskić wrote:
> Hello,
>
>
> there is also my ml2_conf.ini
> file: https://dl.dropboxusercontent.com/u/4298410/ml2_conf.ini
>
>
> Could problem be related to single NIC installation? Is it possible to
> have same interface for bridge mappings and also for tunnel bridge?
> Example below:
>
>
> bridge_mappings = public:br-ex
> integration bridge = br-int
> tunnel bridge = br-ex
>
>
> Thank you.
> Regards,
> Amir
>
>
>
> On Mon, Oct 12, 2015 at 3:53 PM, Amir Huskić <amir.huskic at gmail.com>
> wrote:
> Hi all,
>
>
> I'm trying to setup up Openstack test lab.
>
>
> I deployed Openstack Kilo (Devstack) on PC running Ubuntu LTS
> 14.02 with single NIC.
> Tenants are isolated with vxlan networks. I can ping from VMs
> to external network PCs, SSH login from external PCs to
> tenants VMs floating IP address, etc.
>
>
> I would like also to connect tenant VMs to external network
> physical Linux host using vxlan tunnel and have L2
> connectivity between VM and physical Linux host over L3
> network.
>
>
> Vxlan interface on Linux physical host is up and running. When
> I am trying to ping from Linux physical host to Openstack VM
> (not floating IP) using same subnet L2 address (example ping
> from 192.168.10.10 to 192.168.10.11) UDP packets on port 8472
> are coming to Openstack br-ex interface with ARP request.
>
>
> Problem is that I can't setup vxlan tunnel on Openstack.
> Command "sudo ovs-vsctl show" doesn't show any vxlan tunnels.
> Also when I try to ping from VM to Linux host using L2 IP
> address (ping from 192.168.10.11 to 192.168.10.10) tcpdump on
> br-ex doesn't show anything.
>
>
> My ml2_conf.ini files is configured following this guide:
> http://www.opencloudblog.com/?p=300
>
>
> Thanks in advance for your help,
>
>
> Regards,
> Amir
>
>
> _______________________________________________
> Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
> Post to : openstack at lists.openstack.org
> Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
More information about the Openstack
mailing list