Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 21 Nov 2004 09:58:39 -0500
From:      "Michael W. Oliver" <michael@gargantuan.com>
To:        David Jenkins <david.jenkins@gmail.com>
Cc:        Danny Browne <danny_browne@eircom.net>
Subject:   Re: turning off IPv6 support in BSD
Message-ID:  <20041121145839.GA22939@gargantuan.com>
In-Reply-To: <9395922d041121030126fc204e@mail.gmail.com>
References:  <20041120165059.DF29543D64@mx1.FreeBSD.org> <20041120165923.GA73153@ozzmosis.com> <e4b0ecef04112102273f091eec@mail.gmail.com> <9395922d041121030126fc204e@mail.gmail.com>

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

--HlL+5n6rz5pIUxbD
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On 2004-11-21T11:01:09+0000, David Jenkins wrote:
> On Sun, 21 Nov 2004 12:27:19 +0200, Panagiotis Christias
> <christias@gmail.com> wrote:
> > On Sun, 21 Nov 2004 03:59:23 +1100, andrew clarke <mail@ozzmosis.com> w=
rote:
> >=20
> >=20
> > > On Sat, Nov 20, 2004 at 04:50:58PM +0000, Danny Browne wrote:
> > >
> > > > How do i turn off IPv6 support in FreeBSD 4.10?
> > >
> > > Remove "options INET6" from your kernel config file
> > > (/sys/i386/conf/XXX), rebuild your kernel and reboot your machine.
> > >
> > > There may be a way to turn it off at runtime using sysctl, but I don't
> > > know what it is, and in hindsight it probably wouldn't make much sense
> > > to do that at runtime, although I'm willing to be convinced otherwise=
=2E :)
> > >
> > > Regards
> > > Andrew
> >=20
> > You can also comment out the 'ipv6_enable=3D"YES"' line in /etc/rc.conf.
>=20
> I just ensured my rc.conf didn't have=20
>=20
> ipv6_enable=3D"YES"
>=20
> dropped to single user mode and came back up and it appears there is
> still support for IPv6

ipv6_enable=3D"YES" is defined in /etc/defaults/rc.conf, so you have to
define ipv6_enable=3D"NO" in /etc/rc.conf to realize any change.

FYI, since I actively use IPv6, I can't really say what the above
definition will actually accomplish, but wanted to clear up what needed
to be defined in /etc/rc.conf.

To get rid of IPv6 completely (why would you want this? :) ), you should
definitely rebuild your kernel without INET6.

--=20
Michael W. Oliver
[see complete headers for contact information]


--HlL+5n6rz5pIUxbD
Content-Type: application/pgp-signature
Content-Disposition: inline

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

iD8DBQFBoKzOsWv7q8X6o8kRAsA4AJwL6EPh/nnyn0YxmA7+/IIKuZCAUQCgiWzy
bZ5LavpWg0jLiVmw+IIf2zE=
=iUic
-----END PGP SIGNATURE-----

--HlL+5n6rz5pIUxbD--



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