Skip to content

Instantly share code, notes, and snippets.

@dr-dimitru
Created February 22, 2021 17:39
Show Gist options
  • Save dr-dimitru/2be0fc33baebcbfcc86bdf4dd840bced to your computer and use it in GitHub Desktop.
Save dr-dimitru/2be0fc33baebcbfcc86bdf4dd840bced to your computer and use it in GitHub Desktop.
Proxmox host/client iface
auto lo
iface lo inet loopback
# The primary network interface
auto eth0
iface eth0 inet static
address 10.0.1.2
netmask 255.255.255.0
gateway 10.0.1.1
auto vmbr0
iface vmbr0 inet static
address <PUBLIC_IP>
netmask 255.255.255.224
gateway <PUBLIC_IP>
bridge_ports eth0
bridge_stp off
bridge_fd 0
auto vmbr2
iface vmbr2 inet static
address 10.0.1.1
netmask 255.255.255.0
bridge_ports none
bridge_stp off
bridge_fd 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment