Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 2 Jun 2009 17:09:33 -0500
From:      Brooks Davis <brooks@freebsd.org>
To:        Ruben van Staveren <ruben@verweg.com>
Cc:        Doug Barton <dougb@freebsd.org>, freebsd-stable@freebsd.org, freebsd-current@freebsd.org
Subject:   Re: Do you use a value other than AUTO for network_interfaces?
Message-ID:  <20090602220933.GE15552@lor.one-eyed-alien.net>
In-Reply-To: <EA04BF4C-AE45-4624-9C1B-152FC26405C4@verweg.com>
References:  <4A257B82.1000701@FreeBSD.org> <EA04BF4C-AE45-4624-9C1B-152FC26405C4@verweg.com>

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

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

On Tue, Jun 02, 2009 at 10:30:46PM +0200, Ruben van Staveren wrote:
>=20
> On 2 Jun 2009, at 21:20, Doug Barton wrote:
>=20
>> Up till Sunday in 8-current, and for a long time in general
>> network.subr (part of the rc.d system) has emitted a warning that
>> values of network_interfaces other than AUTO are deprecated. I removed
>> that warning in HEAD Sunday, and there is no a discussion about
>> whether or not it should be put back, and whether or not there is any
>> need for the user to specify the list of network interfaces at all.
>=20
> Well, I do.
>=20
> I only want to configure only the interfaces that are connected and that =
I=20
> know about. especially in combination with IPv6 there is a nit that you'l=
l=20
> get autoconfiguration for all interfaces unless they are all explicitly=
=20
> configured.

See my other post on why this is a needless worry for the IPv4 case.

> e.g. bge0 connected, bge1 not, v6 autoconf on the lan. if I don't do a=20
> ipv6_ifconfig_bge1=3D"down" and nail network_interfaces to bge0 bge1 lo0 =
only=20
> I'll get autoconfiguration of v6 where I don't want it to be.
>=20
>=20
> Being a bit of my own devils advocate here, network_interfaces=3D"AUTO" i=
s=20
> already true for ipv6. with network_interfaces=3D"bge0 lo0" network.subr=
=20
> nevertheless sees bge1, and no configuration and takes the responsibility=
=20
> of starting ipv6 autoconfiguration for it.

The IPv6 case is clearly a bug.  We should really consolidate the two
cases and I think there are patches to do so if someone wants to setup
up and help get them in.

-- Brooks

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

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

iD8DBQFKJaMbXY6L6fI4GtQRApXSAJ409BZvxW77XiaT8jHFpTh5YJgHEQCg2AiK
y4z8ZdrHH5k//BBnWsrv4mc=
=lupY
-----END PGP SIGNATURE-----

--Q8BnQc91gJZX4vDc--



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