User Tools

Site Tools


disable_ipv6_in_alma_linux

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
disable_ipv6_in_alma_linux [2024/04/24 17:22] – [IPV6 Address Removal] walkeradmindisable_ipv6_in_alma_linux [2024/04/24 17:25] – [IPV6 Address Removal] walkeradmin
Line 48: Line 48:
 # For more information, see sysctl.conf(5) and sysctl.d(5). # For more information, see sysctl.conf(5) and sysctl.d(5).
 </file> </file>
 +\\ 
 +At the end of this file, add the following lines (you may not need all of them, or you may need more) replacing the interface names with your own.
 +\\ 
 +\\ 
 +<file>
 +net.ipv6.conf.eno1.disable_ipv6 = 1
 +net.ipv6.conf.eno2.disable_ipv6 = 1
 +net.ipv6.conf.eno3.disable_ipv6 = 1
 +net.ipv6.conf.eno4.disable_ipv6 = 1
 +net.ipv6.conf.mngt.disable_ipv6 = 1
 +</file>
 +Save the file. Next we need to edit the ifcfg-enox files in /etc/sysconfig/network-scripts.
 +\\ 
 +\\ 
 +In each file add the following 2 lines
 +\\ 
 +  IPV6INIT=no
 +  IPV6_AUTOCONF=no
 +\\ 
 +Once all the changes have been made, reboot the server.
 +\\ 
 +\\ 
 +----
 +
disable_ipv6_in_alma_linux.txt · Last modified: 2024/04/24 23:04 by walkeradmin