Ubuntu networking: Difference between revisions

From Lolly's Wiki
Jump to navigationJump to search
(Die Seite wurde neu angelegt: „Kategorie:Ubuntu Kategorie:Linux ==Disable IPv6== ===Create /etc/sysctl.d/60-disable-ipv6.conf=== Create a file named <i>/etc/sysctl.d/60-disable-ipv…“)
 
No edit summary
Line 1: Line 1:
[[Kategorie:Ubuntu]]
[[Kategorie:Ubuntu|Networking]]
[[Kategorie:Linux]]
[[Kategorie:Linux|Networking]]


==Disable IPv6==
==Disable IPv6==

Revision as of 15:57, 5 April 2016

Networking Networking

Disable IPv6

Create /etc/sysctl.d/60-disable-ipv6.conf

Create a file named /etc/sysctl.d/60-disable-ipv6.conf with this content:

net.ipv6.conf.all.disable_ipv6 = 1
net.ipv6.conf.default.disable_ipv6 = 1
net.ipv6.conf.lo.disable_ipv6 = 1

Activate /etc/sysctl.d/60-disable-ipv6.conf

# sysctl -p /etc/sysctl.d/10-disable-ipv6.conf
net.ipv6.conf.all.disable_ipv6 = 1
net.ipv6.conf.default.disable_ipv6 = 1
net.ipv6.conf.lo.disable_ipv6 = 1

Check settings

# cat /proc/sys/net/ipv6/conf/all/disable_ipv6
1