Re: Disable IPv6
-----BEGIN PGP SIGNED MESSAGE-----
Adam Hardy wrote:
> Just a quick question - can I disable IPv6 for my whole machine?
> I mean apart from changing some kernel compilation flags.
> I have two software apps which are meant to be interacting with each
> other and with servers on the net, but they aren't and they aren't
> giving me much to go on, and their respective support teams are blaming
> each other for the resulting connectivity issues.
> This is only temporary (I hope) - it is a gateway machine I'm talking
> about - the apps are running on Windows on the LAN.
> I found this on the net:
> You can disable IPv6 system-wide by editing your module configuration
> file. This is usually one of /etc/odprobe.conf or
> /etc/modprobe.d/aliases, depending on your distro. Remove any references
> to IPv6 and add these two lines.
> alias net-pf-10 off
> alias ipv6 off
> Is that going to do the job fine for lenny?
What is your distro, your kernel?
For lenny's kernel 2.6.26 you can include the file ipv5.conf into the
directory /etc/modprobe.d with the next content:
For the next versions of kernel (i.e. 2.6.32) you can include the words
"ipv6.disable=1" into /boot/grub/menu.lst such as the next:
root=UUID=xxxxxxxxxxxxxxxxxxxxx ipv6.disable=1 ro
Or compile your own kernel withount ipv6 from sources.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
-----END PGP SIGNATURE-----