ILB Processes

This section describes the working of ILB processes like the client-to-server packet processing
and server-to-client packet processing.

Client-to-server packet processing:

ILB receives an incoming request that is sent by the client to a VIP address and matches the request to a load-balancing rule.

If ILB finds a matching load-balancing rule, it uses a load-balancing algorithm to forward the request to the back-end server depending on the mode of operation.

In DSR mode, ILB replaces the MAC header of the incoming request with the MAC header of the selected back-end server.

In half-NAT mode, ILB replaces the destination IP address and the transport protocol port number of the incoming request with that of the selected back-end server.

In full-NAT mode, ILB replaces the source IP address and the transport protocol port number of the incoming request with the load-balancing rule's NAT source address. ILB also replaces the destination IP address and the transport protocol port number of the incoming request with that of the selected back-end server.

The back-end server sends a reply to ILB in response to the incoming request from the client.

ILB's action after receiving the response from the back-end server is based on the mode of operation, as follows:

In normal DSR mode, the response from the back-end server bypasses ILB and goes directly to the client. However, if ILB is also used as a router for the back-end server, then the response from the back-end server to the client is routed through the machine running ILB.

In half-NAT mode and full-NAT mode, ILB matches the response from the back-end server to the incoming request and replaces the changed IP address and the transport protocol port number with that of the original incoming request. ILB then forwards the response to the client.