[ovs-discuss] Creating a tunnel between two hosts/VMs

faiza anwar faiza.anwar07 at gmail.com
Thu Sep 22 21:57:33 UTC 2011


Thanks a lot. It worked.

On Thu, Sep 22, 2011 at 9:44 PM, Ben Pfaff <blp at nicira.com> wrote:

> 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.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://openvswitch.org/pipermail/ovs-discuss/attachments/20110923/e76d39d7/attachment.html>


More information about the discuss mailing list