Chapter 15: Web Hosting Configuration Guide
216
DIGITAL GIGAswitch/Router User Reference Manual
Configuration Examples
This section shows examples of load balancing configurations.
Web Hosting with One Virtual Group and Multiple Destination Servers
In the following example, a company web site is established with a URL of
www.GoodCompany.com. The system administrator configures the networks so that the
GSR forwards web requests among four separate servers, as shown below.
The network shown above can be created with the following load-balance commands:
Router
Internet
10.1.1.1
10.1.1.2
10.1.1.3
10.1.1.4
www.goodcompany.com
Web requests to
www.goodcompany.com
Virtual IP Address:
207.135.89.16
Web requests
forwarded to
one of the servers
Domain Name
Virtual IP
TCP Port
Real Server
IP
TCP Port
www.goodcompany.com
207.135.89.16
80
10.1.1.1
80
10.1.1.2
80
10.1.1.3
80
10.1.1.4
80
load-balance create group-name goodcompany-www virtual-ip 207.135.89.16 virtual
port 80 protocol tcp
load-balance add host-to-group 10.1.1.1-10.1.1.4 group-name goodcompany-www port
80