Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 7 Aug 1995 10:48:23 +0300
From:      Heikki Suonsivu <hsu@clinet.fi>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   bin/658: ifconfig alias has to be reparately given
Message-ID:  <199508070748.KAA06649@katiska.clinet.fi>
Resent-Message-ID: <199508070750.AAA22756@freefall.cdrom.com>

next in thread | raw e-mail | index | archive | help

>Number:         658
>Category:       bin
>Synopsis:       ifconfig alias has to be separately given
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Aug  7 00:50:01 PDT 1995
>Last-Modified:
>Originator:     Heikki Suonsivu
>Organization:
Clinet, Espoo, Finland
>Release:        FreeBSD 2.0-BUILT-19950507 i386
>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.

>Audit-Trail:
>Unformatted:



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