netstat output changes in 8.0?

Nick Rogers ncrogers at gmail.com
Tue Jan 26 03:01:47 UTC 2010


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.


More information about the freebsd-stable mailing list