Date: Thu, 20 May 2004 11:23:01 -0600 From: Nathan Kinkade <nkinkade@ub.edu.bz> To: freebsd-questions@freebsd.org Subject: netstat output - diff between 'link' and 'inet' counters Message-ID: <20040520172301.GB3534@gentoo-npk.bmp.ub>
next in thread | raw e-mail | index | archive | help
--qrxaW5QmeXhOrNsF Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable I delved into trying to determine the cause of an unreasonably high number of Ierrs on a few FreeBSD routers we have setup on campus. While probing through the netstat output on the machines I realized that I don't understand the exact difference between the 'inet' and 'link' protocol families. Now, I understand the difference between IP and ethernet, but the byte and packet counts for 'inet' and 'link' don't seem to match what I would expect for those protocols, respectively. This tells me that the numbers being logged must differ from my expectations. Generally I notice that the 'inet' counts for an interface are a relatively small fraction of that for the 'link' counts for the same interface. However, on our main FreeBSD router that provides NAT and access to the internet the numbers are somewhat reversed, with 'inet' counts being much higher than the 'link' counts. Is there someone who can explain to me exactly what packet and byte counts actually represent for the 'inet' and 'link' families? Thanks, Nathan --=20 gpg --keyserver pgp.mit.edu --recv-keys D8527E49 --qrxaW5QmeXhOrNsF Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) iD8DBQFArOl1O0ZIEthSfkkRAuHKAKCB/TjWzBfZ9KmQIKj3d9zUDnoRtgCfXTVp HCcbzEBfYxxqlOJ5FDtPLCU= =RXdI -----END PGP SIGNATURE----- --qrxaW5QmeXhOrNsF--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040520172301.GB3534>