To alias the loopback device on servers that are being load-balanced, you must use the operating system's adapter configure commands. For the load-balanced server machines to work, you must set, or preferably alias, the loopback device, which is often called lo0, to the cluster address. By setting or aliasing the loopback device to the cluster address, the load balanced server machines will accept a packet that was addressed to the cluster address.
ifconfig lo0 alias cluster_address netmask 255.255.255.255
ifconfig interface_name inet6 cluster_address/prefix_length alias
ifconfig lo0 inet6 2002:4a::541:56/128 alias
ifconfig lo0:1 cluster_address up
ifconfig interface_name:alias inet6 cluster_address up prefix prefix_length
ifconfig lo0:1 inet6 3ffe:34::24:45 up prefix 128
arp -s <cluster> <Load Balancer's MAC address> pub
gotchaip -version addr add cluster_address/prefix_length dev lo
ip -6 addr add 3ffe:34::24:45/128 dev lo
ip -4 addr add 12.42.38.125/32 dev lo
ifconfig lo:1 cluster_address netmask 255.255.255.255 up
ifconfig lo0:1 plumb cluster_address netmask netmask up
ifconfig interface_name inet6 addif cluster_address/prefix_length up
ifconfig lo0 inet6 addif 3ffe:34::24:45/128 up
arp -s <cluster> <Load Balancer's MAC address> pub
gotchaWindows IP Configuration
Host Name . . . . . . . . . . . . : ndserv10
Primary Dns Suffix . . . . . . . : rtp.raleigh.ibm.com
Node Type . . . . . . . . . . . . : Unknown
IP Routing Enabled. . . . . . . . : No
WINS Proxy Enabled. . . . . . . . : No
DNS Suffix Search List. . . . . . : rtp.raleigh.ibm.com
Ethernet adapter Local Area Connection 2:
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Microsoft Loopback Adapter
Physical Address. . . . . . . . . : 02-00-4C-4F-4F-50
DHCP Enabled. . . . . . . . . . . : No
IP Address. . . . . . . . . . . . : 9.42.92.158
Subnet Mask . . . . . . . . . . . : 255.255.252.0
IP Address. . . . . . . . . . . . : 9.42.92.159
Subnet Mask . . . . . . . . . . . : 255.255.252.0
IP Address. . . . . . . . . . . . : 2002:92a:8f7a:162:9:42:92:160
IP Address. . . . . . . . . . . . : 2002:92a:8f7a:162:9:42:92:159
IP Address. . . . . . . . . . . . : fe80::4cff:fe4f:4f50%4
Default Gateway . . . . . . . . . :
DNS Servers . . . . . . . . . . . : 127.0.0.1
fec0:0:0:ffff::1%1
fec0:0:0:ffff::2%1
fec0:0:0:ffff::3%1
netsh interface ipv6 add address "Local Area Connection 2"
2002:92a:8f7a:162:9:42:92:161
ipconfig /all
You
should see output that is similar to the following:Ethernet adapter Local Area Connection 2:
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Microsoft Loopback Adapter
Physical Address. . . . . . . . . : 02-00-4C-4F-4F-50
DHCP Enabled. . . . . . . . . . . : No
IP Address. . . . . . . . . . . . : 9.42.92.158
Subnet Mask . . . . . . . . . . . : 255.255.252.0
IP Address. . . . . . . . . . . . : 9.42.92.159
Subnet Mask . . . . . . . . . . . : 255.255.252.0
IP Address. . . . . . . . . . . . : 2002:92a:8f7a:162:9:42:92:161
IP Address. . . . . . . . . . . . : 2002:92a:8f7a:162:9:42:92:160
IP Address. . . . . . . . . . . . : 2002:92a:8f7a:162:9:42:92:159
IP Address. . . . . . . . . . . . : fe80::4cff:fe4f:4f50%4
Default Gateway . . . . . . . . . :
DNS Servers . . . . . . . . . . . : 127.0.0.1
fec0:0:0:ffff::1%1
fec0:0:0:ffff::2%1
fec0:0:0:ffff::3%1
netsh interface ipv6>show interface
Querying active state...
Idx Met MTU State Name
--- ---- ----- ------------ -----
6 2 1280 Disconnected Teredo Tunneling Pseudo-Interface
5 0 1500 Connected Local Area Connection
4 0 1500 Connected Local Area Connection 2
3 1 1280 Connected 6to4 Pseudo-Interface
2 1 1280 Connected Automatic Tunneling Pseudo-Interface
1 0 1500 Connected Loopback Pseudo-Interface
netsh interface ipv6>set interface "Local Area Connection"
forwarding=enabled
Ok.
netsh interface ipv6>set interface "Local Area Connection 2"
forwarding=enabled
Ok.
netsh interface ipv6>show interface "Local Area Connection"
netsh interface ipv6>show interface "Local Area Connection 2"