Chapter 17: Web Hosting Configuration Guide

Web Hosting with Multiple Virtual Groups and Multiple Destination Servers

In the following example, three different servers are used to provide different services for a site.

Web requests forwarded to

the server

10.1.1.1

www.quick.com

10.1.1.2 10.1.1.3

ftp.quick.com

smtp.quick.com

Internet

Router

User Queries:

www.quick.com ftp.quick.com

smtp.quick.com

Domain Name

Virtual IP

TCP Port

Real Server

TCP Port

IP

 

 

 

 

 

 

 

 

 

www.quick.com

207.135.89.16

80

10.1.1.1

80

 

 

 

 

 

ftp.quick..com

207.135.89.16

21

10.1.1.2

21

 

 

 

 

 

smtp.quick.com

207.135.89.16

25

10.1.1.3

25

 

 

 

 

 

The network shown above can be created with the following load-balance commands:

load-balance create group-name quick-www virtual-ip 207.135.89.16 virtual-port 80 protocol tcp

load-balance create group-name quick-ftp virtual-ip 207.135.89.16 virtual-port 21 protocol tcp

load-balance create group-name quick-smtp virtual-ip 207.135.89.16 virtual-port 25 protocol tcp

load-balance add host-to-group 10.1.1.1 group-name quick-www port 80 load-balance add host-to-group 10.1.1.2 group-name quick-ftp port 21 load-balance add host-to-group 10.1.1.3 group-name quick-smtp port 25

If no application verification options are specified, the SSR will do a simple TCP handshake to check that the application is “up.” Some applications require specific commands for proper closure of the connection. The following command shows an example of how to send a specific string to close a connection on a server:

load-balance set group-options quick-smtp acv-quit “quit”

SmartSwitch Router User Reference Manual

241

Page 267
Image 267
Cabletron Systems 9032578-05 manual Domain Name Virtual IP TCP Port Real Server