12/15/2021»»Wednesday

Configure Manual Mac Adress

12/15/2021
    69 - Comments

To support this configuration, you must configure the network infrastructure to use static ARP entries and MAC address table entries. Network switches cannot learn the NLB multicast MAC address in the course of their usual operations. If you skip the manual configuration step, the network switches may flood NLB traffic to all ports or drop packets. Select the virtual machine settings, select the NIC settings, and then select Enable spoofing of MAC addresses.

-->

This article describes how the different Network Load Balancing (NLB) operation modes affect network infrastructure, and the best ways in which the network can support each mode.

Applies to: Windows Server 2016, Windows Server 2012 R2
Original KB number: 4494444

Summary

Based on our experience, the most common issue that users encounter when they use NLB is that they are not informed enough about the technology. Therefore, the deployments and implementations usually lack some mandatory settings, or don't consider the most important factor in every network: Bandwidth consumption.

NLB can operate in any of three modes: unicast, multicast, and multicast that uses Internet Group Membership Protocol (IGMP multicast). Each of these modes has different requirements and places different demands on the network infrastructure.

Important

All of the nodes in a cluster must use the same operation mode.

The following table summarizes the requirements, advantages, and disadvantages of each mode.

NLB operation modeSpecial requirementsAdvantagesDisadvantages
UnicastNLB must be able to change the MAC adapter address.
  • Easy to configure
  • Appropriate for simple environments
  • May flood other systems with network traffic, causing performance issues (you may have to use additional hardware to resolve those issues)
  • Not appropriate for more complex environments
MulticastThe network infrastructure must use a static ARP entry and a static MAC address table entry.
  • More efficient use of bandwidth and lower risk of performance impacts than unicast mode
  • Each adapter uses its built-in MAC address
More complex to configure than unicast
Multicast with IGMPThe network switches must be capable of IGMP snooping.
  • Same advantages as multicast
  • Additional advantage of automatic configuration.
Requires that the network hardware have specific capabilities that the other modes do not need

You can configure an NLB cluster in one of three operation modes: Unicast, multicast, or IMGP multicast. All three modes work very well if your infrastructure is correctly configured. However, serious problems can develop if you haven't prepared your network infrastructure to support the mode that you are using. Each mode has different implications for the network infrastructure.

Unicast

Unicast is the simplest operation mode to configure. In theory, you don't have to do anything else in your network infrastructure. In actuality, you may have to modify the infrastructure to manage network traffic.

In unicast mode, NLB uses the NLB MAC address to replace the original hardware MAC address of each adapter in each node of the cluster. Because multiple adapters now have the same address, any physical switches in the network can no longer correctly maintain their MAC address tables. Because they cannot determine which traffic goes to which switch port, the switches start sending all traffic to all ports to make sure that the traffic reaches its destination. This is known as a unicast flood scenario.

A unicast flood can seriously affect the network performance. In addition to the regular network traffic, every NLB node sends out a heartbeat packets (each heartbeat packet contains about 1500 bytes of data). By default, a node sends a heartbeat packet each second and waits for five of those packets to be received until it considers the node as converged. In a unicast flood situation, any switches rebroadcast this heartbeat traffic to all switch ports just like the regular network traffic. For example, if your network has a 24-port or 48-port switch, and only two of those ports connect to NLB nodes, the switch may end up broadcasting significant network traffic to 22 (or 46) servers that don't need it.

To avoid a unicast flood, you have the following options:

  • Option 1: Insert a hub between the network switch and the NLB nodes. The hub uses the NLB unicast MAC address and connects to a single switch port, so the switch can correctly manage its MAC address table. The hub forwards traffic to the NLB nodes, and servers that connect to the other switch ports don't receive the extra NLB traffic.

  • Option 2: Create a separate VLAN for the NLB servers. Make sure that other subnets can reach the VLAN. This configuration isolates NLB traffic to the switch ports that are assigned to that VLAN.

Configure computers that have dual NICs in unicast mode

In some cases, you want to have two network interface cards (NICs) on your computer. If you are running Windows Server 2008 or later, you must enable IP forwarding on the NICs in order to ensure that traffic gets routed properly. IP forwarding is enabled by default in earlier versions of Windows.

Before you enable IP forwarding, you have to get the index of the Cluster NIC. On the computer that you want to configure, open a Command Prompt window and run the following command:

The output of this command lists the interfaces on the computer, as follows.

In the Command Prompt window, run the following command:

In this command, <Cluster Idx> represents the index of the cluster interface.

To verify that the setting has changed, run the following command:

In this command, <Cluster Idx> represents the index of the cluster interface.

The output shows that forwarding is now enabled.

Configure virtual environments in unicast mode

What Is Mac Address

