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

The turning point has arrived, and operators will face major changes in 2019

According to the financial report, China Telecom&...

What does the increasingly popular 5G public network dedicated service mean?

[[426454]] This article is reprinted from the WeC...

HostDare: 10% off on CN2 GIA VPS in Los Angeles, starting at $44.99 per year

HostDare launched a promotion for the CKVM series...

In the era of the Internet of Things, using DDI to improve security

The era of the Internet of Things has arrived. No...

The content road for operators may not be smooth

Since 2018, the gap between traffic volume and re...

How to deploy 5G and edge computing?

The telecommunications sector around the world is...

Growth and development opportunities brought by 5G to IoT companies

Since the first major announcement just two years...

Can 5G save operators from negative growth at the beginning of the year?

Although work has not yet been fully resumed, the...