Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 19 Jun 1996 14:28:35 -0400 (EDT)
From:      John Capo <jc@irbs.com>
To:        twc@ns.calyx.com (TWC)
Cc:        freebsd-isp@FreeBSD.ORG
Subject:   Re: ifconfig alias
Message-ID:  <199606191828.OAA17183@irbs.irbs.com>
In-Reply-To: <Pine.NEB.3.94.960618231514.12647B-100000@mojo.calyx.net> from TWC at "Jun 18, 96 11:19:21 pm"

next in thread | previous in thread | raw e-mail | index | archive | help
TWC writes:
> 
> 2.2-snap:
> [k@fly-dope k]$ /sbin/ifconfig -a
> ed1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
>         inet 204.137.148.200 netmask 0xffffff00 broadcast 204.137.148.255
>         inet 204.137.148.203 netmask 0xffffff00 broadcast 204.137.148.255
>         ether 00:00:01:05:51:76 
> 
> 2.1-stable:
> bash$ /sbin/ifconfig -a
> de0: flags=c863<UP,BROADCAST,NOTRAILERS,RUNNING,SIMPLEX,LINK2,MULTICAST> 
> mtu 1500
>         inet 204.137.148.2 netmask 0xffffff00 broadcast 204.137.148.255
> 

This feature was added to ifconfig in 2.2.  netstat -i will show
the aliases.  Add -n if you want numbers instead of names.

irbs 123# netstat -in
Name  Mtu   Network     Address            Ipkts Ierrs    Opkts Oerrs  Coll
de0   1500  <Link>00.c0.d1.30.08.fb       237886    11   242286     0  2853
de0   1500  199.182.75. 199.182.75.129    237886    11   242286     0  2853
de0   1500  199.182.75. 199.182.75.134    237886    11   242286     0  2853


John Capo                                                   jc@irbs.com
IRBS Engineering                       FreeBSD Servers and Workstations
(954) 792-9551                 Unix/Internet Consulting - ISP Solutions



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199606191828.OAA17183>