[ovs-discuss] How to connect VMs to an open vswitch ?

Justin Pettit jpettit at nicira.com
Fri Apr 18 06:14:46 UTC 2014


On April 17, 2014 at 4:29:10 AM, 许志峰 (zhifengxucs at gmail.com) wrote:
> Host OS=Ubuntu 12.04, with openvswitch installed.
> I create two VMs with VIrtualBox, each VM has two vNICs, eth0 for NAT and
> eth1 in Host-Only mode.
> Host Machine has a "vboxnet0" with ip 192.168.56.1. eth1 of VM1 and VM2 has
> ip 192.168.56.101 and 192.168.56.102, separately.
> I intend to connect this two VMs to the OVS and ping VM2 from VM1 through
> the OVS, what should i do?

If you create a bridge and attach the VM's eth1 VIFs in the host, I'd expect it to work.  You haven't really provided enough information about what you've tried and what happened.

--Justin






More information about the discuss mailing list