EasyManuals Logo

HPE FlexNetwork MSR Series Comware 7 Layer 3 - Ip Services Configuration Guides

HPE FlexNetwork MSR Series
554 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #352 background imageLoading...
Page #352 background image
338
[RouterA] interface gigabitethernet 2/0/2
[RouterA-GigabitEthernet2/0/2] ipv6 address 1::1 64
[RouterA-GigabitEthernet2/0/2] quit
# 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.

Table of Contents

Other manuals for HPE FlexNetwork MSR Series

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the HPE FlexNetwork MSR Series and is the answer not in the manual?

HPE FlexNetwork MSR Series Specifications

General IconGeneral
BrandHPE
ModelFlexNetwork MSR Series
CategoryNetwork Router
LanguageEnglish

Related product manuals