IPV 6 disable

Issues Related to Networking (Wired and Wireless)

Moderator: Moderators

Post Reply
zongo
Baby Hen
Posts: 11
Joined: Sat Jun 11, 2016 15:49

IPV 6 disable

Post by zongo » Sat Feb 11, 2017 20:11

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

User avatar
Fitzcarraldo
Sagely Hen
Posts: 8091
Joined: Sat Mar 10, 2007 5:40
Location: United Kingdom
Contact:

Re: IPV 6 disable

Post by Fitzcarraldo » Sat Feb 11, 2017 23:50

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.

zongo
Baby Hen
Posts: 11
Joined: Sat Jun 11, 2016 15:49

Re: IPV 6 disable

Post by zongo » Sun Feb 12, 2017 12:25

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 !

User avatar
Fitzcarraldo
Sagely Hen
Posts: 8091
Joined: Sat Mar 10, 2007 5:40
Location: United Kingdom
Contact:

Re: IPV 6 disable

Post by Fitzcarraldo » Sun Feb 12, 2017 18:40

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"

Post Reply