netstat interface output
Adam Vande More
amvandemore at gmail.com
Sat Feb 25 04:43:22 UTC 2017
On Wed, Feb 22, 2017 at 5:38 PM, Doug Hardie <bc979 at lafn.org> wrote:
> I am starting to develop a nagios check for errors on interfaces.
> However, there are some issues with the entries in netstat that I don't
> understand. Each interface has multiple entries: one for each address and
> one for the link. It would seem to me that the link counts would be the
> sum of the other address entries, but it is not. Often it is way off. At
> first I thought it was possibly caused by overflows of the counters since
> most systems have been running for months. However, checking one system
> that was only up for one day, the ip4 count was considerably larger than
> the link count. This is shown in one of the examples below.
This is layer 2 vs layer 3 info.
To set static IP info see:
More information about the freebsd-questions