Internet Protocol
version 6 (IPv6) is the latest version of the Internet Protocol (IP) that
provides an identification and location for Internet of devices on networks and
provides a larger IP addressing scheme for Internet of devices.
For some reasons, disable IPv6 is required on the server. Following steps describes how to disable IPv6 on CentOS 7 system.
For some reasons, disable IPv6 is required on the server. Following steps describes how to disable IPv6 on CentOS 7 system.
Step 1: Edit the /etc/sysctl.conf configure file
and put the following lines in end of the file:
[root@linuxcloudy
~]# vi /etc/sysctl.conf
……………………….
net.ipv6.conf.all.disable_ipv6
= 1
net.ipv6.conf.default.disable_ipv6
= 1
|
Step 2. Save the changes and run the following command to reflect the
changes:
[root@linuxcloudy
~]# sysctl -p
…………………………
net.ipv6.conf.all.disable_ipv6
= 1
net.ipv6.conf.default.disable_ipv6
= 1
[root@linuxcloudy
~]#
|
Done!!!
No comments:
Post a Comment