There is a limitation with EX4300 and QFX5100 switches where more than one Layer 2 interface cannot be configured for static ARP.
Microsoft network load balancing uses multicast MAC address 03:XX and unicast IP. The ARP entries are not updated with multicast MAC and unicast IP (this goes against RFC 1812). Static ARP (unicast IP to multicast MAC) mapping needs to be created as there is a limitation where you cannot configure more than a single Layer 2 interface for static ARP.
This limitation in EX4300/QFX5100 switches is shown below:
{master:1}[edit interfaces irb]root@Switch# showunit 172 { family inet { address 172.1.1.1/24 { arp 172.1.1.2 l2-interface ge-ae13.0 multicast-mac 03:bf:ac:01:01:02; <== (Note: In the 14.1x version we can commit config without l2-interface but it does not work until you specify the l2-interface) } }}
Below are two example workarounds for the network load-balancing issue:
Workaround 1: Connect a Layer 2 switch between the EX4300 switch and server
We need to change the setup by introducing a Layer 2 switch between the EX4300 switch and server.
The refined topology would look like this:
This is mentioned in the Microsoft documentation:
See the Microsoft documentation at technet.microsoft.com/en-us/library/cc962174.aspx for more information.
Workaround 2: Create a Layer 3 inet interface and loop it back to the network load-balancing Layer 2 server VLAN
We have to create a separate Layer 3 inet interface using the subnet address that the network load-balancing server will utilize and then connect (loop) this Layer 3 interface to a port on the same VC/switch in the Layer 2 VLAN. This will overcome the limitation of pointing the ARP entry only to one Layer 2 interface and then connecting the server to the Layer 2 VLAN.
A similar setup with the network load-balancing scenario was tested:
The example shows the following network load-balancing scenario:
Configuration
The Layer 3 interface needs to be configured, can be a LAG or single interface. The example is shown with a LAG:
set interfaces ae0 unit 0 family inet address 172.1.1.1/24set interfaces ae0 unit 0 family inet address 172.1.1.1/24 arp 172.1.1.2 multicast-mac 01:00:5e:7f:5c:d3 publish
<<< use your network load-balancing IP and MAC
set interfaces ge-0/0/2 ether-options 802.3ad ae0set interfaces ge-1/0/2 ether-options 802.3ad ae0
The Layer 2 VLAN needs to be configured with looped-backed LAG and ports (can be LAGs or single interfaces) going to the network load-balancing servers placed in the same network load-balancing VLAN:
set vlan v173 vlan-id 173set interfaces ae1 unit 0 family ethernet-switching vlan members v173set interfaces ge-0/0/4 ether-options 802.3ad ae1set interfaces ge-1/0/4 ether-options 802.3ad ae1set interfaces ge-0/0/5 ether-options 802.3ad ae2set interfaces ge-1/0/3 ether-options 802.3ad ae3
set interfaces ae2 unit 0 family ethernet-switching vlan members v173set interfaces ae3 unit 0 family ethernet-switching vlan members v173
The LAG number needs to be set:
set chassis aggregated-devices ethernet device-count 10
Caveats: