Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 12 Feb 2007 11:59:40 -0600
From:      Brooks Davis <brooks@FreeBSD.ORG>
To:        freebsd-stable@FreeBSD.ORG, koitsu@FreeBSD.ORG, kevin@insidesystems.net, brooks@FreeBSD.ORG, joao@matik.com.br
Subject:   Re: Desired behaviour of "ifconfig -alias"
Message-ID:  <20070212175940.GA52751@lor.one-eyed-alien.net>
In-Reply-To: <200702121739.l1CHdZPO062101@lurza.secnetix.de>
References:  <20070212163652.GA51709@lor.one-eyed-alien.net> <200702121739.l1CHdZPO062101@lurza.secnetix.de>

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

--sm4nu43k4a2Rpi4c
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Mon, Feb 12, 2007 at 06:39:35PM +0100, Oliver Fromme wrote:
> Brooks Davis wrote:
>  > Oliver Fromme wrote:
>  > > Jeremy Chadwick wrote:
>  > > > Oliver Fromme wrote:
>  > > > FWIW, I still use alias/-alias.  Mainly because that's what has
>  > > > existed historically, and the term "alias" is what is used in
>  > > > reference to rc.conf ifconfig_iface_aliasX entries.
>  > >=20
>  > > Maybe it would make sense to remove "alias" from the rc.conf
>  > > entries and simply number them.
>  >=20
>  > ipv4_addrs_<interface> is a much better replacement IMO.  It's easy to
>  > use and doesn't required the hackish pseudo array traversal used by
>  > ifconfig_iface_aliasX.
>=20
> That might work for simple cases, but how do you specify
> other parameters beside the IPs if you need to?

What do you need to set?  It's sets IP and netmask.  It doesn't handle
broadcast, but I'd be pretty suprised if that's needed often.  What else
is needed?  Axing ifconfig_iface_aliasX is not needed, but reducing the
visiability of the interface in the documentation is probably in order
particularly since it's quite fragile since you have to renumber whenever
you remove an entry.

-- Brooks

--sm4nu43k4a2Rpi4c
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (FreeBSD)

iD8DBQFF0KsLXY6L6fI4GtQRAtQJAKCb0v75Laquzw+RI5WgMjDcBJQ9kACfYP/W
dQZzULX+zxpAIZltd60WVyM=
=mOcb
-----END PGP SIGNATURE-----

--sm4nu43k4a2Rpi4c--



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