In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-19 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
This article mainly shows you the "centos7 closes ipv6 only use ipv4 method", the content is easy to understand, clear, hope to help you solve doubts, the following let the editor lead you to study and learn "centos7 shut down ipv6 only use ipv4 method" this article.
Centos7 uses the ipv6 protocol, so if there is a problem, it will be difficult to troubleshoot, so if you want to shut down ipv6, how to close it?
1. Use the ifconfig command to view the Nic information. If inet6 fe80::20c:29ff:fed0:3514 appears, it means that the machine has enabled ipv6.
2. Edit / etc/sysctl.conf configuration and add net.ipv6.conf.all.disable_ipv6=1
3. Edit / etc/sysconfig/network configuration, add NETWORKING_IPV6=no, save and exit
4. Edit / etc/sysconfig/network-scripts/ifcfg-eno16777736 to make sure that the IPV6INIT=no,ifcfg-eno16777736 is based on your own machine and the actual network card information is not fixed.
5. Turn off the boot self-startup of the firewall
Systemctl disable ip6tables.service
6. Execute sysctl-p or reboot restart command
7. Use ifconfig for verification again, and only ipv4,ipv6 disappears and closes successfully
The above is all the contents of the article "centos7 shuts down ipv6 using ipv4 only". Thank you for reading! I believe we all have a certain understanding, hope to share the content to help you, if you want to learn more knowledge, welcome to follow the industry information channel!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.