Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 29 Dec 1995 03:50:03 -0800 (PST)
From:      Mark Murray <mark@grondar.za>
To:        freebsd-bugs
Subject:   Re: bin/918: ifconfig shows (first?) alias if interface has aliases 
Message-ID:  <199512291150.DAA15972@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR bin/918; it has been noted by GNATS.

From: Mark Murray <mark@grondar.za>
To: hsu@clinet.fi
Cc: FreeBSD-gnats-submit@freebsd.org
Subject: Re: bin/918: ifconfig shows (first?) alias if interface has aliases 
Date: Fri, 29 Dec 1995 13:48:17 +0200

 Heikki Suonsivu wrote:
 > >Description:
 > 
 > 	There doesn't seem to be any way to correctly display
 > 	aliases, and ifconfig shows alias addresses instead of the
 > 	"main" address.
 > 
 > >How-To-Repeat:
 > 
 > 	ifconfig ed0 194.100.0.4 netmask 255.255.255.224
 > 	ifconfig ed0 194.100.0.17 netmask 255.255.255.255
 > 	... several other aliases
 > 
 > 	hsu#katiska.clinet.fi Fri 85: ifconfig ed0
 > 	ed0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
 > 	inet 194.100.0.17 netmask 0xffffffff broadcast 194.100.0.17
 >         ether 00:00:c0:cd:b9:a3 
 
 My Two Cents:
 
 If you alias your card like this:
 
     ifconfig ed0 inet 196.7.18.130 netmask 255.255.255.240
     ifconfig ed0 alias 196.7.18.129 netmask 255.255.255.255
 
 Then you _never_ see the alias(s).
 
     $ ifconfig ed0
     ed0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
         inet 196.7.18.130 netmask 0xfffffff0 broadcast 196.7.18.143
 --
 Mark Murray
 46 Harvey Rd, Claremont, Cape Town 7700, South Africa
 +27 21 61-3768 GMT+0200
 Finger mark@grondar.za for PGP key



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