Page 1 of 1

IPV 6 disable

Posted: Sat Feb 11, 2017 20:11
by zongo
I have been looking everywhere to see the best approach to disable IPV6. I haven't had much luck. First step was to set ignore in NetworkManager but no go. I read the manual but nothing much on how to disable IPV6.
Any help is much appreaciated

Re: IPV 6 disable

Posted: Sat Feb 11, 2017 23:50
by Fitzcarraldo
Edit /etc/modprobe.d/aliases.conf and uncomment (remove the hash from the beginning of) the line:

Code: Select all

# alias net-pf-10 off           # IPv6
then reboot. See if that works for you.

Re: IPV 6 disable

Posted: Sun Feb 12, 2017 12:25
by zongo
Thanks but no dice

inet6 fe80::fa16:54ff:fe33:70c

Any other idea ?

You would think this be an easy thing to do. I read the Doc and could not find anything relating to this subject which is very strange. Any other distro arch, ubuntu has easy steps to disable ipv6 !

Re: IPV 6 disable

Posted: Sun Feb 12, 2017 18:40
by Fitzcarraldo
Add 'ipv6.disable=1' (without the quotes) to the kernel boot line in /boot/grub/grub.cfg and reboot to see if it works. If it does, also add it to GRUB_CMDLINE_LINUX in /etc/default/sabayon-grub so that it is added automatically to grub.cfg the next you or a utility runs the 'grub-mkconfig -o /boot/grub/grub.cfg' command to regenerate grub.cfg:

Code: Select all

GRUB_CMDLINE_LINUX="locale=en_GB dolvm resume=/dev/sda3 vconsole.keymap=uk rd.vconsole.keymap=uk splash quiet ipv6.disable=1"