From owner-freebsd-net@FreeBSD.ORG Tue Jul 27 17:16:08 2010 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2225D106567A for ; Tue, 27 Jul 2010 17:16:08 +0000 (UTC) (envelope-from pyunyh@gmail.com) Received: from mail-gy0-f182.google.com (mail-gy0-f182.google.com [209.85.160.182]) by mx1.freebsd.org (Postfix) with ESMTP id CDE1B8FC1D for ; Tue, 27 Jul 2010 17:16:07 +0000 (UTC) Received: by gyg4 with SMTP id 4so1658679gyg.13 for ; Tue, 27 Jul 2010 10:16:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:received:from:date:to:cc :subject:message-id:reply-to:references:mime-version:content-type :content-disposition:in-reply-to:user-agent; bh=gdHjDhoPSY6bLwmCYyFNUF18b2TkNQ7wtAvp2Y1l3vQ=; b=uT0/4dV5lAXHFaGSK57mjF9HMcvWqZfUf/yMywzly79nnVw1XYM+8FxOEZiTt4sbbj +o7T+ovIuvA15XL8tBKJwZ0sa32ZKh2Gfieje3H5y9qERQJWi9psCqZhqlzhz9qW+pa1 dZB7KNRB1APO2X0TcXjJa9ydeQhY9zL8oNeiE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:date:to:cc:subject:message-id:reply-to:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; b=DH+rPCwi/y32RiBPmRunReRGzHtgUKUNZDm6SRBs9ZavWIfwnzSBWH+60sFtC10Fj7 6sAWKx1+CDUJPVFt85wokfJlWhECJHv+sBlAo2flmAMwPifwAzEyz2sLeInJjHxX7Qka fCI/tt34mj0O6FCTL+xuzFeXtBBl30tS9l0mA= Received: by 10.150.53.6 with SMTP id b6mr11778596yba.181.1280250966889; Tue, 27 Jul 2010 10:16:06 -0700 (PDT) Received: from pyunyh@gmail.com ([174.35.1.224]) by mx.google.com with ESMTPS id u41sm3514118yba.13.2010.07.27.10.16.04 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 27 Jul 2010 10:16:05 -0700 (PDT) Received: by pyunyh@gmail.com (sSMTP sendmail emulation); Tue, 27 Jul 2010 10:15:19 -0700 From: Pyun YongHyeon Date: Tue, 27 Jul 2010 10:15:19 -0700 To: Lev Serebryakov Message-ID: <20100727171519.GA6209@michelle.cdnetworks.com> References: <5610530046.20100727091422@serebryakov.spb.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <5610530046.20100727091422@serebryakov.spb.ru> User-Agent: Mutt/1.4.2.3i Cc: freebsd-net@freebsd.org Subject: Re: does if_vr export true packet error statistics? X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: pyunyh@gmail.com List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Jul 2010 17:16:08 -0000 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.