HomeMicrosoftHow to Configure Network Load Balancing Windows Server 2022

How to Configure Network Load Balancing Windows Server 2022

In this article, I will explain in detail how to configure network load balancing on Windows Server 2022. How the different network load balancing operation modes affect network infrastructure and the ways in which the network can support each mode. In this article, I will show you the network load balancing configuration within the Windows Server infrastructure.

For this guide, I will be using two virtual machines hosted in the VMware Workstation testing environment. Without any delays, let’s launch the Server Manager and enable the Network Load Balancing feature. Note that this network load balancing feature should be installed on both servers. Choose Add Roles and Features, and skip all windows until you reach the Features section. From the features list, choose Network Load Balancing and proceed with the installation. You can install network load balancing using the PowerShell command. Visit Microsoft for more details.

What is Network Load Balancing?

Network load balancing distributes traffic across several servers by using the TCP/IP networking protocol. Combining two devices or more devices that are running applications into a single virtual cluster, NLB provides reliability and performance for web servers and other all-important servers.

Contents:

NLB Servers Detail’s
Enable Network Load Balancing Feature with PowerShell
Enable Network Load Balancing with GUI
Create a New Cluster
Add Host to Cluster
Verify Network Load Balancing Setup

Test Lab Details

In this Network Load Balancing lab,.

NameDescriptionsIP Address
DC2022Active Directory and DNS192.168.121.200
SRV2022-01Member Server – Node 1192.168.121.210
SRV2022-02Member Server – Node 2192.168.121.212

Network Load Balance IP Address 192.168.121.100

Install Network Load Balancing with PowerShell

Enable the Network Load Balancing feature with PowerShell, enter the below command, and then press enter.

Install-windowsfeature NLB,RSAT-NLB
Install network load balancing PowerShell
Install-WindowsFeature -name Web-Server –IncludeManagementTools
Install web serve PowerShell

Enable Feature Network Load Balancing with GUI

Launch server manager and then “Add roles and features”.

Server manager 2022

Click next

Add roles and features wizard

Select next

Select installation type

Click on the server you wish to enable the Network Load Balancing feature and then choose next.

Select server from pool

Check the WEB Server (IIS) server role box.

Enable Web server IIS roles

Choose to add features and then choose Next.

Add features that are required

Tick the Network Load Balancing box.

Enable Network load balancing

Select add features to enable Network Load Balancing and then choose next. Click next

Add features that are required

Select next

Web server role IIS

Click next

Select role services

Select the install button to install network load balancer.

Confirm Network Load Balancing installation

Click close

View installation progress NLB

Network Load Balance configuration in Windows Server 2022. After enabling the Network Load Balancing feature on all nodes, the next step is to configure Network Load Balancing.

Create a New Cluster

On the first Node SRV2022-01
Search the Network Load Balancing Manager app and then open it.

Search network load balancing manager

Right-click on Network Load Balancing Clusters and then choose New Cluster

Network Load Balancing Manager

On the New Cluster : Connect wizard, in the host field, type SRV2022-01.jamiltech.local (or server IP Address) and then choose Connect. Here you can verify that the Interface name is listed and then choose next.

Add host to cluster NLB

New Cluster : host parameters, set the Priority (unique host identifier) value 1. This node 1 will reply to the client’s queries, first, ensure that the default status has been set as Started, and then choose next.

Network load balancing host priority

To add a new Cluster IP address, select the Add button.

NLB cluster IP addresses

Note: The IP address is the new virtual IP address on which the host service, using this case, IIS will run.
Add the Cluster IP Address such as 192.168.121.110 and then choose ok.

Network load balancing add IP address

Click Next

NLB new cluster IP address

Select “Cluster operation mode”, Unicast, and then choose next.

Network load balancing cluster parameters

Click Finish

New cluster port rules

Please wait until the SRV2022-01 NLB node is added successfully. The Icon Color of the added node should be green.

Add Host to Cluster

Right-click on the Cluster name again and then choose Add Host to Cluster.

Add host to cluster NLB

Add host to cluster connect box, enter SRV2022-02.jamiltech.local, and then choose Connect button to add one more node (Node 2). Click next.

Add host to cluster connect

On the Add Host to Cluster page, under “Host Parameters” set the “Priority” value to 2 and then proceed to next.

Add host to cluster host parameters

Select Finish

Add host to cluster port rules

Verify that the 2nd NLB node, SRV2022-02, is added successfully.

Network load balancing manager hosts

Verify Network Load Balancing Configuration

To verify the NLB cluster configuration and functionality, perform the subsequent steps.
Open one brewer type, 192.168.121.110 and verify that you are ready to access the Default Webs

Test network load balancing IIS

Close the browser on the node.
In the Network Load Balancing Manager, choose the first node and then right-click SRV2022-01 (Ethernet), choose Control Host, and then select the stop option to temporarily stop this node.

Network load balancing manager

Now switch back to DC2022 and try again to open your default website. The default website should be displayed. However, this time, the SRV2022-02 NLB node will serve the website.

Jamil
Jamilhttp://jamiltech.com
A Professional Technology Blog Writer | An energetic professional with more than 20+ years of rich experience in Technology, Planning, Designing, Installation, and Networking.
RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

- Advertisment -
Google search engine

Most Popular

Recent Comments

what is cryptocurrency and bitcoin on How to Backup and Restore IIS Configuration
경기광주출장안마 on How to Backup and Restore IIS Configuration
영등포출장마사지 on How to Backup and Restore IIS Configuration
Twalsu light mirror for vanity on How to Backup and Restore IIS Configuration
fitspresso analysis on How to Reset Microsoft 365 Password
historical landmarks tours for history buffs on How to Add Hyper-V Server Altaro VM Backup
9780443186882 PDF download on How to Migrate Active Directory 2012 to 2022
Shaik Mohammad Jaheer on How to Enable Night Light on Windows 11