[ovs-discuss] OpenVswitch first try

Ben Pfaff blp at nicira.com
Tue Jun 1 16:40:33 UTC 2010


On Tue, Jun 01, 2010 at 04:26:14PM +0300, Nikos Bregiannis wrote:
> I am new to this openvswitch subject and network (still studying) and I'd
> like to make some questions.
> First of all i want to make a topology of 3 VM's with the one take the role
> of the openvswitch.
> I want the other two to communicate through the open switch.
> 
> Do I have to meet any kind of requirements with my hardware ?
> My question is at the network tab of virtualbox what option should i try .
> Internal network ? Which adapter should i use ?
> I made a bridge to the Vswitch machine and added two interfaces. How can i
> now connect the two virtual machines. Any help would be appreciated.

I'm not sure that this kind of setup is going to be very interesting.
It will not use Open vSwitch to connect the other two virtual machines
directly: VirtualBox will still have its own bridge implementation
connecting the two "end host" VMs to your Open vSwitch VM.

However, it should at least work.  I have not used VirtualBox, but I
suspect that you want to do this:

        * Configure one internal network and add a virtual NIC for it to
          end host VM 1 and to the OVS VM.

        * Configure a second internal network and add a virtual NIC for
          it to end host VM 2 and to the OVS VM.

        * Set up OVS to bridge the two virtual NICs that you just added
          to it.

I don't know what adapters VirtualBox offers, so I don't know what
advice to give.  Generally OVS should work OK with any Linux-supported
network adapter, unless it has serious bugs.




More information about the discuss mailing list