ports/75454:
Alexey Privalov
lucky at land3.nsu.ru
Fri Dec 24 06:10:26 UTC 2004
>Number: 75454
>Category: ports
>Synopsis:
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Fri Dec 24 06:10:25 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator: Alexey Privalov
>Release: FreeBSD 5.3-STABLE i386
>Organization:
>Environment:
>Description:
I'm using NETGRAPH_FEC feature to union my two NIC's into one virtual ethernet channel.
There are my NIC's and it's options:
fxp0: <Intel 82550 Pro/100 Ethernet> port 0xc000-0xc03f mem 0xff8a0000-0xff8bffff,0xff8fe000-0xff8fefff irq 3 at device 1.0 on pci1 miibus0: <MII bus> on fxp0
fxp1: <Intel 82801BA (D865) Pro/100 VE Ethernet> port 0xbc00-0xbc3f mem 0xff8fd000-0xff8fdfff irq 7 at device 8.0 on pci1
fxp0: flags=9843<UP,BROADCAST,RUNNING,SIMPLEX,LINK0,MULTICAST> mtu 1500
fxp1: flags=9843<UP,BROADCAST,RUNNING,SIMPLEX,LINK0,MULTICAST> mtu 1500
... and port channel options:
fec0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
my Net-snmp version is 5.1.2.
when I try get informations about octets on each nic I got following results:
IF-MIB::ifDescr.1 = STRING: fxp0
IF-MIB::ifDescr.2 = STRING: fxp1
IF-MIB::ifDescr.3 = STRING: lo0
IF-MIB::ifDescr.4 = STRING: fec0
<skiped>
IF-MIB::ifSpeed.1 = Gauge32: 100000000
IF-MIB::ifSpeed.2 = Gauge32: 100000000
IF-MIB::ifSpeed.3 = Gauge32: 0
IF-MIB::ifSpeed.4 = Gauge32: 100000000
<skiped>
IF-MIB::ifOperStatus.1 = INTEGER: up(1)
IF-MIB::ifOperStatus.2 = INTEGER: up(1)
IF-MIB::ifOperStatus.3 = INTEGER: up(1)
IF-MIB::ifOperStatus.4 = INTEGER: up(1)
<skiped>
IF-MIB::ifInOctets.1 = Counter32: 0
IF-MIB::ifInOctets.2 = Counter32: 0
IF-MIB::ifInOctets.3 = Counter32: 3726
IF-MIB::ifInOctets.4 = Counter32: 2856349297
<skiped>
IF-MIB::ifOutOctets.1 = Counter32: 3191994550
IF-MIB::ifOutOctets.2 = Counter32: 1929810955
IF-MIB::ifOutOctets.3 = Counter32: 3726
IF-MIB::ifOutOctets.4 = Counter32: 826854669
Hence three questions:
1. why is `ifSpeed.4' field equal to 100000000?
2. why is `ifInOctets.[12]' fields equal to zero and `ifOutOctets.[12]' not equal to zero?
3. why is ifOutOctets.1 + ifOutOctets.2 not equal to ifOutOctets.4 field?
PS: in `netstat -i' everything is ok:
Name Mtu Network Address Ipkts Ierrs Opkts Oerrs Coll
fxp0 1500 <Link#1> 00:0e:0c:64:8f:c8 103282520 0 210243280 0 6826
fxp1 1500 <Link#2> 00:0e:0c:64:8f:c8 55974393 0 116545274 0 3028
fec0 1500 <Link#4> 00:0e:0c:64:8f:c8 159264732 40 326812517 0 0
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
>System: FreeBSD digger.211.ru 5.3-STABLE FreeBSD 5.3-STABLE #1: Wed Dec 15 15:28:53 NOVT 2004 root at digger.211.ru:/usr/src/sys/i386/compile/chipmunk i386
More information about the freebsd-ports-bugs
mailing list