netstat -s bridge question

Sin sinister at gmail.com
Fri Mar 28 10:02:31 PDT 2008


I've noticed there's a new way to bridge NIC's on BSD.  But the new way doesn't show bridging stats in " netstat -s "


here's netstat -s from 6.2 RELEASE.

-- Bridging statistics (bdg) --
Name          In      Out  Forward     Drop    Bcast    Mcast    Local  Unknown
sk0:1   23889560 19694957    32228        0     3969   304695 23548555      113
sk1:1     373597  1245545    23588        0     4127        3   345340      539
sk2:1      98950   939430        0        0       39      275    98636        0
rl0:1          0   759073        0        0        0        0        0        0
ed1:1   20892045 25355369     5670        0        0       21 20886350        4
ed2:1     368726  1101166    11086        0      519      306   356813        2



Anyone know how to get a stat like this with the newer method in 6.3/7.0 ?


More information about the freebsd-net mailing list