Vm connectivity between two networks

asked 2015-07-15 06:17:27 -0600

anonymous user



I'm using Openstack Icehouse release and I'm able to launch VM successfully.I'm associating the two VM with two different networks i.e private and public created using below comands..

neutron net-create private    |grep id|head -1|awk '{print $4}' > network_id
neutron subnet-create $(cat /home/root/network_id)

neutron net-create public |grep id|head -1|awk '{print $4}' > network_id
neutron subnet-create $(cat /home/root/network_id)  --enable-dhcp False

After launching the VM,the output of ovs-vsctl show is as follows..

Bridge br-int
        Port "qvo17b76566-a6"
            tag: 2
            Interface "qvo17b76566-a6"
        Port "tap133738f9-a5"
            tag: 1
            Interface "tap133738f9-a5"
                type: internal
        Port "qvof07cc9dc-c1"
            tag: 1
            Interface "qvof07cc9dc-c1"
        Port "fm1-mac3"

The two VM interfaces are in different vlan tag.
How can I configure the VM interfaces from two different network in same vlan tag in OVS?
Please let me know regarding this.

Abhishek Jain
edit retag flag offensive close merge delete