706
C
49: T
HAPTER
UNNELING
Configuration Example
C
ONFIGURATION
Network requirements
Between Router A and Router B is an IPv4 network. It is required that an IPv6
connection be established through an automatic IPv4-compatible IPv6 tunnel
between the two dual-stack routers.
Network diagram
Figure 212 Network diagram for an automatic IPv4-compatible IPv6 tunnel
Dual stack
S 2 / 0
2 . 1 . 1 . 1 / 8
Tunnel 0
:: 2 . 1 . 1 . 1 / 96
Router A
Configuration procedure
The following example shows how to configure an automatic IPv4-compatible IPv6
tunnel between Router A and Router B. No address needs to be specified for the
tunnel destination because the destination address can automatically be obtained
from the IPv4 address embedded in the IPv4-compatible IPv6 address.
Configuration on Router A
■
# Enable the IPv6 forwarding function.
<RouterA> system-view
[RouterA] ipv6
# Configure a serial address.
[RouterA] interface serial 2/0
[RouterA-Serial2/0] ip address 2.1.1.1 255.0.0.0
[RouterA-Serial2/0] quit
# Configure an automatic IPv4-compatible IPv6 tunnel.
[RouterA] interface tunnel0
[RouterA-Tunnel0] ipv6 address ::2.1.1.1/96
[RouterA-Tunnel0] source serial 2/0
[RouterA-Tunnel0] tunnel-protocol ipv6-ipv4 auto-tunnel
Configuration on Router B
■
# Enable the IPv6 forwarding function.
<RouterB> system-view
[RouterB] ipv6
# Configure a serial address.
[RouterB] interface serial 2/0
[RouterB-Serial2/0] ip address 2.1.1.2 255.0.0.0
[RouterB-Serial2/0] quit
# Configure an automatic IPv4-compatible IPv6 tunnel.
2 . 1 . 1 . 2 / 8
IPv 4 netwok
:: 2 . 1 . 1 . 2 / 96
Dual stack
S 2 / 0
Tunnel 0
Router B
Need help?
Do you have a question about the MSR 50 Series and is the answer not in the manual?
Questions and answers