Re: remove IPv6 interfaces
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Alejandro wrote:
> Dear all, I want to remove the IPv6 interfaces I see when I run the
> "ifconfig -a" command on my Debian Etch box, this is the output of the
> named command:
>
> 127.0.0.1 localhost
> 10.1.1.1 alex
>
> #The following lines are desirable for IPv6 capable host (added
> automatically by netbase upgrade)
>
> ::1 ip6-localhost
> fe00:0 ip6-localnet
> ff00:0 ip6-mcastprefix
> .....
>
> How can I remove the IPv6 interfaces ????
>
> Regards,
>
> alejandro.-
>
>
Greetings Alejandro:
In /etc/modprobe.d/aliases (if it exists), change
alias net-pf-10 ipv6
to
alias net-pf-10 off
and add
alias ipv6 off
In /etc/modutils/aliases (if it exists), uncomment
# alias net-pf-10 off #IPv6
and add
alias ipv6 off
Once you have modified both files to remove the references binding
net-pf-10 to ipv6 and to disable the loading of the ipv6 module, run
update-modules
to build a new /etc/modules.conf.
You can remove any ipv6 references from /etc/network/interfaces,
/etc/resolv.conf, and /etc/hosts.
Reboot the machine.
Good luck.
- -Scott
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFFK/uwS7FYdPX6+iYRAlPEAKCRnqgheJhvUUMfOY/TciM5kr3SdwCfYFR7
HLYpGMS/Vd4xI9ajF9kcTOs=
=GgmV
-----END PGP SIGNATURE-----
Reply to: