Renaming vmbr to easier determine NIC speeds

mlanner

Member
Apr 1, 2009
184
1
18
Berkeley, CA
Hi,

I've got a few servers with:

  • vmbr0 - 2x 1G NICs bonded (OVS Bridge)
  • vmbr1 - 2x 10G NICs bonded (OVS Bridge)
In order to make it simpler for other people administrating and creating VMs I was looking for a way to indicate the vmbr/NIC speed in the name, like:

  • vmbr0-1G
  • vmbr1-10G
If I try to name a vmbr as above when I create it, it won't let me. Actually, it doesn't allow me to name it anything other than vmbrN.

It would be fine with an arbitrary field that would indicate the NIC speed and put it in the 'Bridge' dropdown on the 'Network' tab when creating a new KVM machine, similar to how the 'Active' field is displayed.

In any case, if anyone has any ideas or "tricks" around how I can achieve this, it'd be great to hear from you.
 

mlanner

Member
Apr 1, 2009
184
1
18
Berkeley, CA
Thanks. Yeah, I was thinking about that. The reason I shunned the idea was because if I later get machines with more than one 10G vmbr, it doesn't really work out quite so nicely. Or, if I for any reason decide to not bond the NICs, I'd end up with a not quite obvious situation.

I wonder if simply modifying the entries in the /etc/network/interfaces file would work. This may just be a Proxmox GUI limitation.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE 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 your own in 60 seconds.

Buy now!