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

Page 157

Advertising
background image

11

Configuration Example

Network requirements

As shown in

Figure 7

, two IPv6 networks are connected to an IPv4 network through Device A and Device

B respectively. Configure an IPv6 manual tunnel between Device A and Device B to make the two IPv6

networks reachable to each other.

Figure 7 Network diagram for an IPv6 manual tunnel

Configuration procedure

NOTE:

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

Configuration on Device A

# Enable IPv6.

<DeviceA> system-view

[DeviceA] ipv6

# Configure an IPv4 address for GigabitEthernet 1/2.

[DeviceADeviceA] interface gigabitethernet 1/2

[DeviceA-GigabitEthernet1/2] ip address 192.168.100.1 255.255.255.0

[DeviceA-GigabitEthernet1/2] quit

# Configure an IPv6 address for GigabitEthernet 1/1.

[DeviceA] interface gigabitethernet 1/1

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

[DeviceA-GigabitEthernet1/1] quit

# Configure an IPv6 manual tunnel.

[DeviceA] interface tunnel 0

[DeviceA-Tunnel0] ipv6 address 3001::1/64

[DeviceA-Tunnel0] source gigabitethernet 1/2

[DeviceA-Tunnel0] destination 192.168.50.1

[DeviceA-Tunnel0] tunnel-protocol ipv6-ipv4

[DeviceA-Tunnel0] quit

# Configure a static route to IPv6 Group 2 through tunnel 0 on Device A.

[DeviceA] ipv6 route-static 3003:: 64 tunnel 0

Configuration on Device B

# Enable IPv6.

<DeviceB> system-view

Advertising
This manual is related to the following products: