RedHat / Centos Disable IPv6 Networking

https://w‮ual.ww‬tturi.com
RedHat / Centos Disable IPv6 Networking

To disable IPv6 networking on a Red Hat Enterprise Linux or CentOS system, you will need to edit the system's network configuration files and set the IPV6INIT option to no. This will disable IPv6 support for all network interfaces on the system.

Here's a general outline of the steps you will need to follow to disable IPv6 networking on a Red Hat Enterprise Linux or CentOS system:

  1. Open the /etc/sysconfig/network file in a text editor. This file contains the system-wide network configuration options.

  2. Locate the NETWORKING_IPV6 option in the file.

  3. Set the NETWORKING_IPV6 option to no. This will disable IPv6 support for all network interfaces on the system.

  4. Save the file and close the text editor.

  5. Open the /etc/sysconfig/network-scripts/ifcfg-* files in a text editor. These files contain the network configuration options for each network interface on the system.

  6. Locate the IPV6INIT option in each file.

  7. Set the IPV6INIT option to no in each file. This will disable IPv6 support for the respective network interface.

  8. Save the files and close the text editor.

  9. Restart the network service to apply the changes. You can use the systemctl command to restart the network service.

systemctl restart network

Once you have disabled IPv6 networking on your system, it should no longer support IPv6 for any network interfaces. Consult the Red Hat Enterprise Linux or CentOS documentation and online resources for more information on how to configure and manage network settings on your system.

Created Time:2017-10-30 14:27:15  Author:lautturi