MAC address assignment in KVM

tog

Member
Jun 5, 2008
151
0
16
I just started up a second instance of KVM and the second instance's "e1000" virtual adapter was assigned the same default MAC address as the first existing KVM: 52:54:00:12:34:56.

This of course collided with the first KVM...

Both are using the bridging and both were assigned the same MAC address so only one at a time could work.
 
Ok, thanks.

For the benefit of anybody else looking through the forum:
Change your network: line in your /etc/qemu-server/XXX.conf like so:
Code:
network: macaddr=52:54:00:12:34:57,model=e1000,tap
And so on for additonal KVMs, just increment the MAC address by one each time.
 

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!