Detecting MAC Address Collisions

A detection check for duplicate MAC addresses is performed when the logical domain or network device is created, when the logical domain is started with the -m option, and when the ldmd/mac_collision_check SMF property is set to true.

The mac_collision_check SMF property controls whether a MAC address collision check is performed when the Logical Domains Manager starts. The check is performed when the property value is true. The default value is false.

The following command enables the MAC address collision check during Logical Domains Manager startup by setting the mac_collision_check SMF property:

primary# svccfg -s ldmd setprop ldmd/mac_collision_check=true
primary# svcadm refresh ldmd
primary# svcadm restart ldmd

By default, MAC address collision checks are disabled. If the mac_collision_check SMF property is enabled, a warning message is logged when collisions are detected.

Note:

The MAC address collision check slows down the start of the Logical Domains Manager process depending on the number of MAC addresses to check.

In addition to the Logical Domains Manager performing MAC address collision checks, you can perform this check when a domain starts by using the ldm start-domain -m command. If a MAC address collision is detected, the ldm start-domain command fails.

Note:

The MAC address collision check slows down the start of a domain depending on the number of MAC addresses to check.

The following command to enable the MAC address collision check when the ldg1 domain starts up fails with an error:

primary# ldm start-domain -m ldg1
MAC address 00:14:4f:fb:9d:32 is already in use.