Date: Tue, 20 Dec 2011 15:02:01 GMT From: Eugen Konkov <kes-kes@yandex.ru> To: freebsd-gnats-submit@FreeBSD.org Subject: i386/163480: interface does not count bytes on interface Message-ID: <201112201502.pBKF21HI001727@red.freebsd.org> Resent-Message-ID: <201112201510.pBKFA9cj004586@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 163480 >Category: i386 >Synopsis: interface does not count bytes on interface >Confidential: no >Severity: serious >Priority: high >Responsible: freebsd-i386 >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Dec 20 15:10:09 UTC 2011 >Closed-Date: >Last-Modified: >Originator: Eugen Konkov >Release: 10.0-CURRENT >Organization: ISP FreeLine >Environment: # uname -a FreeBSD meta-up 10.0-CURRENT FreeBSD 10.0-CURRENT #1: Sat Dec 17 21:11:04 EET 2011 @:/usr/obj/usr/src/sys/KES_KERN_v10 i386 >Description: Getting statistics on interface from SNMP: octetsIn:4057310174 octetsOut:0 packetsIn:6900040 packetsOut:6059095 Doing trafshow or bwm-ng does not show traffic on vlan interface, BUT if I watch packets - all is OK # ifconfig re0 re0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500 options=209b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,WOL_MAGIC> ether 00:30:67:5a:44:72 nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL> media: Ethernet autoselect (1000baseT <full-duplex>) status: active # ifconfig vlan7 vlan7: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500 options=103<RXCSUM,TXCSUM,TSO4> ether 00:1b:21:45:da:b9 inet 10.11.19.149 netmask 0xfffffff8 broadcast 10.11.19.151 vhid 5 inet6 fe80::21b:21ff:fe45:dab9%vlan7 prefixlen 64 scopeid 0x9 vhid 5 nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL> media: Ethernet autoselect (1000baseT <full-duplex>) status: active vlan: 7 parent interface: igb1 on one console: # tcpdump -n -i re0 tcpdump: WARNING: re0: no IPv4 address assigned tcpdump: verbose output suppressed, use -v or -vv for full protocol decode listening on re0, link-type EN10MB (Ethernet), capture size 65535 bytes 16:51:36.478028 ARP, Request who-has 10.11.19.145 tell 10.11.19.146, length 42 on other console: # ping 10.11.19.146 PING 10.11.19.146 (10.11.19.146): 56 data bytes 64 bytes from 10.11.19.146: icmp_seq=1 ttl=63 time=3.720 ms 64 bytes from 10.11.19.146: icmp_seq=2 ttl=63 time=3.676 ms 64 bytes from 10.11.19.146: icmp_seq=3 ttl=63 time=3.757 ms 64 bytes from 10.11.19.146: icmp_seq=4 ttl=63 time=3.760 ms ^C --- 10.11.19.146 ping statistics --- 5 packets transmitted, 4 packets received, 20.0% packet loss round-trip min/avg/max/stddev = 3.676/3.728/3.760/0.034 ms as you see no ARP, Reply packet seen. again on first console: # tcpdump -n -i vlan7 tcpdump: verbose output suppressed, use -v or -vv for full protocol decode listening on vlan7, link-type EN10MB (Ethernet), capture size 65535 bytes 16:53:42.914087 ARP, Request who-has 10.11.19.146 tell 10.11.19.149, length 28 16:53:42.916577 ARP, Reply 10.11.19.146 is-at 00:30:4f:71:a8:7f, length 42 16:53:42.916584 IP 10.11.19.149 > 10.11.19.146: ICMP echo request, id 17749, seq 0, length 64 16:53:42.920280 IP 10.11.19.146 > 10.11.19.149: ICMP echo reply, id 17749, seq 0, length 64 16:53:43.914478 IP 10.11.19.149 > 10.11.19.146: ICMP echo request, id 17749, seq 1, length 64 16:53:43.918174 IP 10.11.19.146 > 10.11.19.149: ICMP echo reply, id 17749, seq 1, length 64 16:53:44.914734 IP 10.11.19.149 > 10.11.19.146: ICMP echo request, id 17749, seq 2, length 64 16:53:44.918462 IP 10.11.19.146 > 10.11.19.149: ICMP echo reply, id 17749, seq 2, length 64 >How-To-Repeat: >Fix: >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201112201502.pBKF21HI001727>