Tool/software:
How do we set/configure a specific MAC address for an ETHFW virtual client?
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Tool/software:
How do we set/configure a specific MAC address for an ETHFW virtual client?
ETHFW server will allocate the MAC address to virtual clients using MAC address from EEPROM or Random Generation or Static MAC address array/table maintained at ETHFW.
If we want to assign specific MAC adders to clients, we need to disable Radom MAC address generation from ETHFW and use either read of EEPROM or Static MAC address array.
Please update below as “no” for disabling the Random MAC address generation from ETHFW.
In case of EEPROM usage for MAC address, we need to program the MAC address into EEPROM as required.
In the case of static MAC address array usage in ETHFW for the MAC address, we need to add/configure the MAC address into the static array as required.
Please refer to the below for the default static MAC address in ETHFW.
The allocation of MAC addresses to the clients, based on the core number and virtual interfaces mapped to the client, is shown below.
S.No |
CORE ID, Virtual interface |
MAC Address Index from static Array |
1 |
MPU1_0, Virtual switch port |
0 {0x70U, 0xFFU, 0x76U, 0x1DU, 0x92U, 0xC1U} |
2 |
MPU1_0, Virtual MAC only |
1 {0x70U, 0xFFU, 0x76U, 0x1DU, 0x92U, 0xC2U} |
3 |
MCU1_0, Virtual switch port |
2 {0x70U, 0xFFU, 0x76U, 0x1DU, 0x92U, 0xC3U} |
4 |
MCU2_0, Local switch port |
3 {0x70U, 0xFFU, 0x76U, 0x1DU, 0x92U, 0xC4U} |
5 |
MCU2_1, Virtual switch port |
4 {0x70U, 0xFFU, 0x76U, 0x1DU, 0x92U, 0xC5U} |
6 |
MCU2_1, virtual MAC only |
5 {0x70U, 0xFFU, 0x76U, 0x1DU, 0x8BU, 0xC4U} |
Above core ID and virtual interface mapping is as per TI default SDK configuration.
So, as per the required client interface, we need to modify/configure the MAC address entry in static MAC address table.
Note:
After updating the required changes, make sure to clean build the ETHFW and use the updated binary.