netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* rp_filter dropping things it shouldn't
@ 2003-11-05 20:41 Brian White
  0 siblings, 0 replies; only message in thread
From: Brian White @ 2003-11-05 20:41 UTC (permalink / raw)
  To: netdev

Kernel:	2.4.20
Arch:	i386
Dist:	debian/testing

While experimenting with an automatic dial-backup system, we ended up with
the situation where we have two default routes, one to PPP with a metric
of 0 and one to ethernet with a metric of 1.  The PPP route is brought
on-line when connectivity to a remote host is not possible over ethernet
but the default route over eth0 needs to remain so we can continue to check
that link.

The problem is that when we bind to eth0 to ping the remote host and a
reply does come back (thus indicating we can close the dial-backup link),
the ping reply is getting dropped by "rp_filter".

My guess is that rp_filter sees that the preferred default route is over ppp0
and thus assumes that packets should not be coming over eth0, which of course
they do since that is the interface/address the request was sent from.

Setting "rp_filter" to "0" for "eth0" fixed this problem.

                                          Brian
                                 ( bcwhite@precidia.com )

-------------------------------------------------------------------------------
 "A dollar saved is two dollars earned."  -- Dave Chilton (The Wealthy Barber)

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2003-11-05 20:41 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-11-05 20:41 rp_filter dropping things it shouldn't Brian White

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).