Windows Server Summit 2024
Mar 26 2024 08:00 AM - Mar 28 2024 04:30 PM (PDT)
Microsoft Tech Community
LIVE

On my teamed NIC, the MAC address keeps changing. How do I make it static?

Copper Contributor

Windows server 2016, 2 NIC ports, teamed with Microsoft Network Adapter Multiplexor Driver, no VMs, no VPNs, no load balancer.  After rebooting, the MAC address keeps changing (based on IPCONFIG /all).  Application software is based on MAC, so the application keeps failing after reboot.  

 

I've read that the Team uses the first NIC cards MAC, but I've also read that it may choose randomly based on load balancing.  I cannot view the MACs of the ethernet adapters.  I'm guessing this is because they're already teamed.

 

I couldn't find good documentation on how to set the MAC address of the NIC Team, so I'm making an assumption that I do the following: NICTeam > Properties > Configure > Advanced > MAC Address > Value... and set it to whatever 12 hex characters I want (000012345678).  Is this correct?  

 

Based on IPCONFIG, the NICTeam is presenting what looks like a standard MAC address.  I'm assuming it's grabbing this from one of the NICs.  If I use the method above and set the MAC to the same address, will I have conflicts in the future?  ...or is it safer just to use 000012345678?

5 Replies

In my experience, the NIC team uses one of the MAC address of the underlying NICs but it usually stays the same. I have had duplicate MAC address messages but when I looked it up it was a non issue. I set the MAC address manually to get rid of that message. 

 

"NICTeam > Properties > Configure > Advanced > MAC Address > Value... and set it to whatever 12 hex characters I want (000012345678).  Is this correct?  " 

 

That's the way I did it. 

Thanks. It seemed to make sense, but with the lack of documentation, I didn't want to assume. I'll give it a try.

@Benjamin Bartels 

Hello, did you ever confirm if you can indeed set the NIC Team MAC address in Advanced setting and connectivity would still work?

I have very similar server setup: two teamed NICs and appears that one of the NICs (first) seems to present its MAC as the MAC that is presented when querying IPCONFIG /ALL. I am not onsite with server, so hesitate making any change that would make the server unavailable, unless there is (tested) process.

Yes, not seeing any instruction/details with Teaming on how the MAC is set and/or if it can be changed.

@BradS I followed directions written by @Benjamin Bartels  and the Teamed NIC has connectivity. Expect an interruption when the Team NIC MAC is set, while the network adjusts. 

 

I set the MAC address for all my Teamed NICs because otherwise after each restart my DHCP system would give me a different address.

Hello everybody.
I have a team of two NICs
My application uses the MAC of the balance and as it keeps changing it is a big problem, so I thought about leaving the grouping with the MAC of one of the NICs, would that be a problem?
Example 1
NIC1 - 10:20:30:40:50:80
NIC2 - 10:20:30:40:50:81
GROUPING - 10:20:30:40:50:81

Could I do this configuration?
Or would I have to create a fictitious MAC for example?
Example 2
NIC1 - 10:20:30:40:50:80
NIC2 - 10:20:30:40:50:81
GROUPING - 10:20:30:40:50:82

What is the best way to proceed?