#netstat -rn output
Max Laier
max at love2party.net
Tue Mar 24 01:53:29 PDT 2009
On Tuesday 24 March 2009 06:09:40 Steve Bertrand wrote:
> Hi all,
>
> I don't know if this belongs here or not, but here it is anyway.
>
> I'm in the middle of troubleshooting why two sub-interfaces on two
> FreeBSD boxes (directly connected via XO cable) within a /30 can't
> communicate, and I found that output when doing ``netstat'' is carved at
> a char length for interface name.
>
> Can the Netif column be expanded via the command line? If not, could
> someone let me know where the format is declared, so I might have a
> crack at forging it a bit? (I need to see 7 chars, not 6. ie: em3.30N):
-W is your friend. See also netstat(1)
> pe-test-4# netstat -rn | grep 208.70.111
> Destination Gateway Flags Refs Use Netif
> 142.46.193.0/24 208.70.111.66 UG1 0 95133 em6
> 172.16.104.2 208.70.111.66 UGH1 0 16184 em6
> 172.16.104.3 208.70.111.54 UGH1 0 11745 em3.30
> 172.16.104.99 208.70.111.62 UGH1 0 1171 em1.99
> 208.70.107.0/25 208.70.111.54 UG1 0 28066384 em3.30
--
/"\ Best regards, | mlaier at freebsd.org
\ / Max Laier | ICQ #67774661
X http://pf4freebsd.love2party.net/ | mlaier at EFnet
/ \ ASCII Ribbon Campaign | Against HTML Mail and News
More information about the freebsd-net
mailing list