[BRIDGE]A basic question: what's the relationship of the Rx/Tx
packets count between the bridge and its enslaved NIC.
s_zoran at yahoo.com
Mon Aug 22 02:34:30 PDT 2005
In addition to what Stephen wrote, you can perform
simple tests just assigning the IP address to bridge
interface br0 issuing command:
ifconfig br0 x.y.z.w up
where x.y.z.w is a unused subnet IP address (class C
x.y.z.0) you are bridging.
Then you can ping any member via the bridge and
observe br0, eth0 and eth1 stats, and also you can
ping br0 itself by using ping x.y.z.w command and see
stats as well.
--- Stephen Hemminger <shemminger at osdl.org> wrote:
> On Tue, 16 Aug 2005 11:40:40 +0800
> Steven Zhang <zhangseven at gmail.com> 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
> There will be several possible flows through a
> 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
> Locally received via eth0 br0:Rx and
> Also, packets generated locally with unknown
> will be flooded to both eth0 and eth1.
> You get the idea
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
More information about the Bridge