From owner-freebsd-questions Wed Nov 29 21:32:40 1995 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id VAA25599 for questions-outgoing; Wed, 29 Nov 1995 21:32:40 -0800 Received: from technix.org (root@pcca71.gallaudet.edu [134.231.56.107]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id VAA25578 for ; Wed, 29 Nov 1995 21:32:24 -0800 Received: (from root@localhost) by technix.org (8.6.12/8.6.12) id AAA00647; Thu, 30 Nov 1995 00:38:57 -0500 Date: Thu, 30 Nov 1995 00:38:57 -0500 (EST) From: Charlie ROOT To: Freebsd Questions Subject: netstat not showing the right device Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-questions@freebsd.org Precedence: bulk I'm wondering how I can make netstat default another device, rather than lo0 as in the past I had a ed1 ethernet card and netstat always defaulted to the ed1 ethernet card. Since I changed to a 3com 590 card, netstat now shows lo0 when I do netstat -w 1. In order for it to show vx0 i have to do netstat -w 1 -I vx0 which is kinda a pain. Are there any other solutoins to this? my /etc/sysconfig file has the following: hostname="technix.org" network_interfaces="vx0 lo0" ifconfig_vx0="inet 134.231.56.107 netmask 255.255.0.0" static_routes="multicast loopback" route_multicast="224.0.0.0 -netmask 0xf0000000 -interface ${hostname}" route_loopback="${hostname} localhost" Regards, Jon =--------------------------------Basket Case----------------------------------= = E-Mail: jon@technix.org - Computer Science - C/C++/Pascal/Basic/ASM = = WWW: http://www.technix.org - Systems Administrator - FreeBSD 2.1.0 SNAP = =-----------------------------------------------------------------------------=