Configuration Example - HPE FlexNetwork HSR6800 Configuration Manual

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

Advertisement

Step
7.
Enable DS-Lite tunneling
on the interface.

Configuration example

Network requirements
As shown in
network over the IPv6 network, perform the following tasks:
Configure a DS-Lite tunnel between Router A and Router B.
Configure NAT on GigabitEthernet 2/1/1 on the AFTR.
Figure 122 Network diagram
Configuration procedure
Make sure Router A and Router B can reach each other through IPv6.
Configure Router A:
# Specify an IPv4 address for GigabitEthernet 2/1/1.
<RouterA> system-view
[RouterA] interface gigabitethernet 2/1/1
[RouterA-GigabitEthernet2/1/1] ip address 10.0.0.2 255.255.255.0
[RouterA-GigabitEthernet2/1/1] quit
# Specify an IPv6 address for GigabitEthernet 2/1/2, which is the physical interface of the
tunnel.
[RouterA] interface gigabitethernet 2/1/2
[RouterA-GigabitEthernet2/1/2] ipv6 address 1::1 64
[RouterA-GigabitEthernet2/1/2] quit
# Create IPv4 over IPv6 tunnel interface Tunnel 1.
[RouterA] interface tunnel 1 mode ipv4-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/1/2 as the source address for the tunnel interface.
[RouterA-Tunnel1] source 1::1
# Specify IP address of GigabitEthernet 2/1/2 on Router B as the destination address for the
tunnel interface.
Command
ds-lite enable
Figure
122, to enable hosts in the private IPv4 network to access the public IPv4
Remarks
By default, DS-Lite tunneling is
disabled.
Only after you use this command, the
AFTR can tunnel IPv4 packets from
the public IPv4 network to the B4
router.
303

Advertisement

Table of Contents
loading

Table of Contents