Multicast stats and bridging

Alex Hoff ahoff at sandvine.com
Wed Nov 19 13:45:17 PST 2003


well I want my stats to match, so I can follow the data. For example, lets
say I send 1000 multicasts packets from pc A through bridge B to pc C. I
want the stats for multicasts packets to add up - Incoming 1000 mcast pkts
on A-B interface and 1000 outgoing mcasts packets on the B-C interface. (And
Im strictly talking about stack counters). Right now they are getting
counted as unicast when they leave the bridge.  Does that make more sense?
Sorry if I was not clear before.

-----Original Message-----
From: Bruce M Simpson [mailto:bms at spc.org]
Sent: Wednesday, November 19, 2003 4:41 PM
To: Alex Hoff
Cc: 'freebsd-net at freebsd.org'
Subject: Re: Multicast stats and bridging


On Wed, Nov 19, 2003 at 04:03:12PM -0500, Alex Hoff wrote:
> What is the desired behavior of a multicast(and broadcast) pkt traveling
> through a bridge? Change it to count it going in *and* out? Or is there
some
> reason, that I dont know about, for the current stat counting heuristics?

The bridge driver doesn't look at the packet destinations after the
bdg_forward() call to BDG_STAT(), but it does in bridge_in(). Question
is, why would you want to count bridged packets by their class of
destination twice?

BMS


More information about the freebsd-net mailing list