Hello,
@hugleo wrote:
how to choose a mac from private or public pool that will not cause conflict with other juniper interfaces?
IEEE private MAC address pool is 46-bit wide (for private unicast MACs, only two bits are fixed - b1 in octet1, must be 1; and b0 in octet1, must be 0) so if You could come up with a scheme that does not start from 02:00:00:00:00:00 upwards, or better does not use 02: addresses at all, then the possibility of collision is diminished.
Example being:
1/ start from random first 6 bits, say, 49 decimal, binary b1100 01, append b10, arrive at b11000110, 0xc6 in hex
2/ convert the interface IP address to hex: 203.0.113.1 becomes CB:00:71:01
3/ append together [1] and [2] - C6:CB:00:71:01
4/ pad with Your chosen hex char, say, F - C6:CB:00:71:01:FF
HTH
Thx
Alex