Rate This Document
Findability
Accuracy
Completeness
Readability

Configuration Description

LVS has three load balancing modes: NAT, DR, and TUN. This document describes how to configure the DR mode and the difference between the DR and NAT modes. The TUN mode is not described.

In DR mode, the target MAC address in the request packet is changed to deliver the request to the real server. The real server directly returns the processing result to the client. The Director Server (DS) and the Real Server (RS) must be connected to the same physical network segment and in the same LAN. The DR mode is commonly used on the Internet.

Terms

Term

Description

DS

Director Server, also called Virtual Server (VS), is the server where the LVS is deployed.

RS

RealServer, which is the server that processes services

CIP

Client IP address

VIP

Virtual IP address requested by the client

DIP

Director Server IP address, which is used for communication between the DS and RS

RIP

RealServer IP address, which is used for the communication between the RS and the DS

Example: VIP: 192.168.1.100; DIP: 192.168.1.1; RIP: 192.168.1.2; 192.168.1.3; net: 255.255.255.255