Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Vm connectivity between two networks

 Hi

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) 192.168.2.0/24

neutron net-create public |grep id|head -1|awk '{print $4}' > network_id
neutron subnet-create $(cat /home/root/network_id) 100.100.100.0/24  --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.

Thanks
Abhishek Jain