SmartSwitch Router User Reference Manual 239Chapter 15: Web Hosting Configuration GuideThe network shown above can be created with the following load-balance commands:Virtual IP Address RangesISPs who provide web hosting services for their clients require a large number of virtualIP addresses (VIPs). The load-balance create vip-range-name and load-balance add host-to-vip-range commands were created specifically for this. An ISP can create a range ofVIPs 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 correspondingsecondary 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 webservers like Apache which serve different web pages based on the destination address inthe http request. The following example illustrates this:.load-balance create group-name quick-www virtual-ip 207.135.89.16 virtual port 80protocol tcpload-balance create group-name quick-ftp virtual-ip 207.135.89.16 virtual port 21protocol tcpload-balance add host-to-group 10.1.1.1 group-name quick-www port 80load-balance add host-to-group 10.1.1.2 group-name quick-ftp port 21RouterS110.1.1.16 www.computers.com10.1.1.17 www.dvd.com10.1.1.18 www.vcr.com InternetWeb requests:207.135.89.16 www.computers.com207.135.89.17 www.dvd.com207.135.89.18 www.vcr.comS210.1.2.16 www.computers.com10.1.2.17 www.dvd.com10.1.2.18 www.vcr.com.........10.1.1.50 www.toys.com10.1.2.50 www.toys.com207.135.89.50 www.toys.comGroup Name Virtual IP TCP Port DestinationServer IP TCP Portwww.computers.com 207.135.89.16 80 S1: 10.1.1.16S2: 10.1.2.1680www.dvd.com 207.135.89.17 80 S1: 10.1.1.17S2: 10.1.2.1780www.vcr.com 207.135.89.18 80 S1: 10.1.1.18S2: 10.1.2.1880