[BRIDGE]A basic question: what's the relationship of the Rx/Tx packets count between the bridge and its enslaved NIC.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 16 Aug 2005 11:40:40 +0800
Steven Zhang <zhangseven@xxxxxxxxx> wrote:

> I have a bridge br0, it enslaves two NICs: eth0 and eth1. 
> By using "cat /proc/net/dev ", i can see the Rx/Tx packets and bytes
> through each interface. just like this:



> I wonder the meaning of the value of the br0,  it's Rx/Tx packets is
> less than both eth0 and eth1.
> what's the relationship of the values between bridge and it's enslaved NIC?
> 

The pseudo-device br0 is used for locally generated traffic

There will be several possible flows through a bridge:

Traffic going from 
	eth0 to eth1 will increase eth0:Rx and eth1:Tx
	eth1 to eth0               eth1:Rx     eth0:Tx
Locally transmits to eth0          br0:Tx  and eth0:Tx
Locally received via eth0          br0:Rx  and eth0:Rx

Also, packets generated locally with unknown destination
will be flooded to both eth0 and eth1.

You get the idea

[Index of Archives]     [Netdev]     [AoE Tools]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]     [Video 4 Linux]

  Powered by Linux