[lvs-users] Fixing the Martian Packet issue on LVS-DR
khosrow.ebrahimpour at ssc-spc.gc.ca
Tue Oct 8 21:15:11 BST 2013
On Monday, October 07, 2013 08:14:13 PM Dennis Jacobfeuerborn wrote:
> On 07.10.2013 19:46, Khosrow Ebrahimpour wrote:
> For a while now there is a setting
> /proc/sys/net/ipv4/conf/*/accept_local that should solve this at least
> in theory:
> accept_local - BOOLEAN
> Accept packets with local source addresses. In combination
> with suitable routing, this can be used to direct packets
> between two local interfaces over the wire and have them
> accepted properly.
> rp_filter must be set to a non-zero value in order for
> accept_local to have an effect.
> default FALSE
> When I tried this however I ended up with 100% cpu usage as the packets
> apparently ended up in some a routing loop of some kind.
> If anyone has an idea how to make this work I would be interested in
> hearing about it as well.
The accept_local kernel parameter did the trick, thank you Dennis.
However what's interesting is that the rp_filter value is zero and everything is functioning correctly.
net.ipv4.conf.vlan2.rp_filter = 0
net.ipv4.conf.vlan2.accept_local = 1
More information about the lvs-users