beautypg.com

Configuration example, Network requirements, Configuration procedure – H3C Technologies H3C SecPath F1000-E User Manual

Page 181

background image

35

Configuration Example

Network requirements

As shown in

Figure 14

, the two subnets Group 1 and Group 2 running IPv6 are interconnected by using

an IPv6 over IPv6 tunnel between Device A and Device B.

Figure 14 Network diagram for an IPv6 over IPv6 tunnel

Configuration procedure

NOTE:

Make sure that Device A and Device B are reachable to each other.

Configuration on Device A

# Enable IPv6.

system-view

[DeviceA] ipv6

# Configure an IPv6 address for GigabitEthernet 1/1.

[DeviceA] interface gigabitethernet 1/1

[DeviceA-GigabitEthernet1/1] ipv6 address 2002:1::1 64

[DeviceA-GigabitEthernet1/1] quit

# Configure an IPv6 address for GigabitEthernet 2/0 (the physical interface of the tunnel).

[DeviceA] interface gigabitethernet 2/0

[DeviceA-GigabitEthernet2/0] ipv6 address 2002::11:1 64

[DeviceA-GigabitEthernet2/0] quit

# Create the interface tunnel 1.

[DeviceA] interface tunnel 1

# Configure an IPv6 address for the interface tunnel 1.

[DeviceA-Tunnel1] ipv6 address 3001::1:1 64

# Configure the tunnel encapsulation mode.

[DeviceA-Tunnel1] tunnel-protocol ipv6-ipv6

# Configure a source address for the interface tunnel 1 (IP address of GigabitEthernet 2/0).

[DeviceA-Tunnel1] source 2002::11:1

# Configure a destination address for the interface tunnel 1 (IP address of GigabitEthernet 2/1 of Device
B).

[DeviceA-Tunnel1] destination 2002::22:1