[SOLVED] Stop Proxmox From Occupying an IP Address on vmbr0

ahriman

Member
Apr 26, 2022
25
4
8
My ISP has given me two networks, one that's firewalled (vmbr1) and designed to be used for the Proxmox host along with development/testing VMs. And another non-firewalled network (vmbr0) that is supposed to be used for production VMs and its open to the internet with no firewall.

Each of these networks is a /29, so I get 5 usable IPs on each one. I'd like to have my Proxmox host only occupy an IP address on the vmbr1 network and reserve the main network vmbr0 for all my VMs. Right now Proxmox is using the first IP on each of these networks. That seems like a waste of a good IP. Is there a way to stop it from using up an IP address on the vmbr0 network so that I can host one more VM with that IP?

Code:
auto lo
iface lo inet loopback

iface eno3 inet manual

iface enp3s0f0 inet manual

iface enp3s0f1 inet manual

iface enp3s0f2 inet manual

iface enp3s0f3 inet manual

iface eno4 inet manual

iface eno1 inet manual

iface eno2 inet manual

auto vmbr0
iface vmbr0 inet static
    address 194.244.209.122/29
    bridge-ports eno3
    bridge-stp off
    bridge-fd 0

auto vmbr1
iface vmbr1 inet static
    address 194.244.210.90/29
    gateway 194.244.210.89
    bridge-ports eno4
    bridge-stp off
    bridge-fd 0
 
Last edited:
Hi,
I think it's fine to just not configure an address on vmbr0. However, if you used that address when installing the node, you'll need to change the address in /etc/hosts and, if it's part of a cluster, in the Corosync config (see here for how to edit that).
 
  • Like
Reactions: paxmobile