HPE FlexNetwork HSR6800 Configuration Manual page 317

Comware 7 layer 3, ip services
Hide thumbs Also See for FlexNetwork HSR6800:
Table of Contents

Advertisement

[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/1/1.
<RouterB> system-view
[RouterB] interface gigabitethernet 2/1/1
[RouterB-GigabitEthernet2/1/1] ip address 20.1.1.1 24
[RouterB-GigabitEthernet2/1/1] quit
# Specify an IPv6 address for GigabitEthernet 2/1/2, which is the physical interface of the
tunnel.
[RouterB] interface gigabitethernet 2/1/2
[RouterB-GigabitEthernet2/1/2] ipv6 address 2::2 64
[RouterB-GigabitEthernet2/1/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/1/2 as the source interface of the tunnel interface.
[RouterB-Tunnel2] source gigabitethernet 2/1/2
[RouterB-Tunnel2] quit
# Enable DS-Lite tunneling on GigabitEthernet 2/1/1.
[RouterB] interface gigabitethernet 2/1/1
[RouterB-GigabitEthernet2/1/1] ds-lite enable
# Enable NAT on GigabitEthernet 2/1/1 and use the IP address of GigabitEthernet 2/1/1 as the
translated address.
[RouterB-GigabitEthernet2/1/1] nat outbound
[RouterB-GigabitEthernet2/1/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
Reply from 20.1.1.2: bytes=32 time=44ms TTL=255
Reply from 20.1.1.2: bytes=32 time=1ms TTL=255
Reply from 20.1.1.2: bytes=32 time=1ms TTL=255
Ping statistics for 20.1.1.2:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 1ms, Maximum = 51ms, Average = 24ms
304

Advertisement

Table of Contents
loading

Table of Contents