6To4 Relay Configuration Example - H3C MSR 2600 Configuration Manual

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

Advertisement

6to4 relay configuration example

Network requirements
As shown in
network. Router B serves as a 6to4 relay router and is connected to an IPv6 network (2001::/16).
Configure a 6to4 tunnel between Router A and Router B to make Host A and Host B reachable to each
other.
The configuration on a 6to4 relay router is similar to that on a 6to4 router. However, to enable
communication between the 6to4 network and the IPv6 network, you must configure a route to the IPv6
network on the 6to4 router. The IPv4 address of Ethernet 1/2 on the relay router is 6.1.1.1/24 and its
corresponding 6to4 prefix is 2002:0601:0101::/48. The next hop of the static route must be an address
using this prefix.
Figure 105 Network diagram
Configuration procedure
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 255.255.255.0
[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
# Configure a 6to4 tunnel interface tunnel 0.
[RouterA] interface tunnel 0 mode ipv6-ipv4 6to4
# Specify an IPv6 address for the tunnel interface.
[RouterA-Tunnel0] ipv6 address 2002::1/64
# Specify Ethernet 1/2 as the source interface of the tunnel interface.
[RouterA-Tunnel0] source ethernet 1/2
[RouterA-Tunnel0] quit
# Configure a static route to the 6to4 relay router.
Figure
105, Router A is a 6to4 router, and 6to4 addresses are used on the connected IPv6
253

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents