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

Re: Disable IPv6

Hash: SHA1

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?
> Thanks
> Adam

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:
blacklist ipv6
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:
kernel          /boot/vmlinuz-2.6.32-bpo.5-amd64
root=UUID=xxxxxxxxxxxxxxxxxxxxx ipv6.disable=1 ro
Or compile your own kernel withount ipv6 from sources.
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org


Reply to: