In some environments, the MAC address of a virtual device may change after reboot.
Mist uses the MAC addresses of devices as a device identifier. The chassis MAC address of the vSRX is generated using the following formula:
<vendor id> + <fxp0 last two> + <Private count>
The Vendor ID for vSRX is always: 4c-96-14
Then the last two bytes of the fxp0 MAC address become bytes #4 and #5.
Then the last byte is the Private count from the command "show chassis mac-addresses"
Example:
root@vSRX> show interfaces fxp0 | match Hardware
Current address: 52:54:00:dd:55:7b, Hardware address: 52:54:00:dd:55:7b
root@vSRX> show chassis mac-addresses
MAC address information:
Public base address 4c:96:14:55:7b:00
Public count 128
Private base address 4c:96:14:55:7b:80
Private count 0
The "Public base address 4c:96:14:55:7b:00" will be the address used by Mist.
In this example we have:
Vendor ID : 4c:96:14
Last two of the fxp0: 55:7b
Private count: 00
Therefore, the Public base address is 4c:96:14:55:7b:00.
If the MAC address changes, Mist will no longer be associated with the device. It will have to be released and re-adopted.
The only Mac that can be specified by the hypervisor is the fxp0 MAC address, the first ethernet device. This MAC address must not be changed by the hypervisor or the chassis MAC will change, resulting in disassociation from Mist.
The first interface, if not all of the interfaces, should have a static MAC address set in the hypervisor.