weird netstat -i IF output in bridge configurat...
\ Stefan Lambrev (28 Jan 2008)
. \ Stefan Lambrev (28 Jan 2008)

1 msgBUS-DMA alignment check - false positives
4 msgTypo in /usr/src/sys/cam/cam_xpt.c
4 msg7.0-RC1 - ZFS + UFS + io activity show a deadlock
20 msgresolver change?
4 msgRe: SMP kernels /w POLLING enabled - combinatio...
11 msgbuild/installworld break under -j n for n>1
1 msg[patch] '-d' option for pw to delete list of me...
7 msg7cur: SMP kernels /w POLLING enabled - combinat...
4 msgif_wpi panic in 7.0-PRERELEASE
1 msgCUR: /usr/sbin/config and hardcoding eng_crypto...
1 msgupcoming bugathon this weekend
6 msgminidumps are unsafe on amd64
12 msgFreeBSD 7, bridge, PF and syn flood = very bad ...
2 msginstallation problem
5 msgfreebsd 7 release process
1 msgpanic on recent source
2 msgNoise ratio on -CURRENT has increased recently
5 msg4GB RAM with an intel core 2 processor
12 msgWeird performance behaviour in 7.0
Subject:Re: weird netstat -i IF output in bridge configuration.
Group:Freebsd-current
From:Stefan Lambrev
Date:28 Jan 2008


 
Err,

I found that I'm using the wrong parameter :)

Stefan Lambrev wrote:
> Greetings,
>
> While testing the bridge I noticed something interesting
> netstat -w 1 -i em2 reports packets that are not passed through em2
>
> em0: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> metric
> 0 mtu 1500
> options=198<VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,TSO4>
> ether 00:15:17:58:10:99
> media: Ethernet autoselect (1000baseTX <full-duplex>)
> status: active
> em1: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> metric
> 0 mtu 1500
> options=198<VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,TSO4>
> ether 00:15:17:58:10:98
> media: Ethernet autoselect (1000baseTX <full-duplex>)
> status: active
> em2: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
>
> options=19b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,TSO4>
> ether 00:15:17:58:10:9b
> media: Ethernet autoselect (1000baseTX <full-duplex>)
> status: active
>
> -em3, and em4 skipped-
>
> bridge0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0
> mtu 1500
> ether ea:b9:a3:31:7f:fb
> inet 10.3.3.3 netmask 0xffffff00 broadcast 10.3.3.255
> id 00:15:17:49:d5:3c priority 32768 hellotime 2 fwddelay 15
> maxage 20 holdcnt 6 proto rstp maxaddr 100 timeout 1200
> root id 00:15:17:49:d5:3c priority 32768 ifcost 0 port 0
> member: em1
> flags=1e7<LEARNING,DISCOVER,STP,EDGE,AUTOEDGE,PTP,AUTOPTP>
> port 2 priority 128 path cost 20000 proto rstp
> role designated state forwarding
> member: em0
> flags=1e7<LEARNING,DISCOVER,STP,EDGE,AUTOEDGE,PTP,AUTOPTP>
> port 1 priority 128 path cost 20000 proto rstp
> role designated state forwarding
>
> netstat -w 1 -i interface reports incomming and outgoing traffic on
> all interfaces even the one that are without carrier.
>
> It seems like netstat always reports statistics from bridge0 device.
>
> Is this expected behavior or I just hit a bug? :)
>
> FreeBSD 7.0-RC1 #18: Sun Jan 27 18:55:16 EET 2008 amd64
>

--

Best Wishes,
Stefan Lambrev
ICQ# 24134177

_______________________________________________
freebsd-current mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscribe"


© 2004-2008 readlist.com