.. index:: pair: group; default MAC address test .. _doxid-group__usecases-set__default__mac__addr: default MAC address test ======================== .. toctree:: :hidden: group_usecases-set_default_mac_addr-run.rst Set the default MAC address Make sure that changing the default MAC address really takes effect #. Initialize EAL, configure **iut_port** to provide 1 Rx queue and start the port #. Make sure that promiscuous mode is disabled. #. Set the default MAC address equal to **iut_alien_mac**. #. Get MAC address and compare it with **iut_alien_mac**. #. Start the Ethernet device #. Ensure that interface is UP on Tester side #. Transmit and sniff two unicast packets from **tst_if:** the first to the **iut_alien_mac** and the second to old IUT MAC. #. Receive packets on **iut_port**. Check that the first received packet matches the first sent and the second was dropped. .. rubric:: Parameters: .. list-table:: :widths: 20 80 * - ethdev_state - The state of Ethernet device | :ref:`set_default_mac_addr`