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

ABDULHAMID NOOR hamsiery at yahoo.com
Fri Mar 9 17:48:38 PST 2012


Thanks Aimal Khan your suggestion works and the problem is solved.

Thanks all of you who participate

 > 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..
>     
>
>    
>
>   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/discuss/attachments/20120309/4c9f9458/attachment.htm>


More information about the discuss mailing list