By default, the virtual switches in virtual environments usually prevent unicast flooding. For more configuration information, see the following resources:

  • If you are using Hyper-V to run your virtual environment, open the Hyper-V management console. Select the virtual machine settings, select the NIC settings, and then select Enable spoofing of MAC addresses. Select OK. For more information, see Tip: Configure MAC Address Spoofing for Virtual Network Adapters.

  • If you are using VMware to run your virtual environment, refer to the VMware article Microsoft NLB not working properly in Unicast Mode (1556). This article explains how to configure the virtual network infrastructure. Remember to contact VMware if you have questions about their documentation.

  • If you are using another virtual environment (such as XenServer or VirtualBox) and you are experiencing similar issues, contact the manufacturer for guidance.

Multicast

Multicast mode differs from unicast mode. Instead of changing the MAC addresses on the network adapters, NLB converts the NLB virtual IP (VIP) address to an NLB multicast MAC address. This MAC has the format of 03-BF-XX-XX-XX-XX. NLB also makes sure that the cluster's primary IP address resolves to this multicast address as part of the Address Resolution Protocol (ARP). Although the individual network adapters retain their original MAC addresses, the NLB traffic is addressed to the NLB multicast MAC address.

To support this configuration, you must configure the network infrastructure to use static ARP entries and MAC address table entries. Network switches cannot learn the NLB multicast MAC address in the course of their usual operations. If you skip the manual configuration step, the network switches may flood NLB traffic to all ports or drop packets. The network may seem to function correctly at first, but problems increase over time.

The articles that are listed in the following table explain clearly what you have to do to correctly configure your network infrastructure, based on your network infrastructure vendor. Remember that we don't maintain these articles. Therefore, we cannot guarantee that they are accurate or available. If you have any questions about these articles, please contact the appropriate vendor.

VendorArticle
VMwareSample Configuration - Network Load Balancing (NLB) Multicast mode over routed subnet - Cisco Switch Static ARP Configuration (1006525)
Cisco
  • Catalyst Switches for Microsoft Network Load Balancing Configuration Example
    If you use VSS on Cisco Catalyst, you may experience traffic issues on one of the stack nodes. For more information, contact Cisco and mention this bug (you must have a Cisco account to access the bug).
Juniper
HPEHP Switch 5500/5500G - How to implement Microsoft Network Load Balancing using multicasts on the Switch 5500 and 5500G
Dell
HuaweiExample for Connecting a Device to an NLB Cluster (Using Multi-Interface ARP)
D-LinkD-Link Layer 3 Switch Microsoft NLB in Multicast Mode Configuration Example
AvayaTechnical Configuration Guide for Microsoft Network Load Balancing (download)
H3C05-Layer 3 - IP Services Configuration Guide
Mac

Configure virtual environments in multicast mode

In a virtual environment, the network switches connect to the hypervisor host servers. In a high-availability virtual environment, a group of hypervisor hosts supports a group of virtual machines. An individual virtual machine may reside on any of the hypervisor hosts, and it may migrate to a different hypervisor host under specific circumstances. The network traffic must be able to reach the correct virtual machine regardless of which hypervisor host that virtual machine runs on.

To use multicast mode in such an environment, you have to configure the MAC address tables of the network switches so that each port that connects to a hypervisor host uses a static entry to map to the NLB multicast MAC address. For example, consider an environment that contains eight hypervisor hosts. Each hypervisor host has two network adapters, and all of the adapters connect to a switch. The MAC address table for the switch requires static entries that map each port to the NLB Multicast MAC address.

IGMP multicast

To use IGMP multicast, the network switches must be capable of IGMP snooping.

This mode is basically the same as multicast mode, except that the switches can automatically build their MAC address tables in this mode.

When you enable IGMP multicast, the NLB nodes send IGMP Join messages to the 239.255.x.y multicast address (in this address, x.y represents the last two octets of the NLB VIP). For example, if the NLB VIP is 10.0.0.1, the multicast address for IGMP Join messages is 239.244.0.1. These messages indicate the group membership of the NLB nodes. The switches use this information to configure the MAC address table.

Some of the articles that are listed in the Multicast section include the correct configuration parameters for their devices for multicast with IGMP. To verify that your equipment can support this mode, contact your hardware vendor.

Configure the NLB operation mode

From an NLB standpoint, the configuration is straightforward: Install the role, open the console, create a load-balancing cluster, select the nodes, set the NLB mode, and then set the ports and affinity.

Note

To configure a cluster node by using NLB Manager, you must be a member of the Administrators group on the cluster node.

To configure the NLB cluster operation mode, use the following steps:

  1. In Server Manager, select Administrative tools and then select Network Load Balancing Manager.
  2. If NLB Manager does not already list the cluster, connect to the cluster.
  3. Right-click the cluster and select Cluster Properties.
  4. On the Cluster Parameters tab, select Unicast or Multicast in Cluster operation mode. If appropriate, you can also enable Internet Group Management Protocol (IGMP) support by selecting the IGMP multicast check box.

