[ovs-discuss] Creating a tunnel between two hosts/VMs
Ben Pfaff
blp at nicira.com
Thu Sep 22 16:44:57 UTC 2011
On Thu, Sep 22, 2011 at 12:35:16PM +0500, faiza anwar wrote:
> I want to create an tunnel between two virtual machines using openvswitch
> for experimentation. I plan to install openvswitch on both the virtual
> machines and create a tunnel on both of them like it was done in a previous
> thread.
>
> ovs-vsctl create interface name=gre0 type=gre option:remote_p=x.x.x.x
> ovs-vsctl create port name=gre0 interfaces=[ ]
> ovs-vsctl add bridge br0 ports [ ]
More like this:
ovs-vsctl add-br br0
ovs-vsctl add-port br0 gre0 -- set interface gre0 type=gre options:remote_ip=x.x.x.x
> And I will bridge the created machines with the eth0 interface of my
> physical machine. Is this configuration correct? do I need any further
> configuration on the host?
I don't think any further configuration is necessary.
> And what will be the difference in configuration
> if i want to create an encrypted IPsec tunnel between two virtual machines?
The main difference is configuring IPsec itself. I know little about
that.
More information about the discuss
mailing list