HP MSR2000/3000/4000 Router Series Layer 3 - IP Services Configuration Guide

250
Ste
p
Command
Remarks
7. (Optional.) Enable
dropping of IPv6 packets
using IPv4-compatible
IPv6 addresses.
tunnel discard
ipv4-compatible-packet
The default setting is disabled.
6to4 tunnel configuration example
Network requirements
As shown in Figure 104, configure a 6to4 tunnel between 6to4 routers Router A and Router B so Host A
and Host B can reach each other over the IPv4 network.
Figure 104 Network diagram
Configuration considerations
To enable communication between 6to4 networks, configure 6to4 addresses for 6to4 routers and hosts
in the 6to4 networks.
The IPv4 address of Ethernet 1/2 on Router A is 2.1.1.1/24, and the corresponding 6to4 prefix is
2002:0201:0101::/48. Host A must use this prefix.
The IPv4 address of Ethernet 1/2 on Router B is 5.1.1.1/24, and the corresponding 6to4 prefix is
2002:0501:0101::/48. Host B must use this prefix.
Configuration procedure
Before configuring a 6to4 tunnel, make sure Router A and Router B can reach each other through IPv4.
Configure Router A:
# Specify an IPv4 address for Ethernet 1/2.
<RouterA> system-view
[RouterA] interface ethernet 1/2
[RouterA-Ethernet1/2] ip address 2.1.1.1 24
[RouterA-Ethernet1/2] quit
# Specify a 6to4 address for Ethernet 1/1.
[RouterA] interface ethernet 1/1
[RouterA-Ethernet1/1] ipv6 address 2002:0201:0101:1::1/64
[RouterA-Ethernet1/1] quit
# Create a 6to4 tunnel interface tunnel 0.