Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How does linux configure IPv6 addresses for CentOS7

2025-03-29 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

Shulou(Shulou.com)05/31 Report--

This article mainly explains "how linux configures IPv6 addresses for CentOS7". The explanation in this article is simple and clear and easy to learn and understand. Please follow the editor's train of thought to study and learn "how linux configures IPv6 addresses for CentOS7".

1. Edit the / etc/sysctl.conf file and change three of the settings that disable ipv6 to:

Net.ipv6.conf.all.disable_ipv6 = 0net.ipv6.conf.default.disable_ipv6 = 0net.ipv6.conf.lo.disable_ipv6 = 0

two。 Then run the sysctl-p command to enable ipv6

3. Go to the tunnelbroker.net website and select the configuration method of linux-route2 in example configurateions. The example command is as follows:

Modprobe ipv6ip tunnel add he-ipv6 mode sit remote 216.218.221.6 local 121.43.110.72 ttl 255ip link set he-ipv6 upip addr add 2001 dev he-ipv6ip route add:: / 0 dev he-ipv6ip-f inet6 addr

4. On overseas machines, use ping6 and curl to test ipv6 tunnel address access, and the results are normal:

Thank you for your reading, the above is the content of "how linux configures IPv6 addresses for CentOS7". After the study of this article, I believe you have a deeper understanding of how linux configures IPv6 addresses for CentOS7, and the specific use needs to be verified in practice. Here is, the editor will push for you more related knowledge points of the article, welcome to follow!

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.

Share To

Development

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report