HP MSR2000/3000/4000 Router Series Layer 3 - IP Services Configuration Guide
260
To configure an IPv4 over IPv6 manual tunnel:
Step Command Remarks
1. Enter system view.
system-view
N/A
2. Enter tunnel interface
view.
interface tunnel number [ mode
ipv6 ]
N/A
3. Configure an IPv4
address for the tunnel
interface.
ip address ip-address { mask |
mask-length } [ sub ]
By default, no IPv4 address is configured
for the tunnel interface.
4. Configure the source
address or interface for
the tunnel interface.
source { ipv6-address |
interface-type interface-number }
By default, no source address or interface
is configured for the tunnel.
The specified source address or the
primary IPv6 address of the specified
source interface is used as the source IPv6
address of tunneled packets.
5. Configure the
destination address for
the tunnel interface.
destination ipv6-address
By default, no destination address is
configured for the tunnel.
The tunnel destination address must be
the IPv6 address of the receiving interface
on the tunnel peer. It is used as the
destination IPv6 address of tunneled
packets.
Configuration example
Network requirements
As shown in Figure 108, configure an IPv4 over IPv6 manual tunnel between Router A and Router B so
the two IPv4 networks can reach each other over the IPv6 network.
Figure 108 Network diagram
Configuration procedure
Make sure Router A and Router B can reach each other through IPv6.
• Configure Router A:
# Specify an IPv4 address for Ethernet 1/1.
<RouterA> system-view
[RouterA] interface ethernet 1/1
[RouterA-Ethernet1/1] ip address 30.1.1.1 255.255.255.0
[RouterA-Ethernet1/1] quit
S2/0
2001::1:1/64
Eth1/1
30.1.3.1/24
Eth1/1
30.1.1.1/24
Router A
IPv6 network
IPv4
network 1
Tunnel1
30.1.2.1/24
S2/1
2002::2:1/64
Tunnel2
30.1.2.2/24
IPv4
network 2
Router B
IPv4 over IPv6 tunnel