Message ID | 1520636245-4498-1-git-send-email-guru@ovn.org |
---|---|
State | Accepted |
Headers | show |
Series | [ovs-dev] ovn-nb: Document a load_balancer VIP requirement. | expand |
On Fri, Mar 09, 2018 at 02:57:25PM -0800, Gurucharan Shetty wrote: > When the Load_Balancer is added to the logical_switch, > the VIP has to be in a different subnet than the one used > for the logical_switch. Since VIP is in a different subnet, > you should connect your logical switch to either a OVN > logical router or a real router (this is because the client > can now send a packet with VIP as the destination IP address > and router's mac address as the destination MAC address). > > Signed-off-by: Gurucharan Shetty <guru@ovn.org> Thanks! Acked-by: Ben Pfaff <blp@ovn.org>
diff --git a/ovn/ovn-nb.xml b/ovn/ovn-nb.xml index b7a5b6b..6bb93de 100644 --- a/ovn/ovn-nb.xml +++ b/ovn/ovn-nb.xml @@ -951,6 +951,15 @@ "[fd0f::1]:8800". Examples for value are "10.0.0.1, 10.0.0.2" and "20.0.0.10:8800, 20.0.0.11:8800". </p> + <p> + When the <code>Load_Balancer</code> is added to the + <code>logical_switch</code>, the VIP has to be in a different subnet + than the one used for the <code>logical_switch</code>. Since VIP is + in a different subnet, you should connect your logical switch to + either a OVN logical router or a real router (this is because the + client can now send a packet with VIP as the destination IP address + and router's mac address as the destination MAC address). + </p> </column> <column name="protocol">
When the Load_Balancer is added to the logical_switch, the VIP has to be in a different subnet than the one used for the logical_switch. Since VIP is in a different subnet, you should connect your logical switch to either a OVN logical router or a real router (this is because the client can now send a packet with VIP as the destination IP address and router's mac address as the destination MAC address). Signed-off-by: Gurucharan Shetty <guru@ovn.org> --- ovn/ovn-nb.xml | 9 +++++++++ 1 file changed, 9 insertions(+)