disable_ipv6_in_alma_linux
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| disable_ipv6_in_alma_linux [2024/04/24 16:20] – [Introduction] walkeradmin | disable_ipv6_in_alma_linux [2024/04/24 22:04] (current) – walkeradmin | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== Disable IPV6 in Alma Linux ====== | ====== Disable IPV6 in Alma Linux ====== | ||
| - | <color #db5f0b>Jan 2024</ | + | <color #db5f0b>Apr 2024</ |
| \\ | \\ | ||
| \\ | \\ | ||
| Line 34: | Line 34: | ||
| \\ | \\ | ||
| \\ | \\ | ||
| + | From SSH, Edit the file <color # | ||
| + | \\ | ||
| + | < | ||
| + | # sysctl settings are defined through files in | ||
| + | # / | ||
| + | # | ||
| + | # Vendors settings live in / | ||
| + | # To override a whole file, create a new file with the same in | ||
| + | # / | ||
| + | # only specific settings, add a file with a lexically later | ||
| + | # name in / | ||
| + | # | ||
| + | # For more information, | ||
| + | </ | ||
| + | \\ | ||
| + | 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. | ||
| + | \\ | ||
| + | \\ | ||
| + | < | ||
| + | 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 | ||
| + | </ | ||
| + | Save the file. Next we need to edit the ifcfg-enox files in / | ||
| + | \\ | ||
| + | \\ | ||
| + | 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.1713975620.txt.gz · Last modified: by walkeradmin
