6To4 Tunnel Configuration Example - H3C MSR 2600 Configuration Manual

Layer 3
Hide thumbs Also See for MSR 2600:
Table of Contents

Advertisement

Step
7.
(Optional.) Enable
dropping of IPv6 packets
using IPv4-compatible
IPv6 addresses.

6to4 tunnel configuration example

Network requirements
As shown in
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.
Command
tunnel discard
ipv4-compatible-packet
Figure
104, configure a 6to4 tunnel between 6to4 routers Router A and Router B so Host A
251
Remarks
The default setting is disabled.

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents