Can I have multiple NICs in one computer, having same MAC address? OS - Ubuntu Linux. Thanks

  • 1
    Sun Sparc systems had all NICs on the same MAC address. This gave no end of trouble when plugging more than one NIC into the same switch (e.g. with different VLANs). – wurtel May 15 at 13:38

Technically it is possible. But the reality is that a lot of funny (and painful) things will start happening. So better do not do it.

If you have a special case we can work with that.


Yep, it's possible. To change the MAC address you can use ip command:

ip link set dev <iface> address <mac>

Is it possible to have same MAC address on multiple NICs plugged to same Linux computer?


Will that work as desired/expected?
Probably not.
For instance MAC-addresses are supposed to be unique within the same broadcast domain for TCP/IP to work as designed.

e.g. Duplicate MAC address on the same LAN possible?
Can duplicate MAC addresses on same LAN cause trouble?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.