Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 30 Nov 1995 00:38:57 -0500 (EST)
From:      Charlie ROOT <root@technix.org>
To:        Freebsd Questions <freebsd-questions@freebsd.org>
Subject:   netstat not showing the right device
Message-ID:  <Pine.BSF.3.91.951130003456.633A-100000@technix.org>

next in thread | raw e-mail | index | archive | help
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 =
=-----------------------------------------------------------------------------=




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.91.951130003456.633A-100000>