User Tools

Site Tools


wiki:disable_ipv6

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Last revisionBoth sides next revision
wiki:disable_ipv6 [2017/05/31 20:54] walkeradminwiki:disable_ipv6 [2017/05/31 20:58] walkeradmin
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.txt · Last modified: 2023/03/09 22:35 by 127.0.0.1