I have a Proxmox VE 8.3.0 running on a machine that has a single, statically configured IP address. Guest OSes do not have Internet access. How should I set up NAT and DHCP on a Proxmox host to provide guest VMs with Internet access? There are multiple tutorials over the Internet, but many are outdated, and they require manual editing of files that explicitly tell not to edit them manually, also, different tutorials recommend editing the same things in different files. Where can I find an official and proper way of setting this up?
What I have done so far:
1. At the "Datacenter" level: I have set up a "dhcpsnat" Zone and "vnet1" VNet assigned to it. Within that VNet I have defined a subnet 192.168.200.0/24 with SNAT option enabled.
2. At the Node level: I have configured a "vmbr1" Linux Bridge pointing to the same 192.168.200.0/24 subnet.
3. At the VM level: In the Hardware tab, I have configured a Network Device (net0) to point to "vmbr1" bridge.
Unfortunately, my VM doesn't get any IP address for its network interface.
What I have done so far:
1. At the "Datacenter" level: I have set up a "dhcpsnat" Zone and "vnet1" VNet assigned to it. Within that VNet I have defined a subnet 192.168.200.0/24 with SNAT option enabled.
2. At the Node level: I have configured a "vmbr1" Linux Bridge pointing to the same 192.168.200.0/24 subnet.
3. At the VM level: In the Hardware tab, I have configured a Network Device (net0) to point to "vmbr1" bridge.
Unfortunately, my VM doesn't get any IP address for its network interface.
Last edited: