Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 25 Jan 2010 19:01:46 -0800
From:      Nick Rogers <ncrogers@gmail.com>
To:        stable@freebsd.org
Subject:   netstat output changes in 8.0?
Message-ID:  <147432021001251901u7d56f014n83e834061fd09fec@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
Before 8.0-RELEASE, if I ran netstat -rn, it listed a separate route for
each host on the network, along with its MAC address. For example ...

172.20.172.17      00:02:b3:2f:64:6a  UHLW        1     105712   1500
 vlan172    595
172.20.172.20      00:1e:c9:bb:7c:a9  UHLW        1       1002   1500
 vlan172    598
172.20.172.22      00:14:5e:16:bb:b6  UHLW        1        107   1500
 vlan172    491

This behavior seems to have changed in 8.0, where now only the
locally-assigned IP addresses and related CIDRs are displayed.

Is there any way to get this behavior back, perhaps with a new flag that I
am not able to find? Or some sysctl? I have a script that was relying on
each host's "expire" flag in the routing table to determine when the MAC
address first appeared on the network according to ARP.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?147432021001251901u7d56f014n83e834061fd09fec>