Hi,

The TX counter on br0 is the traffic sent by this host to the network.  The RX
counter on br0 is the traffic sent to this host, plus multicast and broadcast
packets.  What's probably confusing you in the eth0/eth1 case is that byte
counters wrap at 4 billion.


cheers,
Lennert


On Fri, Dec 07, 2001 at 12:45:07PM +0000, John Bland wrote:

> 
> Hi,
> 
> This is probably more of a networking issue but it may well be bridge
> specific.
> 
> I was looking at the output from ifconfig the other day and was trying to
> work out how much 'stuff' had gone through the bridge in its 100days
> uptime but I can't make much sense out of it. Here's the output (eth0 is
> connected to the outside world, eth1 to our local area):
> 
> br0       Link encap:Ethernet  HWaddr 00:00:21:66:14:54
>           inet addr:138.253.x.x  Bcast:138.253.255.255  Mask:255.255.255.0
>           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
>           RX packets:44659327 errors:0 dropped:0 overruns:0 frame:0
>           TX packets:521221 errors:0 dropped:0 overruns:0 carrier:0
>           collisions:0 txqueuelen:0
>           RX bytes:1563336578 (1490.9 Mb)  TX bytes:709294220 (676.4 Mb)
> 
> eth0      Link encap:Ethernet  HWaddr 00:90:27:CA:E3:C8
>           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
>           RX packets:105807934 errors:10 dropped:0 overruns:2 frame:17920323
>           TX packets:53124137 errors:0 dropped:0 overruns:0 carrier:855
>           collisions:3434939 txqueuelen:100
>           RX bytes:231790215 (221.0 Mb)  TX bytes:4103016707 (3912.9 Mb)
>           Interrupt:11 Base address:0x2000
> 
> eth1      Link encap:Ethernet  HWaddr 00:00:21:66:14:54
>           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
>           RX packets:155722064 errors:1 dropped:0 overruns:0 frame:609458
>           TX packets:93922393 errors:176 dropped:0 overruns:0 carrier:189
>           collisions:434266 txqueuelen:100
>           RX bytes:1721287803 (1641.5 Mb)  TX bytes:1761488571 (1679.8 Mb)
>           Interrupt:10 Base address:0x300
> 
> What I'm trying to work out is how the RX/TX sums for eth0, eth1 and br0
> are related. Are the sums for br0 purely for connections made to the
> 'virtual network device' br0 (eg scp-ing things from the firewall) or is
> it linked in any way with eth0/1?
> 
> I don't see how eth0 can only have received 221MB when I know I've dragged
> at least 3GB through it recently mirroring SuSE 7.3. But the transmitted
> bytes seem to tally reasonably ok with this, although this seems to be the
> wrong way round.
> 
> Am I assuming to much here?
> 
> Cheers,
>        JB
> 
_______________________________________________
Bridge mailing list
[EMAIL PROTECTED]
http://www.math.leidenuniv.nl/mailman/listinfo/bridge

Reply via email to