From owner-freebsd-cloud@freebsd.org Wed Jan 11 19:55:25 2017 Return-Path: Delivered-To: freebsd-cloud@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E40F7CABD2A for ; Wed, 11 Jan 2017 19:55:25 +0000 (UTC) (envelope-from allanjude@freebsd.org) Received: from mx1.scaleengine.net (mx1.scaleengine.net [209.51.186.6]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id AA9AC1D94 for ; Wed, 11 Jan 2017 19:55:25 +0000 (UTC) (envelope-from allanjude@freebsd.org) Received: from [10.1.1.2] (unknown [10.1.1.2]) (Authenticated sender: allanjude.freebsd@scaleengine.com) by mx1.scaleengine.net (Postfix) with ESMTPSA id 9CEE513240 for ; Wed, 11 Jan 2017 19:55:18 +0000 (UTC) Subject: Re: xn0 interface "Obytes" not populating To: freebsd-cloud@freebsd.org References: From: Allan Jude Message-ID: <2425be22-3b78-0a96-a828-6e6c7e7eb087@freebsd.org> Date: Wed, 11 Jan 2017 14:55:14 -0500 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.6.0 MIME-Version: 1.0 In-Reply-To: Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="HXQfs4T8GJc4umT5j0pq29bvaa4u7WC8G" X-BeenThere: freebsd-cloud@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "FreeBSD on cloud platforms \(EC2, GCE, Azure, etc.\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Jan 2017 19:55:26 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --HXQfs4T8GJc4umT5j0pq29bvaa4u7WC8G Content-Type: multipart/mixed; boundary="rlCIghEXNuaQB4c1hhlmANKnx0jp6NGVJ"; protected-headers="v1" From: Allan Jude To: freebsd-cloud@freebsd.org Message-ID: <2425be22-3b78-0a96-a828-6e6c7e7eb087@freebsd.org> Subject: Re: xn0 interface "Obytes" not populating References: In-Reply-To: --rlCIghEXNuaQB4c1hhlmANKnx0jp6NGVJ Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable On 2017-01-11 14:33, Jason wrote: > Hi, > I installed vnstat, which is a bandwidth monitoring app. I noticed t= hat > for some reason its TX bytes were 0, but the RX bytes were being tracke= d as > expected. I don't know how vnstat is collecting its metrics every 5 > minutes, but I'm guessing it's similar to how 'netstat -I xn0 -bn' woul= d > collect its details. After running 'netstat -I xn0 -bn', I notice that= > "Obytes" for "" is 0, which may be the problem. However, the > "Obytes" for the actual IP address seems to be working: >=20 > # netstat -I xn0 -bn > Name Mtu Network Address Ipkts Ierrs Idrop > Ibytes Opkts Oerrs Obytes Coll > xn0 1500 22659117 0 0 257919= 4762 > 21221967 0 0 0 > xn0 - 10.0.10.0/24 10.0.10.40 22567359 - - 225811= 3267 > 21130240 - 3518207522 - >=20 > On a different machine that command works fine. It is running BSD 11 a= s > well, but it's not using the xn driver -- it uses the fxp driver. It's= > output is: >=20 > # netstat -I xn0 -bn > Name Mtu Network Address Ipkts Ierrs Idrop > Ibytes Opkts Oerrs Obytes Coll > em0 1500 1507204306 0 0 > 1567750969110 100389817 0 80619546746 0 > em0 - 192.168.10.0/ 192.168.10.10 1506281038 - - > 1548639235291 100283723 - 79211140098 - >=20 > I'm running FreeBSD 11 on both instances, except the one that's having > difficulty is running on AWS, so is on Xen. >=20 > Any insight into how to fix this so "Obytes" populates for "Link#2"? >=20 > Thanks! > _______________________________________________ > freebsd-cloud@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-cloud > To unsubscribe, send any mail to "freebsd-cloud-unsubscribe@freebsd.org= " >=20 There is a fix for this here: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D213439 --=20 Allan Jude --rlCIghEXNuaQB4c1hhlmANKnx0jp6NGVJ-- --HXQfs4T8GJc4umT5j0pq29bvaa4u7WC8G Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (MingW32) iQIcBAEBAgAGBQJYdo2lAAoJEBmVNT4SmAt+XGgP/1pfV5SZ96EsekvKS0p0FFJk YJP2OnphA+cvxairzqehV5NpjOKQ619EplF5KXmHQGUnZgqp7CIz2mWbPQjMHsCr 8tuWZ+Wmsx/zvy3GsO0+5wGf5LGH0Z8hE7yxNQudR3TMVKOARhTPD6u7FtmPAp+o m10p2SLjQKOjeF0Qmhutvxi2HmZCjMbqYchbMx4ZoncIA0EykoC+UMQJEeiUHSDi gY0/hBd/AuGe+IbXuWTj+830q/H/0ysyeKXgQgdkSb/3OUii00eD5SmxENiMjf5Y 0SpTinh+Jh1rABMNovGjhRO9TCK8XcASz2lCEaKFc4PMlqb3TZaswO2J4AI7YGjV CYEMZjMQxpICy7surisOU8qP3ItqDhwUWRS0zckNqixVsq9qtsxvrQg4W/nE4l6Y Z9K11BrvmZfwC1LBLRXA1KX+wFghbP+rvZLAzJ5ktmtjk3XrtQvTHtIyOkmQV/LD WGUjxtyrHTmxztKzHBeJ0LPYy6YDLh6hpBh1gReilX6GtmPjgIsei1HAt8SM+Tzr tkB2YyNJr/fr2P3DRlT3C95o9Yl2xDX55Wg8OuLGo8ZvWF44OPtVMNE4LJwmFLMk WsDoMygRDbp2Fvl46vXRc4iCJIMPkFSgNqp/WVu3Vi0kjVO0Jz+DMEcE/S/DWa1D q6vi+v7fClYFWBZB65kH =ox9e -----END PGP SIGNATURE----- --HXQfs4T8GJc4umT5j0pq29bvaa4u7WC8G--