From owner-freebsd-net@FreeBSD.ORG Tue Mar 24 05:09:40 2009 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C8AFE106567A for ; Tue, 24 Mar 2009 05:09:40 +0000 (UTC) (envelope-from steve@ibctech.ca) Received: from ibctech.ca (unknown [IPv6:2607:f118::b6]) by mx1.freebsd.org (Postfix) with SMTP id 5D3508FC1D for ; Tue, 24 Mar 2009 05:09:40 +0000 (UTC) (envelope-from steve@ibctech.ca) Received: (qmail 70636 invoked by uid 89); 24 Mar 2009 05:15:07 -0000 Received: from unknown (HELO ?IPv6:2607:f118::5?) (steve@ibctech.ca@2607:f118::5) by v6.ibctech.ca with ESMTPA; 24 Mar 2009 05:15:07 -0000 Message-ID: <49C86B14.1090905@ibctech.ca> Date: Tue, 24 Mar 2009 01:09:40 -0400 From: Steve Bertrand User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: FreeBSD Net X-Enigmail-Version: 0.95.7 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: #netstat -rn output X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Mar 2009 05:09:41 -0000 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