3Com Switch 8800 Configuration Guide
Chapter 41 VRRP Configuration
41-13
switch for virtual router 2 and vice versa for switch B. Some hosts employ virtual router
1 as the gateway, while others employ virtual router 2 as the gateway. In this way, both
load balancing and mutual backup are implemented.
II. Networking diagram
See Figure 41-3.
III. Configuration Procedure
Configure switch A
Configure VLAN2.
[LSW-A] vlan 2
[LSW-A-vlan2] interface vlan 2
[LSW-A-vlan-interface2] ip address 202.38.160.1 255.255.255.0
Create virtual router 1.
[LSW_A-vlan-interface2] vrrp vrid 1 virtual-ip 202.38.160.111
Set the priority for the virtual router.
[LSW_A-vlan-interface2] vrrp vrid 1 priority 150
Create virtual router 2.
[LSW_A-vlan-interface2] vrrp vrid 2 virtual-ip 202.38.160.112
Configure switch B
Configure VLAN2.
[LSW-B] vlan 2
[LSW-B-vlan2] interface vlan 2
[LSW-B-vlan-interface2] ip address 202.38.160.2 255.255.255.0
Create virtual router 1.
[LSW_B-vlan-interface2] vrrp vrid 1 virtual-ip 202.38.160.111
Create virtual router 2.
[LSW_B-vlan-interface2] vrrp vrid 2 virtual-ip 202.38.160.112
Set the priority for the virtual router.
[LSW_B-vlan-interface2] vrrp vrid 2 priority 110
Note:
Multiple virtual routers are often used in actual network applications.