Re: [RFC v3 2/3] vxlan: add support for underlay in non-default VRF

2018-11-20 Thread Alexis Bauvin
Le 20 nov. 2018 à 16:25, Roopa Prabhu a écrit : > > On Tue, Nov 20, 2018 at 6:23 AM Alexis Bauvin wrote: >> >> Creating a VXLAN device with is underlay in the non-default VRF makes >> egress route lookup fail or incorrect since it will resolve in the >> default VRF, and ingress fail because the

Re: [RFC v3 2/3] vxlan: add support for underlay in non-default VRF

2018-11-20 Thread Alexis Bauvin
Le 20 nov. 2018 à 15:57, David Ahern a écrit : > > On 11/20/18 7:23 AM, Alexis Bauvin wrote: >> Creating a VXLAN device with is underlay in the non-default VRF makes >> egress route lookup fail or incorrect since it will resolve in the >> default VRF, and ingress fail because the socket listens i

Re: [RFC v3 2/3] vxlan: add support for underlay in non-default VRF

2018-11-20 Thread Roopa Prabhu
On Tue, Nov 20, 2018 at 6:23 AM Alexis Bauvin wrote: > > Creating a VXLAN device with is underlay in the non-default VRF makes > egress route lookup fail or incorrect since it will resolve in the > default VRF, and ingress fail because the socket listens in the default > VRF. > > This patch binds

Re: [RFC v3 2/3] vxlan: add support for underlay in non-default VRF

2018-11-20 Thread David Ahern
On 11/20/18 7:23 AM, Alexis Bauvin wrote: > Creating a VXLAN device with is underlay in the non-default VRF makes > egress route lookup fail or incorrect since it will resolve in the > default VRF, and ingress fail because the socket listens in the default > VRF. > > This patch binds the underlyin

[RFC v3 2/3] vxlan: add support for underlay in non-default VRF

2018-11-20 Thread Alexis Bauvin
Creating a VXLAN device with is underlay in the non-default VRF makes egress route lookup fail or incorrect since it will resolve in the default VRF, and ingress fail because the socket listens in the default VRF. This patch binds the underlying UDP tunnel socket to the l3mdev of the lower device