In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/02 Report--
Today, I would like to talk to you about how to disable IPV6 in the Linux system. Many people may not know much about it. In order to make you understand better, the editor has summarized the following for you. I hope you can get something according to this article.
IPv6 was born as early as the 1990s. IPv6, whose full name is Internet Protocol version 6, is the latest version of the Internet protocol and is used as a protocol for the Internet. The main purpose of using it to replace IPv4 is to solve the problem of IPv4 address exhaustion, and it also has many improvements to IPv4 in other aspects.
Whether the IPV6 protocol should be "enabled or disabled" is not an easy question to answer. This is like a gray area, full of all kinds of viewpoints. If you want to shut down, you can learn this article. This document introduces how to disable IPV6 in Linux system. It contains long code that can be copied and slid to the left. I hope it will be helpful to you!
Surroundings
RHEL7.3
Change / etc/sysctl.conf profile
[root@liangxu] # vim / etc/sysctl.conf # sysctl settings are defined through files in# / usr/lib/sysctl.d/, / run/sysctl.d/, and / etc/sysctl.d/.## Vendors settings live in / usr/lib/sysctl.d/.# To override a whole file, create a new file with the same in# / etc/sysctl.d/ and put new settings there. To override# only specific settings, add a file with a lexically later# name in / etc/sysctl.d/ and put new settings there.## For more information See sysctl.conf (5) and sysctl.d (5). Net.ipv6.conf.all.disable_ipv6 = 1net.ipv6.conf.default.disable_ipv6 = 1 [root@liangxu] # ifconfig# IPV6 field inet6 fe80::250:56ff:fe22:db62ens33: flags=4163mtu 1500 inet 192.168.10.11 netmask 255.255.255.0 broadcast 192.168.10.255 inet6 fe80::250:56ff:fe22:db62 prefixlen 64 scopeid 0x20 ether 00:50:56: 22:db:62 txqueuelen 1000 (Ethernet) RX packets 11717 bytes 4355183 (4.1 MiB) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 6943 bytes 2011730 (1.9 MiB) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0lo: flags=73mtu 65536 inet 127.0.0.1 netmask 255.0.0.0 inet6:: 1 prefixlen 128 scopeid 0x10 loop txqueuelen 1 (Local Loopback) RX packets 112 bytes 9492 (9.2 KiB) RX errors 0 dropped 0 overruns 0 frame 0112 bytes 9492 (9.2 KiB) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 [root@liangxu] # sysctl-p # make the configuration file effective immediately net.ipv6.conf.all.disable_ipv6 = 1net.ipv6.conf.default.disable_ipv6 = 1 [root@liangxu] # ifconfig # IPV6 field has disappeared ens33: flags=4163mtu 1500 inet 192.168 .10.11 netmask 255.255.255.0 broadcast 192.168.10.255 ether 00:50:56:22:db:62 txqueuelen 1000 (Ethernet) RX packets 11747 bytes 4357703 (4.1 MiB) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 6961 bytes 2014592 (1.9 MiB) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0lo: flags=73mtu 65536 inet 127.0.0.1 netmask 255.0.0.0 Loop txqueuelen 1 (Local Loopback) RX packets 112bytes 9492 (9.2KiB) RX errors 0 dropped 0 overruns 0TX packets 0112bytes 9492 (9.2KiB) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 what is Linux system Linux is a free-to-use and free-spread UNIX-like operating system Is a POSIX-based multi-user, multi-tasking, multi-threaded and multi-CPU operating system, using Linux to run major Unix tools, applications and network protocols.
After reading the above, do you have any further understanding of how to disable IPV6 on the Linux system? If you want to know more knowledge or related content, please follow the industry information channel, thank you for your support.
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.