To configure the MAC addressing for NLB (which depends on the NLB mode), the most important tool is NLB IP2MAC. This tool is available on any computer that has NLB installed, and it is very easy to use. To start the tool, open a Command Prompt window and run the following command:

In this command, <VIP of NLB> represents the NLB virtual IP address.

As the screenshot shows, you can get the MAC address for each mode easily by using this command. As an alternative, you can do your math, considering the following guidelines (the numbers correspond to the red numbers in the screenshot):

  1. In Unicast mode, the MAC address starts as 02-BF. This is followed by a series of hexadecimal codes that represent each octet of the VIP address.

  2. In Multicast mode, the MAC address starts as 03-BF. Again, this is followed by a series of hexadecimal codes that represent each octet of the VIP address.

  3. In Multicast with IGMP mode, the MAC address starts as 01-00-5E-7F. The last two parts of the address are the last two octets of the VIP address.

For more information about how to deploy and maintain NLB, see the following resources:

Third-party information disclaimer

Configure Mac Address

The third-party products that this article discusses are manufactured by companies that are independent of Microsoft. Microsoft makes no warranty, implied or otherwise, about the performance or reliability of these products.

Third-party contact disclaimer

Microsoft provides third-party contact information to help you find additional information about this topic. This contact information may change without notice. Microsoft does not guarantee the accuracy of third-party contact information.

This tutorial explains how to configure your Email account with SiteGround to work on your Mac Mail application.

Configure Mac Mail automatically

You can easily configure your email accounts in Mac Mail. To check the settings, go to Site Tools > Email > Accounts:

Choose the preferred email account and go to the kebab menu > Mail Configuration:

Select the Autoconfigure tab and from the drop-down menu, choose the correct version for your Mac Mail:

  • MacOS® Mail.app® for versions prior to Lion (10.4+)
  • MacOS® Mail.app® for Lion (10.7+)
  • iOS for iPhone/iPad/iPod and MacOS® Mail.app® for Mountain Lion (10.8+)
Configure Manual Mac Adress

Your browser will ask you to download a file on your computer. Download and open it. Then depending on your OS version, you may see different steps that are required to be performed different actions, so just follow the instructions you see after opening the file. Once the settings are imported you can open Mac Mail and your account will be imported there.

Important!The Mail Autoconfig feature will work only if your domain name is using the SiteGround nameservers. You can find more information on how to find the nameservers for your account here.

Configure Mac Mail manually

To begin with, click on the Apple Icon Menu on the top left of your screen and select the System Preferences… submenu.

You will be taken to your System Preferences screen where you can adjust various options of your Mac OS. Select the Internet Accounts link to proceed.

Here, you will see a list of all the different accounts you have registered including iCloud, FaceBook, Vimeo, etc. Scroll down and select the Add Other Account… option.

Next, select to add a Mail account on the next screen.

Manual

A pop-up will appear asking you to fill in your name and the Email address that you want to register with Mac Mail. Note, that people you send emails to will receive them from the name you enter here. This option, however, can be changed later on. Finally, click Sign in to proceed.

Address

Now, you have to fill in the server settings for your Email account:

  • Email Address: – should be pre-filled with the value you’ve entered in the previous screen;
  • Username: – enter your full email address as a username, i.e [email protected]. It will be used both for the incoming and outgoing connection;
  • Password: – enter the password for your email account;
  • Account Type: – it’s set to IMAP by default. Unless you specifically want to use POP3 you should leave it that way;
  • Incoming Mail Server: – add your domain name if it is pointed to your SiteGround website. Alternatively you can use the server hostname;
  • Outgoing Mail Server: – same as the incoming server;

You can also find the exact settings to use with each of your mail accounts with your Mac Mail in your Site Tools > Email > Accounts, choose the preferred email account and go to kebab menu > Mail Configuration and select Manual Settings tab.

Once you fill in all the details, press Sign In to proceed.

Finally, you will be asked which programs you want to use this account with. The available options depend on the applications you have installed on your account.

Configure Mac Keyboard With Pc

That’s it! You can now use your email account with the Mac Mail application.

Edit existing email account settings in Mac Mail

Open the Mac Mail application and go to Mail -> Preferences.

Configure Mac Mini

Configure mac keyboard with pc

Click the Accounts tab, select your email from the accounts list and click the Server Settings tab.

Configure Mac Keyboard For Windows

Change the desired settings and click the Save button to apply them.

You can find the settings to use with each of your mail accounts with SiteGround with your Mac Mail in your Site Tools > Email > Accounts, choose the preferred email account and go to kebab menu > Mail Configuration and select Manual Settings tab.