Let's talk about IPv4 to IPv6 tunnel

Let's talk about IPv4 to IPv6 tunnel

[[273990]]

When is IPv6 tunneling used?

Connect to a pure IPv6 network, such as some campus network PT stations

When used on a server, you can add an AAAA record to your server directly, and users with pure IPv6 (such as domestic education networks) can directly access your server.

Intranet penetration: others can directly penetrate into the intranet using IPv6 addresses

Tutorial

1. Register Tunnel Broker

Registration is relatively simple, so the process is omitted


2. Create a tunnel

Click Create Regular Tunnel



Configuring the Client

Select Example Configurations


Select the system type. Here we use CentOS. If there is no system type, select Linux-net-tools.


Execute the above command on the server


The configuration generated at this time will become invalid after restarting the server. If you want the tunnel configuration to take effect after booting, you need the following configuration:

  1. # echo "sit1 ::/0" >/etc/sysconfig/ static -routes-ipv6
  2. # cat>/etc/sysconfig/network-scripts/ifcfg-sit1<<EOF
  3. DEVICE=sit1
  4. ONBOOT=yes
  5. IPV6INIT=yes
  6. IPV6TUNNELIPV4=66.220.18.42
  7. IPV6ADDR=2001:470:c:113a::2/64
  8. EOF
  9. # sed -i 's/^NETWORKING_IPV6.*/NETWORKING_IPV6=yes/' /etc/sysconfig/network

test:

Remember to ping the accessible domestic IPv6 addresses, such as Tsinghua University's:

<<:  The principle of Ethernet data transmission is like this, it is worth collecting

>>:  How to stress test network traffic?

Recommend

Security and Reliability of Critical Infrastructure Fiber Optic Networks

Figure 1: Growing Asia Pacific fiber optic market...

Division of wireless AP channels in WLAN

What is a channel? Channel is commonly referred t...

China has built and put into operation more than 1.39 million 5G base stations

According to Zhongguancun Online, relevant person...

Smart commercial buildings: Top 10 technologies to watch

In recent years, rapid advances in digital techno...

Ten major trends in the future of industrial Internet

In recent years, major countries around the world...

Phicomm N1 (Tiantian Chain) flash YYF voice version

More than 2 years ago, I recorded the process of ...

Understanding Observability and Opentelemetry in one article

√Introduction to Observability √Introduce the cor...

5G in numbers: 5G trends revealed by statistics in the first half of 2021

[[420577]] 2021 marks the second anniversary of t...