Web OS 10.0 Application Guide
Consider the following network:
Web Clients
Figure 6-6 Basic Virtual Port to Real Port Mapping Configuration
Domain Name
www.right.com
In this example, four real servers are used to support a single service (HTTP). Clients access
this service through a virtual server with IP address 192.168.2.100 on virtual port 80. Since
each real server uses two ports (8001 and 8002) for HTTP services, the logical real servers are:
n
192.168.2.1/8001
n
192.168.2.1/8002
n
192.168.2.2/8001
n
192.168.2.2/8002
n
192.168.2.3/8001
n
192.168.2.3/8002
n
192.168.2.4/8001
n
192.168.2.4/8002
n
140
Chapter 6: Server Load Balancing
Internet
Web Host
Routers
virtual server IP
Ports Activated Port Mapping
address
192.168.2.100
80 (HTTP)
Real Servers
192.168.2.1
Web Switch
192.168.2.4
8001
8002
8001 (rport 1)
8002 (rport 2)
8001
8002
192.168.2.2
8001
8002
192.168.2.3
8001
8002
Real Server IP
Address
192.168.2.1 (RIP 1)
192.168.2.2 (RIP 2)
192.168.2.3 (RIP 3)
192.168.2.4 (RIP 4)
212777-A, February 2002