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

In the 5G era, will WiFi be eliminated or become more powerful?

[[268732]] There have been many debates recently ...

VXLAN L3 applies EVPN to present a complete overlay network

Preface VXLAN (Virtual eXtensible LAN) is an over...

Division of wireless AP channels in WLAN

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

The Socket and TCP connection process you must know

This article mainly explains the operation of soc...

The Legend of Network Protocols (I): ARPANET

The birth and development of the Internet is a ty...

Maxthon Hosting: 56 yuan/month Hong Kong CN2-2GB/40G SSD/300GB/15M Bandwidth

Aoyo Zhuji is one of the foreign hosting services...