From hsu@clinet.fi  Mon Aug  7 00:49:17 1995
Received: from clinet.fi (clinet.fi [193.64.6.1])
          by freefall.cdrom.com (8.6.11/8.6.6) with ESMTP id AAA22704
          for <FreeBSD-gnats-submit@freebsd.org>; Mon, 7 Aug 1995 00:48:54 -0700
Received: from katiska.clinet.fi (root@katiska.clinet.fi [193.64.6.3]) by clinet.fi (8.6.10/8.6.4) with ESMTP id KAA20591 for <FreeBSD-gnats-submit@freebsd.org>; Mon, 7 Aug 1995 10:48:23 +0300
Received: (root@localhost) by katiska.clinet.fi (8.6.11/8.6.4) id KAA06649; Mon, 7 Aug 1995 10:48:23 +0300
Message-Id: <199508070748.KAA06649@katiska.clinet.fi>
Date: Mon, 7 Aug 1995 10:48:23 +0300
From: Heikki Suonsivu <hsu@clinet.fi>
Reply-To: hsu@clinet.fi
To: FreeBSD-gnats-submit@freebsd.org
Subject: ifconfig alias has to be reparately given
X-Send-Pr-Version: 3.2

>Number:         658
>Category:       bin
>Synopsis:       ifconfig alias has to be separately given
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Aug  7 00:50:01 PDT 1995
>Closed-Date:    Sat Jun 2 00:45:18 PDT 2001
>Last-Modified:  Sat Jun 02 00:45:48 PDT 2001
>Originator:     Heikki Suonsivu
>Release:        FreeBSD 2.0-BUILT-19950507 i386
>Organization:
Clinet, Espoo, Finland
>Environment:

	486, running current, used as a router.

>Description:

sysconfig entry:

	ifconfig_ed4="inet 194.100.8.254 netmask 255.255.255.0 alias 194.100.9.254 netmask 255.255.255.0"

alias does not get configured (the route seems to be propagated, but
it could a static route somewhere).

If I do a separate ifconfig for the alias:

	ifconfig ed4 alias 194.100.9.254 netmask 255.255.255.0

everything works.

I guess this is a feature, but it would be useful to have one ifconfig
to set up everything relevant to a specific interface.  Also ifconfig
should complain about arguments it is not using (that is, unless this
is a bug in ifconfig and it thinks it is using the arguments).

ifconfig could also display aliases, would help debugging situations
like this?

>How-To-Repeat:

Above commands for an interface.

>Fix:
	
Workaround: use separate command to set up aliases.

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->wollman 
Responsible-Changed-By: scrappy 
Responsible-Changed-When: Sun May 26 16:54:33 PDT 1996 
Responsible-Changed-Why:  
last series of commits by wollman 
Responsible-Changed-From-To: wollman->freebsd-bugs 
Responsible-Changed-By: wollman 
Responsible-Changed-When: Tue Dec 17 08:06:31 PST 1996 
Responsible-Changed-Why:  
I'm not likely to do anything about the underlying bug in ifconfig. 
State-Changed-From-To: open->suspended 
State-Changed-By: phk 
State-Changed-When: Sun Apr 12 10:56:23 PDT 1998 
State-Changed-Why:  
-> suspended 

If somebody startes to fiddle it, it would be nice to be able to 
say "ifconfig ed0 195.8.129.17/28" 
State-Changed-From-To: suspended->closed 
State-Changed-By: phk 
State-Changed-When: Sat Jun 2 00:45:18 PDT 2001 
State-Changed-Why:  
It looks you you can close PR 658 now. I think that the underlying issues 
have been resolved (some for quite sometime), and the note you added as 
you suspended it:  
it would be nice to be able to say "ifconfig ed0 195.8.129.17/28"  
was just recently committed. 

/Tony Fleisher <takhus@takhus.mind.net> 


http://www.FreeBSD.org/cgi/query-pr.cgi?pr=658 
>Unformatted:
