HP VPN Firewall Appliances VPN Configuration Guide

80
# Configure the default route to the IPv6-only network.
[FirewallA] ipv6 route-static :: 0 2002:0601:0101::1
Configure Firewall B:
# Enable IPv6.
<FirewallB> system-view
[FirewallB] ipv6
# Configure an IPv4 address for GigabitEthernet 0/2.
[FirewallB] interface gigabitethernet 0/2
[FirewallB-GigabitEthernet0/2] ip address 6.1.1.1 255.255.255.0
[FirewallB-GigabitEthernet0/2] quit
# Configure an IPv6 address for GigabitEthernet 0/1.
[FirewallB] interface gigabitethernet 0/1
[FirewallB-GigabitEthernet0/1] ipv6 address 2001::1/16
[FirewallB-GigabitEthernet0/1] quit
# Configure a 6to4 tunnel.
[FirewallB] interface tunnel 0
[FirewallB-Tunnel0] ipv6 address 2002:0601:0101::1/64
[FirewallB-Tunnel0] source gigabitethernet 0/2
[FirewallB-Tunnel0] tunnel-protocol ipv6-ipv4 6to4
[FirewallB-Tunnel0] quit
# Configure a static route whose destination address is 2002::/16 and next-hop is the tunnel
interface.
[FirewallB] ipv6 route-static 2002:: 16 tunnel 0
Verifying the configuration
# Ping Host B from Host A. The ping operation succeeds.
D:\>ping6 -s 2002:201:101:1::2 2001::2
Pinging 2001::2
from 2002:201:101:1::2 with 32 bytes of data:
Reply from 2001::2: bytes=32 time=13ms
Reply from 2001::2: bytes=32 time=1ms
Reply from 2001::2: bytes=32 time=1ms
Reply from 2001::2: bytes=32 time<1ms
Ping statistics for 2001::2:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 0ms, Maximum = 13ms, Average = 3ms