How do you handle MACs?

czechsys

Renowned Member
Nov 18, 2015
419
43
93
Hello,

i am interested how you handle MAC for every VM/virtual interface in Proxmox. Are you using static assignement (how you generate MAC? documentation?) or you use dynamic generation (via openvswitch for example)? How it works with firewalls etc?

Why i ask. I have one server (it looks buggy somehow, but his twins works ok) with openvswitch and i have dynamic MACs on it. But because there isn't any arp request on ASA gateway, ASA block any requests to server, because holds old MACs and switches has only new MACs of the server. So i need find the best way to handle those things for VMs too. Documentation/generating/static VM config MAC for every interface is crazy manual job.
 
I cannot precisely help you (I do not use OVS), but enabling ARP proxy on your gateway can help. Be aware of security problems it can generate. For information, I have used shorewall on PVE host with manual ARP proxy configuration. Now I use a mikrotik VM with ARP proxy.
 
Well, i reinstalled server and all started works. So probably buggy linux installation. And for arp-proxy, i will probably never use this, because it very problematic thing to have in network.
 
To say something on mac generation... they are created at the time the virtual network card is configured to the VM or container. You can use a mac prefix if you want to distinguish your Proxmox VM from others (Datacenter -> Options).
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!