[ovs-discuss] How to connect two open vswitch bridges in a single physical host ?

Aimal Khan aimal.khan at xflowresearch.com
Fri Mar 9 21:32:36 UTC 2012


Hi,

A similar question that was asked before on the mailing list (link below).
As far as I know the solution worked in that case; it might be useful for
you too,

http://www.mail-archive.com/discuss@openvswitch.org/msg02517.html

Regards,

On Fri, Mar 9, 2012 at 4:41 PM, ABDULHAMID NOOR <hamsiery at yahoo.com> wrote:

> Thanks for previous suggestion.
>
> No connectiving between VMs connected to differnet open vswitch bridges.
> I use patch port to connect two open vswitch bridges "switch1" & "switch2"
> using the following commad
>
> ovs-vsctl add-port switch1 patch_cable_12 -- set Interface patch_cable_12
> type=patch options:peer=patch_cable_21
>
> ovs-vsctl add-port switch2 patch_cable_21 -- set Interface patch_cable_21
> type=patch options:peer=patch_cable_12
>
> Now two VMs connected to switch1 and switch2 can't ping each other.
>
> Any suggestion please..
>
>
>   *From:* ABDULHAMID NOOR <hamsiery at yahoo.com>
> *To:* "discuss at openvswitch.org" <discuss at openvswitch.org>
> *Sent:* Friday, March 9, 2012 3:11 AM
> *Subject:* [ovs-discuss] How to connect two open vswitch bridges in a
> single physical host ?
>
>   Dear All,
>                  I want to create three open vswitches to connect in a
> circle to evaluate STP protcol. I want to do this on a single physical
> host. I am using Virtual Box on Ubuntu 10.10.
>
> How to connect two open vswitch togather? I create TUN interface using the
> ip tuntap command, but when I add the same TUN interface to the second
> switch, I got the error: cannot create a port named vmif_sw12 because a
> port named vmif_sw12 already exists on bridge switch1. It does not allow
> to add that TUN interface to the second switch. Please suggest any solution.
>
> Thanks in advance....
>
> ---------------------
> Best Regards
>
> Abdul Hameed
>
> _______________________________________________
> discuss mailing list
> discuss at openvswitch.org
> http://openvswitch.org/mailman/listinfo/discuss
>
>
>
> _______________________________________________
> discuss mailing list
> discuss at openvswitch.org
> http://openvswitch.org/mailman/listinfo/discuss
>
>


-- 
Aimal Khan
Development Engineer, xFlow Research
http://xflowresearch.com/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://openvswitch.org/pipermail/ovs-discuss/attachments/20120310/f91e4d39/attachment.html>


More information about the discuss mailing list