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.
Return to system view.
8.
(Optional.) Enable dropping
IPv6 packets that use
IPv4-compatible IPv6
addresses.

Configuration example

Network requirements
As shown in
two networks can reach each other without disclosing their IPv6 addresses.
Figure 123 Network diagram
Configuration procedure
Make sure Router A and Router B can reach each other through IPv6.
Configure Router A:
# Specify an IPv6 address for GigabitEthernet 2/1/1.
<RouterA> system-view
[RouterA] interface gigabitethernet 2/1/1
[RouterA-GigabitEthernet2/1/1] ipv6 address 2002:1::1 64
[RouterA-GigabitEthernet2/1/1] quit
# Specify an IPv6 address for Serial 3/1/0, which is the physical interface of the tunnel.
[RouterA] interface serial 3/1/0
[RouterA-Serial3/1/0] ipv6 address 2001::11:1 64
[RouterA-Serial3/1/0] quit
# Create IPv6 over IPv6 tunnel interface Tunnel 1.
[RouterA] interface tunnel 1 mode ipv6-ipv6
# Specify an IPv6 address for the tunnel interface.
[RouterA-Tunnel1] ipv6 address 3001::1:1 64
# Specify the IP address of Serial 3/1/0 as the source address for the tunnel interface.
[RouterA-Tunnel1] source 2001::11:1
# Specify the IP address of Serial 3/1/1 on Router B as the destination address for the tunnel
interface.
[RouterA-Tunnel1] destination 2002::22:1
[RouterA-Tunnel1] quit
# Configure a static route destined for the IPv6 network group 2 through the tunnel interface.
[RouterA] ipv6 route-static 2002:3:: 64 tunnel 1
Command
quit
tunnel discard
ipv4-compatible-packet
Figure
123, configure an IPv6 over IPv6 tunnel between Router A and Router B so the
306
Remarks
N/A
By default, IPv6 packets that use
IPv4-compatible IPv6 packets
are not dropped.

Advertisement

Table of Contents
loading

Table of Contents