All of lore.kernel.org
 help / color / mirror / Atom feed
From: Rick Jones <rick.jones2@hp.com>
To: lartc@vger.kernel.org
Subject: Re: Traffic accounted in interface that has no ip and is not in promisc mode
Date: Fri, 07 Nov 2014 00:07:55 +0000	[thread overview]
Message-ID: <545C0D5B.9040005@hp.com> (raw)
In-Reply-To: <545BA547.1090201@conversis.de>

>> Perhaps the bridge has yet to learn the MACs involved and so is
>> flooding.  Whether then the "NIC" driver would/should count/not count
>> such traffic as having been received is probably a matter of
>> interpretation.  If you take the point of view that any packet which
>> came into the host should "count" then the current behaviour would seem
>> to make sense.
>
> This is one of the packets that I can see on the interface and that is
> responsible for that traffic:
> 00:20:01.957553 00:25:90:0d:9e:43 > 52:54:00:2d:83:3f, ethertype IPv4
> (0x0800), length 66: <src ip>.41638 > <dst ip>.80: Flags [.], ack 563,
> win 123, options [nop,nop,TS val 36272290 ecr 116198943], length 0
>
> Looking at the MAC table of the bridge on the host I can see an entry
> for 00:25:90:0d:9e:43 as non-local but no entry for 52:54:00:2d:83:3f.
> Am I correct in believing that the bridge only learns source MACs but
> ignores the destination MAC? If so then my suspicion is that I'm dealing
> with an asymetric routing situation where the bridge only sees the
> incoming traffic but since the response to this packet actually comes
> from a different machine it never gets to learn the 52:54:00:2d:83:3f
> address and thus will keep flooding all packets with that destination
> MAC indefinitely.

That has always been my understanding of how bridges/switches work. 
Until they see a given MAC address as a source MAC, any traffic destined 
for that MAC address will be flooded out all ports (well, save for the 
one it came-in on of course).

You could, I suppose, ping/arp for the IP associated with the 
52:54:00:2d:83:3f and if they hypothesis is correct, once you do that, 
you should no longer see the traffic arriving.

rick jones

  parent reply	other threads:[~2014-11-07  0:07 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-11-06 16:43 Traffic accounted in interface that has no ip and is not in promisc mode Dennis Jacobfeuerborn
2014-11-06 17:15 ` Joel Gerber
2014-11-06 23:00 ` Dennis Jacobfeuerborn
2014-11-06 23:11 ` Rick Jones
2014-11-06 23:38 ` Dennis Jacobfeuerborn
2014-11-07  0:07 ` Rick Jones [this message]
2014-11-09  0:32 ` Dennis Jacobfeuerborn

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=545C0D5B.9040005@hp.com \
    --to=rick.jones2@hp.com \
    --cc=lartc@vger.kernel.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.