retspen / webvirtcloud

WebVirtCloud is virtualization web interface for admins and users
1.7k stars 372 forks source link

Get MAC OUI from settings.py #611

Closed MisterBlueBear closed 1 year ago

MisterBlueBear commented 1 year ago

Removed the hard coded MAC OUI in the code and instead fetches the OUI from settings.py

If independent instances of WebVirtCloud (or any libvirt) exists on the same subnet and VMs are configured to use a bridge interface, this could lead to duplicate MACs on the same subnet (low probability, but still possible). This change gives the user a choice to define an OUI.

catborise commented 1 year ago

It is a standart Kvm ethernet MAC prefix. It should not be problem. This prefix defines that Ethernet is a Kvm vm Ethernet. But your suggestion does not Break anything.