beautypg.com

Multiple vrrp group configuration example, Network requirements, Configuration procedure – H3C Technologies H3C SecPath F1000-E User Manual

Page 44

background image

43

Multiple VRRP Group Configuration Example

Network requirements

In the network, some hosts use 1::10/64 as their default gateway and some hosts use 1::20/64 as

their default gateway.

Load sharing and mutual backup between default gateways can be implemented by using VRRP
groups.

Figure 16 Network diagram for multiple VRRP group configuration

Host A

Host B

Host C

Device A

Device B

Virtual IPv6 address 1:

FE80::10

1::10/64

Virtual IPv6 address 2:

FE80::20

1::20/64

GE0/1

FE80::1

1::1/64

GE0/1

FE80::2

1::2/64

Gateway:
1::10/64

Gateway:
1::20/64

Gateway:
1::20/64

Internet

Configuration procedure

Step1

Configure Device A

system-view

[DeviceA] ipv6

[DeviceA] interface gigabitethernet 0/1

[DeviceA-GigabitEthernet0/1] ipv6 address fe80::1 link-local

[DeviceA-GigabitEthernet0/1] ipv6 address 1::1 64

# Create VRRP group 1 and set its virtual IPv6 addresses to FE80::10 and 1::10.

[DeviceA-GigabitEthernet0/1] vrrp ipv6 vrid 1 virtual-ip fe80::10 link-local

[DeviceA-GigabitEthernet0/1] vrrp ipv6 vrid 1 virtual-ip 1::10

# Set the priority of Device A in VRRP group 1 to 110.

[DeviceA-GigabitEthernet0/1] vrrp ipv6 vrid 1 priority 110

# Create VRRP group 2 set its virtual IPv6 addresses to FE80::20 and 1::20.

[DeviceA-GigabitEthernet0/1] vrrp ipv6 vrid 2 virtual-ip fe80::20 link-local

[DeviceA-GigabitEthernet0/1] vrrp ipv6 vrid 2 virtual-ip 1::20

# Enable Device A to send RA messages.

[DeviceA-GigabitEthernet0/1] undo ipv6 nd ra halt

Step2

Configure Device B

system-view