Got it

IPv6 over IPv4 tunnels

Latest reply: Oct 14, 2021 10:33:57 598 7 7 0 0

As the widely used of the IPv6, the network is facing the new problems, how to connect the isolated IPv6 sites together over the IPv4 network.

Considering these problems, the IPv6 over IPv4 tunnels are introduced.

The IPv6 over IPv4 tunnels includes four realization modes, manual IPv6 over IPv4 tunnel, automaticac IPv6 over IPv4 tunnel, 6to4 tunnel and ISATAP tunnel.

 

topo

 

suppose we are going to connect the two isolated IPv6 sites togother. I’ll introduce three way to do this.

(tips: the connection between G0/0/0 of R1 and G0/0/1 of R2 should be fine)

 

Manual IPv6 over IPv4 tunnel

R1:
#
interface Tunnel0/0/1
 ipv6 enable
 ipv6 address 2001::1/64
 tunnel-protocol ipv6-ipv4         //assign the tunnel mode to manual IPv6 over IPv4
 source GigabitEthernet0/0/0       //assign the outward interface, it could be replaced with the IPv4 address
 destination 10.1.23.2             //assign the remote IPv4 address
#

The corresponding configuration should be enabled on R2.

Manual IPv6 over IPv4 tunnel requires the administrator to assign the remote peer manually.

 

Automatica IPv6 over IPv4 tunnel:

R1:
#
interface Tunnel0/0/2
 ipv6 enable
 ipv6 address ::10.1.12.1/96  //the IPv6 address should be the format of ::A.B.C.D, A.B.C.D is the IPv4 address of the source interface.
 tunnel-protocol ipv6-ipv4 auto-tunnel  //assign the tunnel mode to automatica IPv6 over IPv4
 source GigabitEthernet0/0/0   //assign the outward interface, it could be replaced with the IPv4 address.
#

 

6to4

Like the automatica IPv6 over IPv4 tunnel, 6to4 is a special automatica IPv6 over IPv4 tunnel.

R1:
#
interface Tunnel0/0/2
 ipv6 enable
 ipv6 address 2002:A01:D03::1/64   //the IPv6 address should be the format of 2002:A.B.C.D::/64. A.B.C.D is the IPv4 address of the source interface, the last 80 bit of the IPv6 address is assigned by the administrator.
 tunnel-protocol ipv6-ipv4 6to4    //assign the tunnel mode to 6to4
 source GigabitEthernet0/0/0       // assign the outward interface, it could be replaced with the IPv4 address.
#

 


thanks for sharing
View more
  • x
  • convention:

Vlada85
MVE Author Created Oct 3, 2021 16:33:36

Good
View more
  • x
  • convention:

ulrichwandja
ulrichwandja Created Oct 3, 2021 16:58:59 (0) (0)
✌  
Great
View more
  • x
  • convention:

AL_93
Moderator Created Oct 12, 2021 04:18:49

Useful Info, thank you!
View more
  • x
  • convention:

Great post, keep up the good work!
View more
  • x
  • convention:

Good one
View more
  • x
  • convention:

Comment

You need to log in to comment to the post Login | Register
Comment

Notice: To protect the legitimate rights and interests of you, the community, and third parties, do not release content that may bring legal risks to all parties, including but are not limited to the following:
  • Politically sensitive content
  • Content concerning pornography, gambling, and drug abuse
  • Content that may disclose or infringe upon others ' commercial secrets, intellectual properties, including trade marks, copyrights, and patents, and personal privacy
Do not share your account and password with others. All operations performed using your account will be regarded as your own actions and all consequences arising therefrom will be borne by you. For details, see " User Agreement."

My Followers

Login and enjoy all the member benefits

Login

Block
Are you sure to block this user?
Users on your blacklist cannot comment on your post,cannot mention you, cannot send you private messages.
Reminder
Please bind your phone number to obtain invitation bonus.