does if_vr export true packet error statistics?

Pyun YongHyeon pyunyh at gmail.com
Tue Jul 27 17:16:08 UTC 2010


On Tue, Jul 27, 2010 at 09:14:22AM +0400, Lev Serebryakov wrote:
> Hello, Freebsd-net.
> 
>     I   have   huge   losses ("netstat -s -p tcp" shows 4% of packets, but
>  35% of bytes are retransmitted) on my intenret connection, which is PPPoE over
>  100Mbit  ehternet  link.  Provider  claims, that it is physical level
>  problem, and I should fix my cables in my network. But `netstat -i' shows
>  0  input  errors  /  0  output  errors  /  0  collistion  on physical
>  interface, which is if_vr.
> 
>    Could  I  belive  in  these  stats?  Does  if_vr  export proper error
>  statistics?
> 

I think so. You can also check more detailed statistics of vr(4)
with sysctl(8).
#sysctl dev.vr.0.stats=1

But I guess you wouldn't see errors there. To me, your issue looks
like wrongly advertised MSS which could be triggered by incorrect
MTU/MRU configuration of PPPoE. Check your PPPoE configuration.


More information about the freebsd-net mailing list