Hi guys,
I recently discovered the existence of Proxmox, and before putting that on a dedicated server, I wanted to test this at home.
To do this, I put a pve 5 ISO on VirtualBox and assigned it an IP accessible from my router - with the router as gateway.
Pve works fine, and I can connect to the internet with it. On the other hand, it's not the same for my containers. If I assign my containers an IP by DHCP, it doesn't have any IP. If I give an IP from my router's, with as gateway pve, it is not connected to the internet.
How can pve and my containers be connected to the internet, and accessible on my local network?
Below are my /etc/network/interfaces files, which should be useful.
/etc/network/intefaces container:
/etc/network/interfaces PVE:
I recently discovered the existence of Proxmox, and before putting that on a dedicated server, I wanted to test this at home.
To do this, I put a pve 5 ISO on VirtualBox and assigned it an IP accessible from my router - with the router as gateway.
Pve works fine, and I can connect to the internet with it. On the other hand, it's not the same for my containers. If I assign my containers an IP by DHCP, it doesn't have any IP. If I give an IP from my router's, with as gateway pve, it is not connected to the internet.
How can pve and my containers be connected to the internet, and accessible on my local network?
Below are my /etc/network/interfaces files, which should be useful.
/etc/network/intefaces container:
Code:
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet static
address 10.96.101.31
netmask 255.255.255.0
gateway 10.96.101.30
/etc/network/interfaces PVE:
Code:
auto lo
iface lo inet loopback
iface enp0s3 inet manual
auto vmbr0
iface vmbr0 inet static
address 10.96.101.30
netmask 255.255.255.0
gateway 10.96.101.107
bridge_ports enp0s3
bridge_stp off bridge_fd 0