R3303-HP HSR6800 Routers Layer 3 - IP Services Configuration Guide
270
10 packets output, 840 bytes
0 output error
# From Router B, ping the IP address of GigabitEthernet 2/1/1 on Router A.
[RouterB] ping 10.1.1.1
PING 10.1.1.1: 56 data bytes, press CTRL_C to break
Reply from 10.1.1.1: bytes=56 Sequence=1 ttl=255 time=2 ms
Reply from 10.1.1.1: bytes=56 Sequence=2 ttl=255 time=2 ms
Reply from 10.1.1.1: bytes=56 Sequence=3 ttl=255 time=2 ms
Reply from 10.1.1.1: bytes=56 Sequence=4 ttl=255 time=2 ms
Reply from 10.1.1.1: bytes=56 Sequence=5 ttl=255 time=2 ms
--- 10.1.1.1 ping statistics ---
5 packet(s) transmitted
5 packet(s) received
0.00% packet loss
round-trip min/avg/max = 2/2/2 ms
GRE over IPv6 tunnel configuration example
Network requirements
As shown in Figure 115 , two IPv4 subnets Group 1 and Group 2 are connected to an IPv6 network.
Create a GRE over IPv6 tunnel between Router A and Router B, so that the two IPv4 subnets can
communicate with each other through the GRE tunnel over the IPv6 network.
Figure 115 Network diagram
Configuration procedure
Before the configuration, make sure Router A and Router B can reach each other.
1. Configure Router A:
<RouterA> system-view
# Enable IPv6.
[RouterA] ipv6
# Configure an IPv4 address for interface GigabitEthernet 2/1/1.
[RouterA] interface gigabitethernet 2/1/1
[RouterA-GigabitEthernet2/1/1] ip address 10.1.1.1 255.255.255.0
[RouterA-GigabitEthernet2/1/1] quit
# Configure an IPv6 address for interface Serial 2/2/0, the physical interface of the tunnel.
[RouterA] interface serial 2/2/0
[RouterA-Serial2/2/0] ipv6 address 2002::1:1 64
[RouterA-Serial2/2/0] quit
# Create a tunnel interface Tunnel 0.