[pve-devel] MAC address generation

Michael Rasmussen mir at datanom.net
Fri Jul 8 14:36:43 CEST 2016


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Would it not be an idea to implement a cluster wide function in API?

On July 8, 2016 1:14:30 PM GMT+02:00, Thomas Lamprecht <t.lamprecht at proxmox.com> wrote:
>On 07/08/2016 12:33 PM, Waschbüsch IT-Services GmbH wrote:
>>> Am 07.07.2016 um 17:26 schrieb Andreas Steinel
><a.steinel at gmail.com>:
>>>
>>> Hi,
>>>
>>> I currently only have one big 3.4 install (>150 VMs), on which I
>compared
>>> the generated MACs and found out that they are completely random.
>Are there
>>> plans or probably is there already an implementation to generate
>only from
>>> a specific region? I did not found any changes in the roadmap.
>>>
>>> In KVM/Qemu there is standard to use a prefix of 52:54:00, which was
>>> present in Proxmox some years ago.
>> While we are at it: are generated MAC addresses ensured to be unique
>across a cluster?
>
>Not directly, although the chance of such a collisions is about:
>
>0.000 000 000 000 355 271 % or 1 in 10 ^ 14.5
>
>so if a problem arise I'd call it your lucky day, still you have a
>point.
>
>It would not be that much of a problem to check it between the VMs/CTs,
>
>I guess, but for other devices in the network... (prefix could help
>here)
>
>
>
>_______________________________________________
>pve-devel mailing list
>pve-devel at pve.proxmox.com
>http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

- --
Sent from my Android phone with K-9 Mail. Please excuse my brevity.
-----BEGIN PGP SIGNATURE-----
Version: APG v1.1.1

iHsEAREKADsFAld/nls0HE1pY2hhZWwgUmFzbXVzc2VuIChNaWNoYWVsIEdQRy1r
ZXkpIDxtaXJAbWlyYXMub3JnPgAKCRBUSthV4+gJF7n1AJ46yu768Iq6pV7kCsFj
1X+lSLluFQCeK0pz/WNAxRRhACCb4d9HONhS8sA=
=xIsU
-----END PGP SIGNATURE-----



More information about the pve-devel mailing list