F3215-HP Load Balancing Module Load Balancing Configuration Guide-6PW101
3
2.
Upon receiving the request, the LB module uses an algorithm to calculate to which server it
distributes the request.
3. The LB module uses the Destination NAT (DNAT) technology to distribute the request, using the host
IP as the source IP and Server IP as the destination IP.
4. The server receives and processes the request and then sends a response, using the server IP as the
source IP, and the host IP as the destination IP.
5. The LB module receives the response, translates the source IP, and forwards the response, using
VSIP as the source IP, and the host IP as the destination IP.
The work flow shows that NAT is used in server load balancing, and NAT-mode server load balancing
is thus called.
DR-mode Layer 4 server load balancing
Figure 3 Network diagram
DR mode is different from NAT mode in that NAT is not used in load balancing. This means that besides
its local IP address, a server must have the VSIP configured.
DR-mode Layer 4 server load balancing comprises the following elements:
• Cluster—A cluster consists of an LB module, a general device, and multiple servers to provide
specific services.
• LB module—A device that distributes different service requests to multiple servers.
• General device—A device that forwards data according to general forwarding rules.
• Server—A server that responds to and processes different service requests.
• VSIP—Virtual service IP address of the cluster, used for users to request services. Besides configuring
the VSIP on the LB module, you need to configure it on servers. (Because the VSIP on the server
cannot be contained in an ARP request and response, you can configure the VSIP on a loopback
interface.)
• Server IP—IP address of a server, used by the LB module to distribute requests.
IP network
LB module
Server A
VSIP/IP A
Server B
VSIP/IP B
Server C
VSIP/IP C
Cluster
VSIP
General device