Re: vnet problem (bug? feature?)
flat view
From: Toerless Eckert <hidden>
Date: 2015-02-16 10:13:12
On Sun, Feb 15, 2015 at 04:16:21PM -0500, Sowmini Varadhan wrote:
RPF != strong/weak ES models defined in Section 3.3.4.2 of rfc1122.
Agreed on the RFC definition, but not on the model. RP filtering makes it more difficult, if not impossible to a weak-host. Consider the multi-homed host that's attached such that it would receive packets for one of its addresses from different interfaces. RP filtering throws away those packet from all but one interface (just talking unicast hee for the sake of the argument).
RPF is about ingress filtering (rfc 3704) and verifying that the return path to the src addr of the packet would go out on the same interface it came on. The wiki page on Reverse_path_forwarding has some detail.
rfc3704 does mention multicast only on the side, so i would claim Fred did
primarily think about unicast, and the whole text is also targeted for ISPs
== routers, not for RPF filtering on actual multi homed hosts.
Of course, RPF filtering for multicast has been traditionally used in
almost all relevant routing protocols, but again: thats only on routers,
and AFAIK in the distant past not on MHH.
I fail to find a good reference explaining why linux would default to
rp_filtering = 1 (more appropriate for routers) even if forwarding defaults to 0
(more appropriate for multi-homed hosts).
Any ideas how to track back where this choice came from ?
Thanks!
Toerless
--Sowmini -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
-- --- Toerless.Eckert@informatik.uni-erlangen.de /C=de/A=d400/P=uni-erlangen/OU=informatik/S=Eckert/G=Toerless/