Chapter 15: Web Hosting Configuration Guide

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 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

Virtual IP Address Ranges

ISPs who provide web hosting services for their clients require a large number of virtual IP addresses (VIPs). The load-balance create vip-range-nameand load-balance add host- to-vip-rangecommands were created specifically for this. An ISP can create a range of VIPs for up to an entire class C network with the load-balance create vip-range-namecommand. Once the vip-range is in place, the ISP can then create the corresponding secondary addresses on their destination servers. Once these addresses have been created, the ISP can add these servers to the vip-range with the load-balance add host-to-vip- range command. These two commands combined help ISPs take advantage of web servers like Apache which serve different web pages based on the destination address in the http request. The following example illustrates this:.

S1

10.1.1.16www.computers.com

10.1.1.17www.dvd.com

10.1.1.18www.vcr.com

...

10.1.1.50 www.toys.com

S2

10.1.2.16www.computers.com

10.1.2.17www.dvd.com

10.1.2.18www.vcr.com

...

10.1.2.50 www.toys.com

Router

Internet

Web requests:

207.135.89.16 www.computers.com 207.135.89.17 www.dvd.com 207.135.89.18 www.vcr.com

...

207.135.89.50 www.toys.com

Group Name

Virtual IP

TCP Port

Destination

TCP Port

Server IP

 

 

 

 

 

 

 

 

 

www.computers.com

207.135.89.16

80

S1: 10.1.1.16

80

 

 

 

S2: 10.1.2.16

 

 

 

 

 

 

www.dvd.com

207.135.89.17

80

S1: 10.1.1.17

80

 

 

 

S2: 10.1.2.17

 

 

 

 

 

 

www.vcr.com

207.135.89.18

80

S1: 10.1.1.18

80

 

 

 

S2: 10.1.2.18

 

 

 

 

 

 

SmartSwitch Router User Reference Manual

239

Page 239
Image 239
Cabletron Systems SmartSwitch manual Virtual IP Address Ranges, 207.135.89.16 207.135.89.17 207.135.89.18