[ovs-discuss] ovn: is there any use case of connecting two logical routers ?

Ben Pfaff blp at ovn.org
Fri Mar 25 15:39:40 UTC 2016


On Fri, Mar 25, 2016 at 04:46:24PM +0800, Zang MingJie wrote:
> From document:
> 
>   To connect one logical router to another.  This  requires
>   a  pair of logical router ports, each connected to a dif‐
>   ferent router.  Each router port in  the  pair  specifies
>   the  other  in its peer column.  No Logical_Switch refers
>   to the router port.
> 
> In my understanding, it connect two routers, and merge there routing table.
> eg, if there are two routers:
> 
> r1 attached to net1 and net2
> r2 attached to net3 and net4
> 
> if I connect r1 and r2, then the four networks are all connect.
> 
> But what if I create a single route with all four network attach to it ?
> 
> Is there any different between these two scenario ? is there any benefit of
> using two routers ?

Many scenarios can be implemented either way.  The benefit is to allow a
network to be modeled in the way preferred by the user.



More information about the discuss mailing list