From: Eric Dumazet <eric.dumazet@gmail.com>
To: Christoph Lameter <cl@linux-foundation.org>
Cc: David Miller <davem@davemloft.net>,
netdev@vger.kernel.org, shemminger@vyatta.com
Subject: Re: [PATCH] IP: Increment INADDRERRORS if routing for a packet is not successful
Date: Wed, 02 Jun 2010 20:41:10 +0200 [thread overview]
Message-ID: <1275504070.2519.12.camel@edumazet-laptop> (raw)
In-Reply-To: <alpine.DEB.2.00.1006021255001.32431@router.home>
Le mercredi 02 juin 2010 à 13:01 -0500, Christoph Lameter a écrit :
> On Wed, 2 Jun 2010, Eric Dumazet wrote:
>
> > Here is the patch I cooked to account for RP_FILTER errors in multicast
> > path.
> >
> > I will complete it to also do the unicast part before official
> > submission.
> >
> > Christoph, the official counter would be IPSTATS_MIB_INNOROUTES
>
> Great. Thanks.
>
> > ipSystemStatsInNoRoutes OBJECT-TYPE
> > SYNTAX Counter32
> > MAX-ACCESS read-only
> > STATUS current
> > DESCRIPTION
> > "The number of input IP datagrams discarded because no route
> > could be found to transmit them to their destination.
>
> add "or because the rp_filter rejected the packet"? In the case of MC
> traffic you dont really need a route.
>
Unicast trafic dont need a reverse route, if you only receive packets.
rp_filter is an optional check, not covered by standard MIBS, so its
borderline.
> In my particular case it is a weird corner case for the rp_filter.
>
> Two NICs are on the same subnet. Different multicast groups are joined
> on each (Using two NICs to balance the MC load since the drivers have
> some multicast limitations and having different interrupt lines for each
> NIC is also beneficial).
>
yeah, I know about this problem, and am working on it too...
> The rp_filter rejects all multicast traffic to the subscriptions on the
> second NIC. I guess this is because the source address of the MC traffic
> (on the same subnet) is also reachable via the first NIC.
>
Its clearly a case were rp_filter should be set to 2, dont you think ?
> So you could add also "because of breakage in the rp_filter (rp_filter
> ignores the multicast subscription tables when determining the correct
> reverse path of the packet)"
>
In standard RFC ? I wont change it :)
next prev parent reply other threads:[~2010-06-02 18:41 UTC|newest]
Thread overview: 28+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-06-01 21:13 [PATCH] IP: Increment INADDRERRORS if routing for a packet is not successful Christoph Lameter
2010-06-01 22:07 ` Eric Dumazet
2010-06-01 22:23 ` David Miller
2010-06-02 15:27 ` Christoph Lameter
2010-06-02 15:29 ` David Miller
2010-06-02 15:32 ` Eric Dumazet
2010-06-02 16:12 ` Christoph Lameter
2010-06-02 16:19 ` David Miller
2010-06-02 16:27 ` Christoph Lameter
2010-06-02 16:33 ` Eric Dumazet
2010-06-02 16:49 ` Christoph Lameter
2010-06-02 17:12 ` David Miller
2010-06-02 17:19 ` Eric Dumazet
2010-06-02 17:41 ` Neil Horman
2010-06-02 17:31 ` David Miller
2010-06-02 17:46 ` Eric Dumazet
2010-06-02 18:01 ` Christoph Lameter
2010-06-02 18:41 ` Eric Dumazet [this message]
2010-06-02 18:59 ` Christoph Lameter
2010-06-02 19:25 ` Eric Dumazet
2010-06-02 20:11 ` Christoph Lameter
2010-06-02 22:05 ` [PATCH net-next-2.6] ipv4: add LINUX_MIB_IPRPFILTER snmp counter Eric Dumazet
2010-06-03 10:19 ` David Miller
2010-06-03 3:50 ` [PATCH] IP: Increment INADDRERRORS if routing for a packet is not successful Bill Fink
2010-06-03 3:54 ` Eric Dumazet
2010-06-03 4:56 ` Bill Fink
2010-06-02 16:28 ` Eric Dumazet
2010-06-02 16:35 ` Christoph Lameter
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1275504070.2519.12.camel@edumazet-laptop \
--to=eric.dumazet@gmail.com \
--cc=cl@linux-foundation.org \
--cc=davem@davemloft.net \
--cc=netdev@vger.kernel.org \
--cc=shemminger@vyatta.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox