249
Configuration example
Network requirements
As shown in
, dual-stack routers Router A and Router B communicate over an IPv4 network.
Configure an automatic IPv4-compatible IPv6 tunnel between the two routers to enable IPv6
communications over the IPv4 network.
Figure 103
Network diagram
Configuration procedure
Before configuring an automatic IPv4-compatible IPv6 tunnel, make sure Router A and Router B can
reach each other through IPv4.
•
Configure Router A:
# Specify an IPv4 address for Ethernet 1/1.
<RouterA> system-view
[RouterA] interface ethernet 1/1
[RouterA-Ethernet1/1] ip address 192.168.100.1 255.255.255.0
[RouterA-Ethernet1/1] quit
# Create an automatic IPv4-compatible IPv6 tunnel.
[RouterA] interface tunnel 0 mode ipv6-ipv4 auto-tunnel
# Specify an IPv4-compatible IPv6 address for the tunnel interface.
[RouterA-Tunnel0] ipv6 address ::192.168.100.1/96
# Specify Ethernet1/1 as the source interface of the tunnel interface.
[RouterA-Tunnel0] source ethernet 1/1
•
Configure Router B:
# Specify an IPv4 address for Ethernet 1/1.
<RouterB> system-view
[RouterB] interface ethernet 1/1
[RouterB-Ethernet1/1] ip address 192.168.50.1 255.255.255.0
[RouterB-Ethernet1/1] quit
# Configure an automatic IPv4-compatible IPv6 tunnel.
[RouterB] interface tunnel 0 mode ipv6-ipv4 auto-tunnel
# Specify an IPv4-compatible IPv6 address for the tunnel interface.
[RouterB-Tunnel0] ipv6 address ::192.168.50.1/96
# Specify Ethernet1/1 as the source interface of the tunnel interface.
[RouterB-Tunnel0] source ethernet 1/1
Verifying the configuration
# Use the
display ipv6 interface
command to view tunnel interface status on Router A and Router B. The
output shows that the interface tunnel 0 is up. (Details not shown.)
Summary of Contents for MSR 2600 Series
Page 6: ...We appreciate your comments...
Page 33: ...18 AC vlan1 quit...
Page 118: ...103...