beautypg.com

Configuration procedure – H3C Technologies H3C SecPath F1000-E User Manual

Page 129

background image

117

Figure 79 Network diagram

Configuration procedure

NOTE:

Before configuring an IPv6 over IPv6 tunnel, make sure that Router A and Router B are reachable to each
other.

Configure Router A:
# Enable IPv6.

system-view

[RouterA] ipv6

# Configure an IPv6 address for GigabitEthernet 0/1.

[RouterA] interface GigabitEthernet 0/1

[RouterA-GigabitEthernet0/1] ipv6 address 2002:1::1 64

[RouterA-GigabitEthernet0/1] quit

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

[RouterA] interface GigabitEthernet 0/2

[RouterA-GigabitEthernet0/2] ipv6 address 2002::11:1 64

[RouterA-GigabitEthernet0/2] quit

# Create interface Tunnel 1.

[RouterA] interface tunnel 1

# Configure an IPv6 address for interface Tunnel 1.

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

# Configure the tunnel encapsulation mode.

[RouterA-Tunnel1] tunnel-protocol ipv6-ipv6

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

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

# Configure a destination address for interface Tunnel 1 (IP address of GigabitEthernet 0/2 of
Router B).

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

[RouterA-Tunnel1] quit

# Configure a static route from Router A through interface Tunnel 1 to Group 2.

[RouterA] ipv6 route-static 2002:3:: 64 tunnel 1

Configure Router B:
# Enable IPv6.

system-view