Thursday, May 18, 2023
HomeNetworkingServer Load Balancer: Deployment Fashions

Server Load Balancer: Deployment Fashions


For ease of understanding, under IP deal with subnets have been carved out to elucidate the idea Load Balancing throughout numerous deployment situations –

Consumer IP vary = 100.0.0.1 to 100.0.0.4
Net Server Vary = 192.168.0.21 to 192.168.0.24

Deployment Fashions of Server Load Balancer

Let’s perceive the totally different Server load balancer deployment fashions one after the other:

1-Arm Layer 2 mode (with SNAT)

Within the Layer 2 mode, SLB hyperlinks to single LAN phase of 192.168.0.0/24.

On this use case, 1st consumer (IP 100.0.0.1) sends request to VIP 192.168.0.10 for accessing utility. The SLB performs supply NAT and in course of initiates a request for utility and adjustments Supply from 100.0.0.1 to 192.168.0.20 and vacation spot from 192.168.0.10 to 192.168.0.21.

Net Server 1 is chosen primarily based on load balancing algorithm chosen.

Net Server 1 responds to consumer (192.168.0.20 i.e. SLB would be the vacation spot consumer for internet server 1).On receiving the response from internet Server 1, SLB rewrites the Supply deal with to its VIP (192.168.0.21 to 192.168.0.20) and vacation spot deal with to that of Consumer IP (192.168.0.20 to 100.0.0.1).

1-Arm Layer 3 mode (with SNAT) 

Within the Layer 3 mode, SLB hyperlinks to 2 LAN phase of i.e. 200.0.0.0/24 (Exterior) and 192.168.0.0/24 (Inside).

On this use case, 1st consumer (IP 100.0.0.1) sends request to VIP 200.0.0.10 for accessing utility. The SLB performs supply NAT and in course of initiates a request for utility and rewrites Supply from 100.0.0.1 to 192.168.0.20 and vacation spot from 200.0.0.10 to 192.168.0.21.

Net Server 1 is chosen primarily based on load balancing algorithm chosen.

Net Server 1 responds to consumer (192.168.0.20 i.e. SLB would be the vacation spot consumer for internet server 1.On receiving the response from internet Server 1, SLB rewrites the Supply deal with to its VIP and vacation spot deal with to that of Consumer IP.


1-Arm Layer 3 mode (w/o SNAT) 

Within the Layer 3 mode, SLB hyperlinks to 2 LAN phase of i.e. 200.0.0.0/24 (Exterior) and 192.168.0.0/24 (Inside).

On this use case, 1st consumer (IP 100.0.0.1) sends request to VIP 200.0.0.10 for accessing utility. The SLB performs does the visitors routing nonetheless preserving the supply IP of consumer intact and rewriting vacation spot from 200.0.0.10 to 192.168.0.21.

Net Server 1 is chosen primarily based on load balancing algorithm chosen.

Net Server 1 responds to consumer (with vacation spot IP being 100.0.0.1).On receiving the response from internet Server 1, SLB routes the visitors in the direction of consumer IP of 100.0.0.1 whereas simply rewriting the supply IP of internet server from 192.168.0.21 to its personal VIP i.e. 200.0.0.10.

Inline Layer 2 mode 

Within the Inline mode, SLB sits bodily put in between internet (Web) and inside hyperlinks.

In layer 2 mode, each the inside and outside interface of SLB are on similar LAN phase i.e. 192.168.0.0/24.On this use case, 1st consumer (IP 100.0.0.1) sends request to VIP 192.168.0.10 for accessing utility. The SLB initiates a request for utility and preserving the Supply deal with similar, rewrites vacation spot from 192.168.0.10 to 192.168.0.21.

Net Server 1 is chosen primarily based on load balancing algorithm chosen.

Net Server 1 responds to consumer 100.0.0.1.On receiving the response from internet Server 1, SLB rewrites the supply deal with to that of its VIP i.e. 192.168.0.10 whereas no change is carried out on vacation spot IP of 100.0.0.1.

Inline Layer 3 mode 

Within the Inline mode, SLB sits bodily put in between internet (Web) and inside hyperlinks.

In layer 3 mode, inside and outside interface of SLB are on totally different LAN phase i.e. 200.0.0.0/24 and 192.168.0.0/24 respectively. On this use case, 1st consumer (IP 100.0.0.1) sends request to VIP 200.0.0.10 for accessing utility. The SLB in flip initiates a request for utility and preserving the Supply deal with similar, rewrites vacation spot from 200.0.0.10 to 192.168.0.21.

Net Server 1 is chosen primarily based on load balancing algorithm chosen.

Net Server 1 responds to consumer 100.0.0.1.On receiving the response from internet Server 1, SLB rewrites the supply deal with to that of its VIP i.e. 200.0.0.10 whereas no change is carried out on vacation spot IP.

Proceed Studying:

Server Load Balancer: The way it works?

F5 Load Balancing Strategies

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

- Advertisment -
Google search engine

Most Popular

Recent Comments