Renaming vmbr to easier determine NIC speeds

mlanner

Renowned Member
Apr 1, 2009
190
1
83
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.
 
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.