ports/163955: input packet for interface are counted twice
Коньков Евгений
kes-kes at yandex.ru
Mon Jan 9 13:00:34 UTC 2012
The following reply was made to PR ports/163955; it has been noted by GNATS.
From: =?windows-1251?B?yu7t/Oru4iDF4uPl7ejp?= <kes-kes at yandex.ru>
To: bug-followup at FreeBSD.org
Cc:
Subject: Re: ports/163955: input packet for interface are counted twice
Date: Mon, 9 Jan 2012 14:59:07 +0200
netstat statistic shows good counters, they are not twiced
# ifconfig vlan7
vlan7: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=3<RXCSUM,TXCSUM>
ether 00:30:67:5a:44:72
inet 10.11.19.149 netmask 0xfffffff8 broadcast 10.11.19.151
inet6 fe80::230:67ff:fe5a:4472%vlan7 prefixlen 64 scopeid 0x8
nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
media: Ethernet autoselect (1000baseT <full-duplex>)
status: active
vlan: 7 parent interface: re0
# netstat -iIb vlan7
Name Mtu Network Address Ipkts Ierrs Idrop Opkts Oerrs Coll
meta-up# netstat -iI vlan7 -b
Name Mtu Network Address Ipkts Ierrs Idrop Ibytes Opkts Oerrs Obytes Coll
vlan7 1500 <Link#8> 00:30:67:5a:44:72 24222 0 0 24630387 73420 0 38598435 0
vlan7 1500 10.11.19.144/ 10.11.19.149 24189 - - 24267751 73287 - 37563766 -
vlan7 1500 fe80::230:67f fe80::230:67ff:fe 0 - - 0 0 - 0 -
meta-up# ping -c 1 10.11.19.145
PING 10.11.19.145 (10.11.19.145): 56 data bytes
64 bytes from 10.11.19.145: icmp_seq=0 ttl=64 time=0.300 ms
--- 10.11.19.145 ping statistics ---
1 packets transmitted, 1 packets received, 0.0% packet loss
round-trip min/avg/max/stddev = 0.300/0.300/0.300/0.000 ms
# netstat -iI vlan7 -b
Name Mtu Network Address Ipkts Ierrs Idrop Ibytes Opkts Oerrs Obytes Coll
vlan7 1500 <Link#8> 00:30:67:5a:44:72 24223 0 0 24630485 73421 0 38598533 0
vlan7 1500 10.11.19.144/ 10.11.19.149 24190 - - 24267835 73288 - 37563850 -
vlan7 1500 fe80::230:67f fe80::230:67ff:fe 0 - - 0 0 - 0 -
meta-up# ping -c 1 10.11.19.149
PING 10.11.19.149 (10.11.19.149): 56 data bytes
64 bytes from 10.11.19.149: icmp_seq=0 ttl=64 time=0.033 ms
--- 10.11.19.149 ping statistics ---
1 packets transmitted, 1 packets received, 0.0% packet loss
round-trip min/avg/max/stddev = 0.033/0.033/0.033/0.000 ms
# netstat -iI vlan7 -b
Name Mtu Network Address Ipkts Ierrs Idrop Ibytes Opkts Oerrs Obytes Coll
vlan7 1500 <Link#8> 00:30:67:5a:44:72 24223 0 0 24630485 73421 0 38598533 0
vlan7 1500 10.11.19.144/ 10.11.19.149 24191 - - 24267919 73288 - 37563850 -
vlan7 1500 fe80::230:67f fe80::230:67ff:fe 0 - - 0 0 - 0 -
but:
is it right that input packet and octets are counted and no counts for
output when dst is localhost?
More information about the freebsd-ports-bugs
mailing list