Session and netmask persistence – Cabletron Systems SMARTSWITCH ROUTER 9032578-05 User Manual
Page 269

SmartSwitch Router User Reference Manual
243
Chapter 17: Web Hosting Configuration Guide
The network shown in the previous example can be created with the following load-
balance commands:
Session and Netmask Persistence
In the following example, traffic to a company web site (www.ctron.com) is distributed
between two separate servers. In addition, client traffic will have two separate ranges of
source IP addresses. The same load balancing server will handle requests from clients of
the same source IP subnet address.
The network shown above can be created with the following load-balance commands:
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
Router
10.1.1.1
10.1.1.2
www.ctron.com
Web requests
to www.ctron.com
Virtual IP Address:
207.135.89.16
NAT/
Source
Address:
30.30.10.1/24
Source
Address:
20.20.10.1/24
multiple
proxies
NAT/
multiple
proxies
Client IP Address
Domain
Name
Virtual IP
Real Server
IP
TCP Port
20.20.10.1 - 20.20.10.254
www.ctron.com 207.135.89.16
10.1.1.1
80
30.30.10.1 - 30.30.10.254
10.1.1.2
80
load-balance create group-name ctron-sec virtual-ip 207.135.89.16 protocol tcp
persistence-level ssl virtual-port 443
load-balance add host-to-group 10.1.1.1-10.1.1.2 group-name ctron-sec port 443
load-balance set client-proxy-subnet ctron-sec subnet 24