[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

How to cleanly disable IPv6 on Debian Sarge?



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi!

As long as IPv6 connectivity is not common yet, there is a common,
valid case for wanting to completely disable IPv6 on a system:

If you have IPv6 enabled on your system, but don't have IPv6
connectivity, then IPv6 enabled software (such as Firefox, dig, etc.)
will go look for a AAAA DNS record and try to connect to the IPv6
address it gets there. This will not work, but take some time.

The only way to avoid that is to either
  a) get IPv6 connectivity
  b) prevent the "ipv6" kernel module from being loaded on boot

As a) is not an option for the majority of people yet, b) often
remains the only solution.

And the only way I've found so far to prevent the ipv6 module from
being loaded is to edit /etc/modprobe.d/aliases and change

,----
|alias net-pf-10 ipv6
`----

into

,----
|alias net-pf-10 off
|#alias net-pf-10 ipv6
`----

Is this correct so far?

Because if it is, it looks like a nasty bug in Sarge to me :(

Gruß,

Uli
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFBx9gu7nbUWdbN/BURAlyfAKC+HeNbd+rrX29EtrvnEIJhKNezkgCfTLOp
bUj4EGkmsj5fdDvC+hTkQdw=
=Q0P3
-----END PGP SIGNATURE-----



Reply to: