Re: [RFC PATCH] Don't copy mark from encapsulated packet when routing VXLAN

2019-10-01 Thread Jethro Beekman
On 2019-10-01 17:30, Roopa Prabhu wrote: > On Sun, Sep 29, 2019 at 11:27 PM Jethro Beekman wrote: >> >> When using rule-based routing to send traffic via VXLAN, a routing >> loop may occur. Say you have the following routing setup: >> >> ip rule add from all fwmark 0x2/0x2 lookup 2 >> ip route add

Re: [RFC PATCH] Don't copy mark from encapsulated packet when routing VXLAN

2019-10-01 Thread Roopa Prabhu
On Sun, Sep 29, 2019 at 11:27 PM Jethro Beekman wrote: > > When using rule-based routing to send traffic via VXLAN, a routing > loop may occur. Say you have the following routing setup: > > ip rule add from all fwmark 0x2/0x2 lookup 2 > ip route add table 2 default via 10.244.2.0 dev vxlan1 onlink

[RFC PATCH] Don't copy mark from encapsulated packet when routing VXLAN

2019-09-29 Thread Jethro Beekman
When using rule-based routing to send traffic via VXLAN, a routing loop may occur. Say you have the following routing setup: ip rule add from all fwmark 0x2/0x2 lookup 2 ip route add table 2 default via 10.244.2.0 dev vxlan1 onlink The intention is to route packets with mark 2 through VXLAN, and