R0106-HP MSR Router Series Layer 3 - IP Services Configuration Guide(V7)

278
Ste
p
Command
Remarks
4. Configure a source address
or source interface for the
tunnel interface.
source { ip-address | interface-type
interface-number }
By default, no source address or
source interface is configured for the
tunnel interface.
The specified source address or the
primary IP address of the specified
source interface is used as the source
IP address of tunneled packets.
5. (Optional.) Set the DF bit
for tunneled packets.
tunnel dfbit enable
The DF bit is not set for tunneled
packets by default.
6. Return to system view.
quit
N/A
7. (Optional.) Enable
dropping of IPv6 packets
using IPv4-compatible IPv6
addresses.
tunnel discard
ipv4-compatible-packet
Optional.
The default setting is disabled.
6to4 tunnel configuration example
Network requirements
As shown in Figure 113 , 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 113 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 GigabitEthernet 2/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 GigabitEthernet 2/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: