Re: what is the F19 way to disable ipv6?

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

 



On 07/15/2013 02:44 PM, Michal Schmidt wrote:
On 07/13/2013 01:44 AM, Reindl Harald wrote:
please take a look at this
https://bugzilla.redhat.com/show_bug.cgi?id=982740#c12

what do we do in the future to disable ipv6 entirely
and why is "ipv6.disable=1" as kernel param at least
with 3.10.0-1.fc20.x86_64 on F19?

Back in 2011 the preferred kernel parameter to do that was "ipv6.disable_ipv6=1":
https://lists.fedoraproject.org/pipermail/kernel/2011-June/003106.html
I assume it's still true today.

"ipv6.disable=1" should still work though. I still see it handled net/ipv6/af_inet6.c.

In the linked Bugzilla comment you mentioned "ipv6disable=1" (without a dot). Did this ever work? I think it's a typo.


Adding |ipv6.disable=1| to the kernel commandline disables the whole IPv6 stack
||
Adding |ipv6.disable_ipv6=1| will keep the IPv6 stack functional but will not assign IPv6 addresses to any of your network devices.

Creating and adding to for example /etc/sysctl.d/ipv6.conf will avoid assigning IPv6 addresses to spesific network interface
# Disable IPv6
net.ipv6.conf.all.disable_ipv6 = 1
net.ipv6.conf.<interface0>.disable_ipv6 = 1

However disabling IPv6 functionality in the kernel will not necessary prevent other programs from trying to use IPv6 like for example dhcpd which requires to add "noipv6rs" to /etc/dhcpd.conf so one needs to consult the man pages for relevant program on how to disable it.

JBG
_______________________________________________
kernel mailing list
kernel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/kernel





[Index of Archives]     [Fedora General Discussion]     [Older Fedora Users Archive]     [Fedora Advisory Board]     [Fedora Security]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Mentors]     [Fedora Package Announce]     [Fedora Package Review]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Coolkey]     [Yum Users]     [Tux]     [Yosemite News]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [USB]     [Asterisk PBX]

  Powered by Linux