beautypg.com

Creating and modifying acls – Cabletron Systems SMARTSWITCH ROUTER 9032578-05 User Manual

Page 267

background image

SmartSwitch Router User Reference Manual

241

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.

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

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:

10.1.1.1

Router

Internet

Web requests
forwarded to
the server

www.quick.com

ftp.quick.com

User Queries:

www.quick.com

10.1.1.3

smtp.quick.com

10.1.1.2

ftp.quick.com

smtp.quick.com

Domain Name

Virtual IP

TCP Port

Real Server

IP

TCP Port

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

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

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