IPv6 over IPv4 Tunneling Using GRE Tunnel Configuration on Huawei Routers

IPv6 over IPv4 Tunneling Using GRE Tunnel Configuration on Huawei Routers

IPv6 over IPv4 tunneling technology can be used by ISPs for a smooth transition from IPv4 networks to IPv6 networks. In this lab, we will demonstrate how to configure IPv6 over IPv4 tunneling on Huawei routers using manual and GRE tunnels.

Below is our topology diagram:

Topology Diagram

Configuration procedure:

  1. Configure IPv4 addresses on interfaces.
  2. Configure OSPF instance 10 area 0 in the backbone network on R1, R2, and R3 routers. confirm the peering is up and reachability is OK.

Peering is Up

3. Enable IPv6 on routers R1 and R2, and configure loopback 100 with IPv6 addresses to simulate IPv6 clients.

4. Configure tunnels on R1 and R2, You need to enable IPv6, configure tunnel protocol, specify the source IP as Loopback 0, and configure the tunnel destination as the loopback 0 of the remote router.

**************************R1*************************
interface Tunnel0/0/0
 ipv6 enable                # enable IPv6
 ipv6 address 2003:3::1/64 
 tunnel-protocol gre       # configure tunnel protocol
 source LoopBack0           # specify tunnel source 
 destination 3.3.3.3        # configure tunnel destination
#        
***************************R3*************************
interface Tunnel0/0/0
 ipv6 enable 
 ipv6 address 2003:3::2/64 
 tunnel-protocol gre
 source LoopBack0
 destination 1.1.1.1
#        

5. Verification:

The IPv6 ping from R1 to R2 is OK:

The packet capture shows IPv6 packets carried over GRE tunnel.

Packet capture

The setup and entire configuration scripts for this lab are available on demand. Feel free to reach out are request.

Neil Mukhamediev

Senior Network Engineer

1 年

Great article. TNSR router supports both IPv4 and IPv6 GRE tunnels. Good luck on your project.

Thabo M.

L2 Network Engineer Vodacom

1 年

Lovely post very educational

Emmanuel Sam

Snr Solutions Architect | Network Infrastructures | Network Security |

1 年

Most cisco switches are dual stack...

回复
Haris Dildar

IP Datacom Engineer. Interested in Cyber Security. Passionate about developing new skills.

1 年

Thanks for sharing.

MUZI PHIRI

Senior Systems and Network Engineer: NDip Computer Systems || HCNA || JNCIA-Junos || JNCIA-SEC || JNCDA || JNCIA-Cloud || NSE 1 || NSE 2||AZ-900

1 年

May i please have scripts and lab setup

要查看或添加评论,请登录

Martin Indeche的更多文章

社区洞察

其他会员也浏览了