Differences between Windows NLB unicast and multicast

Source: Internet
Author: User
Tags node server
Windows NLB (Network Load Balancing) is a load balancing technology that Windows $ Server begins to provide on the operating system. NLB uses a distribution algorithm to distribute load balancing across multiple hosts, increasing the scalability and availability of key IP-based services such as the WEB, virtual private networks, streaming media, Terminal Services, proxies, and so on, while detecting host failures and automatically reallocating traffic to other operations masters. Thus providing high availability.

Windows NLB has two modes, unicast and multicast, and the two modes have different principles.

1. In unicast mode, the NLB service will re-assign the MAC address to the NLB-enabled NIC in each node (this MAC address is called the cluster MAC address), and all NLB nodes use the same MAC address (both use the cluster MAC address). NLB also modifies the source MAC address in all sent packets, which causes the switch to not bind the cluster MAC address to a port. NLB that works in unicast mode can operate in all network environments (best compatibility);

2. In multicast mode, NLB does not modify the NLB node's MAC address for the NLB-enabled network adapter, but instead allocates a two-tier multicast MAC address for NLB-specific traffic (this MAC address is called the cluster MAC address), This allows the NLB nodes to communicate with their original private IP address.


Suggestions:

NLB node server has only one NIC, use multicast mode.

If the NLB node server has multiple network cards, or if the network devices (such as layer two switches and routers) do not support multicast mode, you can use unicast mode.

Differences between Windows NLB unicast and multicast

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.