Re: [ovs-dev] [PATCH net-next] openvswitch: allow linking a VRF to an OVS bridge

2021-09-21 Thread Antoine Tenart
Hello, Quoting Luis Tomas Bolivar (2021-09-21 13:20:08) > > Follow up on this. I found the mistake I was making on the veth-pair > addition configuration (ovs flow was setting the wrong mac address > before sending the traffic through the veth device to the vrf). And it > indeed works connecting

[ovs-dev] [PATCH net-next] openvswitch: allow linking a VRF to an OVS bridge

2021-09-21 Thread Antoine Tenart
VRF devices are prevented from being added to upper devices since commit 1017e0987117 ("vrf: prevent adding upper devices") as they set the IFF_NO_RX_HANDLER flag. However attaching a VRF to an OVS bridge is a valid use case[1]. Allow a VRF device to be attached to an OVS bridge by having an OVS

Re: [ovs-dev] [PATCH net-next] openvswitch: allow linking a VRF to an OVS bridge

2021-09-21 Thread David Ahern
On 9/20/21 9:34 AM, Antoine Tenart wrote: > There might be questions about the setup in which a VRF is linked to an > OVS bridge; I cc'ed Luis Tomás who wrote the article. My head just exploded. You want to make an L3 device a port of an L2 device. Can someone explain how this is supposed to

Re: [ovs-dev] [PATCH net-next] openvswitch: allow linking a VRF to an OVS bridge

2021-09-21 Thread Luis Tomas Bolivar
On Tue, Sep 21, 2021 at 10:12 AM Luis Tomas Bolivar wrote: > > On Mon, Sep 20, 2021 at 5:45 PM David Ahern wrote: > > > > On 9/20/21 9:34 AM, Antoine Tenart wrote: > > > There might be questions about the setup in which a VRF is linked to an > > > OVS bridge; I cc'ed Luis Tomás who wrote the

Re: [ovs-dev] [PATCH net-next] openvswitch: allow linking a VRF to an OVS bridge

2021-09-21 Thread Luis Tomas Bolivar
On Mon, Sep 20, 2021 at 5:45 PM David Ahern wrote: > On 9/20/21 9:34 AM, Antoine Tenart wrote: > > There might be questions about the setup in which a VRF is linked to an > > OVS bridge; I cc'ed Luis Tomás who wrote the article. > > My head just exploded. You want to make an L3 device a port of