Alteon Application Switch Operating System Application Guide
High Availability
Document ID: RDWR-ALOS-V2900_AG1302
533
To configure virtual router redundancy
In this procedure, you perform the following:
•
Define virtual routers
•
Configure virtual router priority
•
Configure virtual router priority tracking
1. Configure virtual routers 2, 4, 6, and 8.
These virtual routers have the same IP addresses as the virtual server IP address. Alteon
identifies these as virtual service routers (VSRs). In this example, Layer 3 bindings are left in
their default configuration, which is disabled:
Repeat this sequence of commands for the following virtual routers:
—
VR 4 - VRID 4 - IF 5 (associate with IP interface 5)—Address 200.200.200.101
—
VR 6 - VRID 6 - IF 5 (associate with IP interface 5)—Address 200.200.200.103
—
VR 8 - VRID 8 - IF 5 (associate with IP interface 5)—Address 200.200.200.104
2. Configure virtual routers 1, 3, 5, and 7.
These virtual routers act as the default gateways for the servers on each respective subnet.
Because these virtual routers are survivable next hop or default gateways, they are called virtual
interface routers (VIRs). Configure each virtual router:
—
VR 1 - VRID 1 - IF 1 (associate with IP interface 1)—Address 10.10.10.1
—
VR 3 - VRID 3 - IF 2 (associate with IP interface 2)—Address 20.10.10.1
—
VR 5 - VRID 5 - IF 3 (associate with IP interface 3)—Address 30.10.10.1
—
VR 7 - VRID 7 - IF 4 (associate with IP interface 4)—Address 40.10.10.1
3. Set the renter priority for each virtual router.
Since you want Alteon 1 to be the master router, you need to bump the default virtual router
priorities (which are 100 to 101 on virtual routers 1 through 4) to force Alteon 1 to be the
master for these virtual routers:
>> Virtual server 4# /cfg/slb/port 1
(Select device Port 1)
>> SLB port A1 # client ena
(Enable client processing on Port 1)
>> SLB port A1 # /cfg/slb/port 2
(Select device Port 2)
>> SLB port A2 # server ena
(Enable server processing on Port 2)
>> Virtual server 4 # /cfg/l3/vrrp/vr 2
(Select Virtual Router 2)
>> Virtual router 2 # vrid 2
(Set virtual router ID)
>> Virtual router 2 # addr 200.200.200.100
(Assign virtual router IP address)
>> Virtual router 2 # if 5
(Assign virtual router interface)
>> Virtual router 2 # ena
(Enable Virtual Router 2)
>> Virtual server 4 # /cfg/l3/vrrp/vr 1
(Select Virtual Router 1)
>> Virtual router 1 # prio 101
(Set virtual router priority)