Hi to everybody, I'm new on ProxMox and I decided to use it for my testing-lab to also start with a bit of Linux ;-)
On my host I had the default network config (bridged) with one physical NIC.
I noticed all the VMs were on the same subnet of my office and could access internet correctly through my office router (192.168.0.1).
For my testing-lab purposes I wanted to have all the VMs on a separate network but I wanted to go on to manage the ProxMox host via browser from my office pc (192.168.0.x subnet) so I changed the config following the "Routed Configuration" posted in ProxMox/Wiki/Network_Model.
Then my config is something like this:
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet static
address 192.168.0.70
netmask 255.255.255.0
gateway 192.168.0.1
post-up echo 1 > /proc/sys/net/ipv4/conf/eth0/proxy_arp
auto vmbr0
iface vmbr0 inet static
address 10.10.10.2
netmask 255.255.255.0
bridge_ports none
bridge_stp off
bridge_fd 0
Ok, now the host still responds on 192.168.0.70:8006 and all the VMs are on a separate network and can correctly communicate each other but the problem is now they cannot access internet.
What is wrong?
I think I'm missing a NAT somewhere there... how and where can I configure it?
Considering that I have the possibility on my router to configure a second NAT listening on the LAN side on 10.10.10.1 (for example) I think it's enough to put a static route somewhere in the interfaces config file.
Can somebody help me to accomplish this?
Thank you very much in advance.
On my host I had the default network config (bridged) with one physical NIC.
I noticed all the VMs were on the same subnet of my office and could access internet correctly through my office router (192.168.0.1).
For my testing-lab purposes I wanted to have all the VMs on a separate network but I wanted to go on to manage the ProxMox host via browser from my office pc (192.168.0.x subnet) so I changed the config following the "Routed Configuration" posted in ProxMox/Wiki/Network_Model.
Then my config is something like this:
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet static
address 192.168.0.70
netmask 255.255.255.0
gateway 192.168.0.1
post-up echo 1 > /proc/sys/net/ipv4/conf/eth0/proxy_arp
auto vmbr0
iface vmbr0 inet static
address 10.10.10.2
netmask 255.255.255.0
bridge_ports none
bridge_stp off
bridge_fd 0
Ok, now the host still responds on 192.168.0.70:8006 and all the VMs are on a separate network and can correctly communicate each other but the problem is now they cannot access internet.
What is wrong?
I think I'm missing a NAT somewhere there... how and where can I configure it?
Considering that I have the possibility on my router to configure a second NAT listening on the LAN side on 10.10.10.1 (for example) I think it's enough to put a static route somewhere in the interfaces config file.
Can somebody help me to accomplish this?
Thank you very much in advance.
Last edited: