beautypg.com

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

Page 726

background image

701

Network requirements

As shown in

Figure 360

, a host, Router A and Router B are connected through Ethernet interfaces.

Configure IPv6 addresses for the interfaces and verify that they are connected.

The global unicast address of GigabitEthernet 0/1 and GigabitEthernet 0/2 on Router A are
3001::1/64 and 2001::1/64 respectively.

The global unicast address of GigabitEthernet 0/1 on Router B is 3001::2/64, and a route to Host
is available.

Host is enabled with IPv6 to automatically obtain an IPv6 address through IPv6 ND, and has a

route to Router B.

Figure 360 Network diagram

Configuration procedure

1.

Configure Router A:
# Enable IPv6.

system-view

[RouterA] ipv6

# Assign a global unicast address for interface GigabitEthernet 0/1.

[RouterA] interface GigabitEthernet 0/1

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

[RouterA-GigabitEthernet0/1] quit

# Assign a global unicast addresses for interface GigabitEthernet 0/2 and allow it to advertise RA

messages (no interface advertises RA messages by default).

[RouterA] interface GigabitEthernet 0/2

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

[RouterA-GigabitEthernet0/2] undo ipv6 nd ra halt

[RouterA-GigabitEthernet0/2] quit

2.

Configure Router B:
# Enable IPv6.

system-view

[RouterB] ipv6

# Assign a global unicast address for interface GigabitEthernet 0/1.

[RouterB] interface GigabitEthernet 0/1

[RouterB-GigabitEthernet0/1] ipv6 address 3001::2/64

[RouterB-GigabitEthernet0/1] quit

# Configure an IPv6 static route with destination IP address 2001::/64 and next hop address
3001::1.

[RouterB] ipv6 route-static 2001:: 64 3001::1

3.

Configure Host: