#netstat -rn output
Steve Bertrand
steve at ibctech.ca
Mon Mar 23 22:09:41 PDT 2009
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):
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
Steve
More information about the freebsd-net
mailing list