SmartSwitch Router User Reference Manual
239
Chapter 15: Web Hosting Configuration Guide
The network shown above can be created with the following load-balance commands:
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-name
and
load-balance add host-
to-vip-range
commands 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-name
command. 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:.
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
Router
S1
10.1.1.16 www.computers.com
10.1.1.17 www.dvd.com
10.1.1.18 www.vcr.com
Internet
Web requests:
207.135.89.16 www.computers.com
207.135.89.17 www.dvd.com
207.135.89.18 www.vcr.com
S2
10.1.2.16 www.computers.com
10.1.2.17 www.dvd.com
10.1.2.18 www.vcr.com
...
...
...
10.1.1.50 www.toys.com
10.1.2.50 www.toys.com
207.135.89.50 www.toys.com
Group Name
Virtual IP
TCP Port
Destination
Server IP
TCP Port
www.computers.com
207.135.89.16
80
S1: 10.1.1.16
S2: 10.1.2.16
80
www.dvd.com
207.135.89.17
80
S1: 10.1.1.17
S2: 10.1.2.17
80
www.vcr.com
207.135.89.18
80
S1: 10.1.1.18
S2: 10.1.2.18
80
Содержание SmartSwitch Router
Страница 1: ...SmartSwitch Router User Reference Manual 9032578 04...
Страница 12: ...Notice 12 SmartSwitch Router User Reference Manual...
Страница 28: ...Preface 28 SmartSwitch Router User Reference Manual...
Страница 68: ...Chapter 3 Bridging Configuration Guide 68 SmartSwitch Router User Reference Manual...
Страница 74: ...Chapter 4 SmartTRUNK Configuration Guide 74 SmartSwitch Router User Reference Manual...
Страница 84: ...Chapter 5 DHCP Configuration Guide 84 SmartSwitch Router User Reference Manual...
Страница 108: ...Chapter 7 VRRP Configuration Guide 108 SmartSwitch Router User Reference Manual...
Страница 207: ...SmartSwitch Router User Reference Manual 207 Chapter 12 Multicast Routing Configuration Guide...
Страница 208: ...Chapter 12 Multicast Routing Configuration Guide 208 SmartSwitch Router User Reference Manual...
Страница 222: ...Chapter 13 IP Policy Based Forwarding Configuration Guide 222 SmartSwitch Router User Reference Manual...
Страница 232: ...Chapter 14 Network Address Translation Configuration Guide 232 SmartSwitch Router User Reference Manual...
Страница 254: ...Chapter 16 IPX Routing Configuration Guide 254 SmartSwitch Router User Reference Manual...
Страница 270: ...Chapter 17 Access Control List Configuration Guide 270 SmartSwitch Router User Reference Manual...
Страница 282: ...Chapter 18 Security Configuration Guide 282 SmartSwitch Router User Reference Manual...
Страница 294: ...Chapter 19 QoS Configuration Guide 294 SmartSwitch Router User Reference Manual...
Страница 298: ...Chapter 20 Performance Monitoring Guide 298 SmartSwitch Router User Reference Manual...
Страница 338: ...Chapter 22 WAN Configuration Guide 338 SmartSwitch Router User Reference Manual...