Get the App
SLTechnology News&Howtos  ›  Internet Technology  › 

How does linux centOS turn on ipv6

Shulou Source: shulou.com Published: 2022-06-02 07:33:53 11月01日 Update

This article introduces the knowledge of "how linux centOS opens ipv6". In the operation of actual cases, many people will encounter such a dilemma. Next, let the editor lead you to learn how to deal with these situations. I hope you can read it carefully and be able to achieve something!

Turn on ipv6

1. Modify / etc/sysctl.conf

Vim / etc/sysctl.conf

# net.ipv6.conf.all.disable_ipv6 = 1

Net.ipv6.conf.all.disable_ipv6 = 0

Net.ipv6.conf.default.disable_ipv6 = 0

Net.ipv6.conf.lo.disable_ipv6 = 0

two。 Execute the command to enable IPv6

Sysctl-p

3. View ip

Ifconfig

Satellite: / etc/sysconfig/network network configuration

/ etc/sysconfig/network-scripts/ifcfg-eth0 network card configuration

Ping ipv4addr

Name of ping6 ipv6addr% network card (ifcfg-eth0 DEVICE=eth0)

Related testing website: http://test-ipv6.com/

Http://ipv6-test.com/

This is the end of the content of "how linux centOS starts ipv6". Thank you for reading. If you want to know more about the industry, you can follow the website, the editor will output more high-quality practical articles for you!

Tags: Content more knowledge network card website configuration practical successful learning next name command dilemma reality situation article case editing network industry process Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Redmi Shulou Information Microsoft OPPO Reno MariaDB