Category: Windows
This is usually setup for a Loadbalancer to send traffic to a VIP (or floating IP) which is running on more than 1 webserver.
Add loopback adapter to Windows 2008 R2
- Click Start, select Run and enter hdwwiz to start the Hardware Installation Wizard
- When the Wizard has started, click Next
- Select ‘Install the hardware that I manually select from a list (Advanced)’, click Next
- Select ‘Network adapters’, click Next
- Select ‘Microsoft’ & ‘Microsoft Loopback Adapter’, click Next
- Right click network icon in the systray and click Network and Sharing Centre
- Click Change adapter settings
- Right-click the new loopback adapter and select Properties
- Un-check all items except Internet Protocol Version 4 (TCP/IPv4)
- Select Internet Protocol Version (TCP/IPv4), click Properties and configure the IP address to be the
same as the Virtual Server (VIP), with a full subnet mask of the individual IP e.g. 255.255.255.255. Do not add a gateway. - Click OK on the TCP/IP popup window, then click Close on the Local Area Connection window to
save the new settings For Windows 2008, its not necessary to modify the interface metric on the advanced tab and should
be left set to Automatic - Rename the loopback “Loopback” from localareaconnection 2
- Run the following in a command prompt:
netsh interface ipv4 set interface "Local Area Connection" weakhostreceive=enabled netsh interface ipv4 set interface "Loopback" weakhostreceive=enabled netsh interface ipv4 set interface "Loopback" weakhostsend=enabled
10. Now repeat the above process for all other Windows 2008 real servers