Here is the configuration I used for a customer to load balance windows print servers. There are additional steps to configure on the windows server, included below. The customers servers default gateway was the F5 in this example.
Let me know if you have additional questions.
profile persist printserver_wpt_wildcard_srcaddr {
defaults from source_addr
mode source addr
mask 255.255.255.255
across services enable
}
profile fastL4 printserver_wpt_wildcard_fastl4 {
defaults from fastL4
tcp close timeout 51
loose close enable
}
monitor printserver_wpt_wildcard_tcp_monitor {
defaults from tcp
interval 10
timeout 31
dest *:printer
}
pool es_printserver_wpt_wildcard_pool {
action on svcdown reselect
monitor all printserver_wpt_wildcard_tcp_monitor
members {
x.x.217.33:any {}
x.x.217.34:any {}
}
}
virtual es_printserver_wpt_wildcard_vs {
translate address disable
translate service disable
pool es_printserver_wpt_wildcard_pool
destination x.x.216.53:any
ip protocol tcp
persist printserver_wpt_wildcard_srcaddr
profiles printserver_wpt_wildcard_fastl4 {}
}
Create loopback interface with IP address of the load balanced virtual server.
Installing the Microsoft Loopback Adapter
1.Click Start, select Run and enter hdwwiz to start the Hardware Installation Wizard
2.When the Wizard has started, click Next
3.Select 'Install the hardware that I manually select from a list (Advanced)', click Next
4.Select 'Network adapters', click Next
5.Select 'Microsoft' & 'Microsoft Loopback Adapter', click Next
6.Click Next to start the installation, when complete click Finish
Configuring the Loopback Adapter
1.Click Start, select Run and enter ncpa.cpl to open the Network Control Panel
2.Right-click the new loopback adapter and select Properties
3.Select Internet Protocol Version (TCP/IPv4), click Properties and configure the IP address to be the same as the Virtual Server (VIP)
4.Go into the advanced menu and uncheck Register name in DNS
5.Click OK on the TCP/IP popup window, then click Close on the Local Area Connection window to
6.Now repeat the above process for all other Windows 2008 real servers
Run the following commands from an administrator command prompt
netsh interface ipv4 set interface "Local Area Connection" weakhostreceive=enabled
•This is your normal interface
netsh interface ipv4 set interface "loopback" weakhostreceive=enabled
netsh interface ipv4 set interface "loopback" weakhostsend=enabled
•This is your loopback interface
Create the following registry keys and values:
Key: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa
Value: DisableLoopbackCheck
Type: REG_DWORD
Data: 1
Key: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\lanmanserver\parameters
Value: DisableStrictNameChecking
Type: REG_DWORD
Data: 1
Key: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\lanmanserver\parameters
Value: OptionalNames
Type: REG_MULTI_SZ
Data: servername.domain