HP FlexNetwork MSR2003 Configuration Manual page 327

Flexnetwork msr router series
Hide thumbs Also See for FlexNetwork MSR2003:
Table of Contents

Advertisement

# Create the IPv6 tunnel interface Tunnel 1.
[RouterA] interface tunnel 1 mode ipv6
# Specify an IPv4 address for the tunnel interface.
[RouterA-Tunnel1] ip address 30.1.2.1 255.255.255.0
# Specify the IP address of GigabitEthernet 2/0/2 as the source address for the tunnel interface.
[RouterA-Tunnel1] source 1::1
# Specify IP address of GigabitEthernet 2/0/2 on Router B as the destination address for the
tunnel interface.
[RouterA-Tunnel1] destination 2::2
[RouterA-Tunnel1] quit
# Configure a static route to the public IPv4 network through the tunnel interface.
[RouterA] ip route-static 20.1.1.0 255.255.255.0 tunnel 1
Configure Router B:
# Specify an IPv4 address for GigabitEthernet 2/0/1.
<RouterB> system-view
[RouterB] interface gigabitethernet 2/0/1
[RouterB-GigabitEthernet2/0/1] ip address 20.1.1.1 24
[RouterB-GigabitEthernet2/0/1] quit
# Specify an IPv6 address for GigabitEthernet 2/0/2, which is the physical interface of the
tunnel.
[RouterB] interface gigabitethernet 2/0/2
[RouterB-GigabitEthernet2/0/2] ipv6 address 2::2 64
[RouterB-GigabitEthernet2/0/2] quit
# Create the DS-Lite tunnel interface Tunnel 2.
[RouterB] interface tunnel 2 mode ds-lite-aftr
# Configure an IPv4 address for the tunnel interface.
[RouterB-Tunnel2] ip address 30.1.2.2 255.255.255.0
# Specify GigabitEthernet 2/0/2 as the source interface of the tunnel interface.
[RouterB-Tunnel2] source gigabitethernet 2/0/2
[RouterB-Tunnel2] quit
# Enable DS-Lite tunneling on GigabitEthernet 2/0/1.
[RouterB] interface gigabitethernet 2/0/1
[RouterB-GigabitEthernet2/0/1] ds-lite enable
# Enable NAT on GigabitEthernet 2/0/1 and use the IP address of GigabitEthernet 2/0/1 as the
translated address.
[RouterB-GigabitEthernet2/0/1] nat outbound
[RouterB-GigabitEthernet2/0/1] quit
On host A, specify the IP address for the host as 10.0.0.1 and configure a static route to
20.1.1.0/24 with next hop 10.0.0.2. (Details not shown.)
On host B, specify the IP address for the host as 20.1.1.2. (Details not shown.)
Verifying the configuration
# Use the display interface tunnel command to display the status of the tunnel interfaces on Router
A and Router B. Verify that the tunnel interfaces are up. (Details not shown.)
# Verify that host A can ping host B.
C:\> ping 20.1.1.2
Pinging 20.1.1.2 with 32 bytes of data:
Reply from 20.1.1.2: bytes=32 time=51ms TTL=255
313

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents