22-14 Riverstone Networks RS Switch Router User Guide Release 8.0
Load Balancing
Web Hosting Configuration
The following example illustrates this.
Figure 22-4 Virtual IP address ranges
The network shown in the previous example can be created with the following load-balance commands:
Group Name
Virtual IP
TCP Port
Destination Server IP
TCP Port
www.computers.com
207.135.89.16
80
S1: 10.1.1.16
S2: 10.1.2.16
80
www.dvd.com
207.135.89.17
80
S1: 10.1.1.17
S2: 10.1.2.17
80
www.vcr.com
207.135.89.18
80
S1: 10.1.1.18
S2: 10.1.2.18
80
www.toys.com
207.135.89.50
80
S1: 10.1.1.50
S2: 10.1.2.50
80
load-balance create vip-range-name mywwwrange 207.135.89.16-207.135.89.50
virtual-port 80 protocol tcp
load-balance add host-to-vip-range 10.1.1.16-10.1.1.50 vip-range-name mywwwrange port
80
load-balance add host-to-vip-range 10.1.2.16-10.1.2.50 vip-range-name mywwwrange port
80
*
"
D )*
,
E
4J*.
,0E$D )*
,0E$,
,0E$E
"
D )*
,
E
,0E$