Date: Tue, 24 Mar 2009 09:53:24 +0100 From: Max Laier <max@love2party.net> To: freebsd-net@freebsd.org Cc: Steve Bertrand <steve@ibctech.ca> Subject: Re: #netstat -rn output Message-ID: <200903240953.25453.max@love2party.net> In-Reply-To: <49C86B14.1090905@ibctech.ca> References: <49C86B14.1090905@ibctech.ca>
next in thread | previous in thread | raw e-mail | index | archive | help
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@freebsd.org \ / Max Laier | ICQ #67774661 X http://pf4freebsd.love2party.net/ | mlaier@EFnet / \ ASCII Ribbon Campaign | Against HTML Mail and News
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200903240953.25453.max>