Interoperation Between a Single Huawei Switch and an Microsoft NLB Cluster (Using Physical Link Loopback)
This section includes the following content:
Overview
NLB is developed by Microsoft for a cluster set up by multiple Windows servers. When a switch is connected to an NLB cluster, the switch needs to send packets destined for the cluster IP address to every NLB server in the cluster. An NLB server can work in unicast, multicast, or IGMP multicast mode.
Currently, a switch can be connected to the NLB server working in only unicast or multicast mode. If the switch supports multi-interface ARP, this function is recommended to implement the connection between the switch and NLB cluster. When the switch or version does not support multi-interface ARP and there are insufficient device resources, you can use physical link loopback to connect the switch to the NLB cluster.
Networking Requirements
As shown in Figure 2-64, the Switch connects to three NLB servers through GE0/0/1, GE0/0/2, and GE0/0/3. The NLB cluster works in unicast mode, the cluster IP address is 10.128.246.252/24, and the cluster MAC address is 02bf-0a80-f6fc. There are reachable routes between the Switch and Client.
The customer requires that the Switch be able to send the Client's packets destined for the NLB cluster IP address to all NLB servers.
Figure 2-64 Connecting a single device to an NLB cluster in unicast mode 
Configuration Roadmap
Add GE0/0/1 through GE0/0/3 that are directly connected to NLB servers to VLAN 100.
Disable STP, RSTP, VBST, or MSTP on GE0/0/4 and GE0/0/5, and add the interfaces to VLAN 100 and VLAN 200 respectively in access mode.
Configure an IP address for VLANIF 200 that functions as the NLB cluster's gateway.
Connect GE0/0/4 and GE0/0/5.
Configuration Notes
When the NLB cluster works in unicast mode, static ARP entries do not need to be configured on the switch;
when the cluster works in multicast mode, static ARP entries need to be configured on the switch.
This configuration example applies to all switches running all versions.
Procedure
Add GE0/0/1 through GE0/0/3 that are directly connected to NLB servers to VLAN 100.
<HUAWEI> system-view
[HUAWEI] sysname Switc
[Switch] vlan batch 100 20
[Switch] interface gigabitethernet 0/0/
[Switch-GigabitEthernet0/0/1] port link-type acces
[Switch-GigabitEthernet0/0/1] qui
[Switch] interface gigabitethernet 0/0/
[Switch-GigabitEthernet0/0/2] port link-type acces
[Switch-GigabitEthernet0/0/2] qui
[Switch] interface gigabitethernet 0/0/0
[Switch-GigabitEthernet0/0/3] port link-type acces
[Switch-GigabitEthernet0/0/3] qui
[Switch] vlan 10
[Switch-vlan100] port gigabitethernet 0/0/1 to 0/0/
[Switch-vlan100] quit
Configure GE0/0/4 and GE0/0/5.
# Disable STP, RSTP, VBST, or MSTP on GE0/0/4 and GE0/0/5.
[Switch] interface gigabitethernet 0/0/4
[Switch-GigabitEthernet0/0/4] undo stp enable //Disable STP, RSTP, VBST, or MST
[Switch-GigabitEthernet0/0/4] qui
[Switch] interface gigabitethernet 0/0/
[Switch-GigabitEthernet0/0/5] undo stp enable //Disable STP, RSTP, VBST, or MST
[Switch-GigabitEthernet0/0/5] quit
# Add GE0/0/4 and GE0/0/5 to VLAN 100 and VLAN 200 respectively in access mode.
[Switch] interface gigabitethernet 0/0/4
[Switch-GigabitEthernet0/0/4] port link-type acces
[Switch-GigabitEthernet0/0/4] port default vlan 10
[Switch-GigabitEthernet0/0/4] qui
[Switch] interface gigabitethernet 0/0/
[Switch-GigabitEthernet0/0/5] port link-type acces
[Switch-GigabitEthernet0/0/5] port default vlan 20
[Switch-GigabitEthernet0/0/5] quit
Configure an IP address for the NLB cluster's gateway.
[Switch] interface vlanif 200
[Switch-Vlanif200] ip address 10.128.246.250 2
[Switch-Vlanif200] quit
Connect GE0/0/4 and GE0/0/5.
After the previous configurations, connect physical links.
Verify the configuration.
Verify that Server_1 through Server_3 can receive packets destined for the NLB cluster.
Configuration Files
Switch configuration file
#
sysname Switch#
vlan batch 100 200
#
interface Vlanif200
ip address 10.128.246.250 255.255.255.0
#
interface GigabitEthernet0/0/1
port link-type access
port default vlan 100
#
interface GigabitEthernet0/0/2
port link-type access
port default vlan 100
#
interface GigabitEthernet0/0/3
port link-type access
port default vlan 100
#
interface GigabitEthernet0/0/4
port link-type access
port default vlan 100
stp disable
#
interface GigabitEthernet0/0/5
port link-type access
port default vlan 200
stp disable
#
return
See more please click
Series Switches Typical Configuration Examples