Lab goal
Create VIP 10.136.6.16 with the following servers/reals:
- "r8080" - 10.136.85.1 port 8080
- "r8081" - 10.136.85.2 port 8081
- "r8082" - 10.136.85.3 port 8082
Setup
The loadbalancer is Radware's Alteon VA version 29.5.1.0
The initial Alteon VA configuration can be found here.
Alteon configuration
First lets add the reals.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 | /c/slb/real r8080
ena
ipver v4
rip 10.136.85.1
addport 8080
/c/slb/real r8081
ena
ipver v4
rip 10.136.85.2
addport 8081
/c/slb/real r8082
ena
ipver v4
rip 10.136.85.3
addport 8082
/c/slb/group gMulti
ipver v4
add r8080
add r8081
add r8082
/c/slb/virt 6_16
ena
ipver v4
vip 10.136.6.16
/c/slb/virt 6_16/service 80 http
group gMulti
rport 0
|
- Lines 1-15 : Configure the real servers
- Notice the addport command, which sets the port being used by the server.
- Lines 16-20: Create a new group and adds the previously defined servers
- Lines 21-27: Create the VIP
- Notice line 27, which states that the Alteon should use the rport configured on a real server's configuration.
Test
Notice the SRV_PORT and SRV_ADDR, which shows that the 808X port is being used.
But a better way to see that is to see the sessions in the session table:
1 2 3 4 5 6 7 8 9 | >> LB1 - Session Table Information# /i/slb/sess/cip 10.136.3.1 Printing Sessions for SP 1 1,01: 10.136.3.1 50040, 10.136.6.16 http -> 2094 10.136.85.3 8082 tcp age 10 v:1 E 1,01: 10.136.3.1 50041, 10.136.6.16 http -> 2095 10.136.85.2 8081 tcp age 10 v:1 E 1,01: 10.136.3.1 50042, 10.136.6.16 http -> 2096 10.136.85.1 8080 tcp age 10 v:1 E 1,01: 10.136.3.1 50043, 10.136.6.16 http -> 2097 10.136.85.3 8082 tcp age 10 v:1 E 1,01: 10.136.3.1 50044, 10.136.6.16 http -> 2098 10.136.85.2 8081 tcp age 10 v:1 E 1,01: 10.136.3.1 50046, 10.136.6.16 http -> 2100 10.136.85.3 8082 tcp age 10 v:1 E |
Summary
As usual, the configurations are simple and straight forward.
