Re: [ovs-discuss] reside-on-redirect-chassis and redirect-type

2022-02-20 Thread Han Zhou
On Thu, Feb 17, 2022 at 3:23 AM Brendan Doyle 
wrote:
>
> Hi,
>
> So I have a Distributed Gateway Port (DGP) on a Gateway through which
> VMs in the overlay can access
> underlay networks. If the VM is not on the chassis where the DGP is
> scheduled then the traffic takes
> the extra tunneled hop to the chassis where the DGP is and is then sent
> to the underlay via the localnet
> switch there.  It would be great if I could avoid that extra hop, whilst
> still having the Gateway do NAT
> and routing.  So I'm wondering if 'reside-on-redirect-chassis'  or '
> redirect-type' can be used to
> do this? and if so which one? Also will normal traffic between to VMs in
> the overlay on different chassis
> still be tunneled through the underlay?
>
> I'll do some experimentation later, but a nod in the right direction
> would be appreciated.
>
Hi Brendan,

Not sure if I understood your question well. If you want to avoid the
gateway hop, you can just configure NAT rules with "dnat_and_snat" to do
distributed NAT.
'reside-on-redirect-chassis' and 'redirect-type' don't seem to help for
your use case because you mentioned your VMs are in overlay, while those
options are for VLAN based logical networks.

Thanks,
Han

> Thanks
>
>
> Brendan
>
> ___
> discuss mailing list
> disc...@openvswitch.org
> https://mail.openvswitch.org/mailman/listinfo/ovs-discuss
___
discuss mailing list
disc...@openvswitch.org
https://mail.openvswitch.org/mailman/listinfo/ovs-discuss


[ovs-discuss] reside-on-redirect-chassis and redirect-type

2022-02-17 Thread Brendan Doyle

Hi,

So I have a Distributed Gateway Port (DGP) on a Gateway through which 
VMs in the overlay can access
underlay networks. If the VM is not on the chassis where the DGP is 
scheduled then the traffic takes
the extra tunneled hop to the chassis where the DGP is and is then sent 
to the underlay via the localnet
switch there.  It would be great if I could avoid that extra hop, whilst 
still having the Gateway do NAT
and routing.  So I'm wondering if 'reside-on-redirect-chassis'  or ' 
redirect-type' can be used to
do this? and if so which one? Also will normal traffic between to VMs in 
the overlay on different chassis

still be tunneled through the underlay?

I'll do some experimentation later, but a nod in the right direction 
would be appreciated.


Thanks


Brendan

___
discuss mailing list
disc...@openvswitch.org
https://mail.openvswitch.org/mailman/listinfo/ovs-discuss