From owner-freebsd-questions Wed Apr 28 5:26:45 1999 Delivered-To: freebsd-questions@freebsd.org Received: from dns.ie-online.it (dns.ie-online.it [194.133.148.8]) by hub.freebsd.org (Postfix) with ESMTP id 0F49014DC4 for ; Wed, 28 Apr 1999 05:26:41 -0700 (PDT) (envelope-from sriva@alice.it) Received: from dns.ie-interna.it (host1.ie-online.it [194.133.148.10]) by dns.ie-online.it (8.8.8/8.8.8) with ESMTP id OAA11951; Wed, 28 Apr 1999 14:26:40 +0200 (CEST) (envelope-from sriva@alice.it) Received: from stefano (stefano.ie-interna.it [192.168.0.33]) by dns.ie-interna.it (8.8.8/8.8.8) with SMTP id OAA21334; Wed, 28 Apr 1999 14:26:39 +0200 (CEST) (envelope-from sriva@alice.it) Message-Id: <3.0.5.32.19990428142638.00a44170@relay.alice.it> X-Sender: riva@relay.alice.it X-Mailer: QUALCOMM Windows Eudora Pro Version 3.0.5 (32) Date: Wed, 28 Apr 1999 14:26:38 +0200 To: "Ueda, Kazukiyo" From: Stefano Riva Subject: Re: 2 NICs Cc: freebsd-questions@FreeBSD.ORG In-Reply-To: <19990428175124D.kueda@jupiter.qse.tohoku.ac.jp> References: <3.0.5.32.19990428103136.00a58a10@relay.alice.it> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG At 17.51 28/04/99 +0900, you wrote: >"netstat -i" doesn't print the info on IP addresses the NIC's are >assigned. "ifconfig -au" is better than that. This command shows the I agree that "ifconfig -au" shows more info related specifically to the NICs, but "netstat -i" *does* print assigned IP addresses and networks, and you can see also what's going on. The following output is from a 3.1-STABLE box (anyway it works even at least on 2.2.7) (I removed the traffic statistics): Name Mtu Network Address fxp0 1500 00.90.27.27.bd.66 fxp0 1500 192.168/25 192.168.0.48 lp0* 1500 lo0 16384 lo0 16384 127 localhost ppp0* 1500 sl0* 552 tun0* 1500 --- Stefano Riva Software Engineer - Systems Administrator Informazioni Editoriali I.E. Srl Phone +39-027528400, Fax +39-027528451 Email sriva@alice.it To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message