Hi,
I try to run Proxmox on the internal (lab) network. The only physical nic (=management IP of Proxmox) has got the IP 192.168.252.100 and is able to connect to the internet via my router. In the /etc/network/interfaces of Proxmox, this nic is configured to eno1.
Can I now create a VMBR1 without any IP, install a VM which uses VMBR1 and configure a static IP of 192.168.252.101 with the same gateway the Proxmox-host has and the VM should have internetaccess?
EDIT: I can answer it myself - no, this does not work. The VM cannot do anything in the network. Also a ping to the gateway in the same net is not possible. I think this comes because of the missing bridgeport to the physical nic.
So I wonder how i have to configure this. If I rename the eno1 to vmbr0 and use bridgeport = eno1, then I cannot access the gui anymore. Otherwise I cannot use eno1 for bridgeport.
Then I thought of this:
But then, the GUI is not accessible anymore.
Hm. So how is it possible to set up multiple VMs which are all on the same LAN, with only one nic in the Proxmoxhost? They all should have internetaccess and use the same gateway, the Proxmoxhost uses (same network).
I try to run Proxmox on the internal (lab) network. The only physical nic (=management IP of Proxmox) has got the IP 192.168.252.100 and is able to connect to the internet via my router. In the /etc/network/interfaces of Proxmox, this nic is configured to eno1.
Can I now create a VMBR1 without any IP, install a VM which uses VMBR1 and configure a static IP of 192.168.252.101 with the same gateway the Proxmox-host has and the VM should have internetaccess?
EDIT: I can answer it myself - no, this does not work. The VM cannot do anything in the network. Also a ping to the gateway in the same net is not possible. I think this comes because of the missing bridgeport to the physical nic.
So I wonder how i have to configure this. If I rename the eno1 to vmbr0 and use bridgeport = eno1, then I cannot access the gui anymore. Otherwise I cannot use eno1 for bridgeport.
Then I thought of this:
Code:
auto lo
iface lo inet loopback
iface eno1 inet manual
auto vmbr0
iface vmbr0 inet static
address 192.168.252.100/24
gateway 192.168.252.254
bridge-ports eno1
bridge-stp off
bridge-fd 0
auto vmbr1
iface vmbr1 inet static
address 192.168.252.101/24
gateway 192.168.252.254
bridge-ports eno1
bridge-stp off
bridge-fd 0
But then, the GUI is not accessible anymore.
Hm. So how is it possible to set up multiple VMs which are all on the same LAN, with only one nic in the Proxmoxhost? They all should have internetaccess and use the same gateway, the Proxmoxhost uses (same network).
Last edited: