wiki:disable_ipv6

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
wiki:disable_ipv6 [2017/05/31 20:53] – created walkeradminwiki:disable_ipv6 [2023/03/09 22:35] (current) – external edit 127.0.0.1
Line 1: Line 1:
 ====== Disable IPV6 CentOS ====== ====== Disable IPV6 CentOS ======
-May 2017 +<color #db5f0b>May 2017</color>
 \\  \\ 
 \\  \\ 
Line 6: Line 6:
 ---- ----
 I find having lots of references to IPV6 addresses a little distracting, especially as at this point in time I am not using them, there is however a really easy way to disable IPV6 in CentOS (and you don't have to remove any IPV6 reference from the ifcfg-xxxx files). I find having lots of references to IPV6 addresses a little distracting, especially as at this point in time I am not using them, there is however a really easy way to disable IPV6 in CentOS (and you don't have to remove any IPV6 reference from the ifcfg-xxxx files).
 +\\ 
 +\\ 
 +
 +----
 +Edit the <color #ed1c24>/etc/sysctl.conf</color>
 +\\ 
 +    vi /etc/sysctl.conf
 +\\ 
 +\\ 
 +Enter the following to disbale IPV6 on ALL interfaces:
 +\\ 
 +    net.ipv6.conf.all.disable_ipv6 = 1
 +\\ 
 +\\ 
 +Alternatively you can disable IPV6 on specific interfaces by using: (assuming en016777736 is the interface name)
 +\\ 
 +    net.ipv6.conf.eno16777736.disable_ipv6 = 1
 +\\ 
 +\\ 
 +Now enter sysctl -p or reboot, thats it.
 \\  \\ 
 \\  \\ 
  
wiki/disable_ipv6.1496260389.txt.gz · Last modified: 2023/03/09 22:35 (external edit)