Created
February 22, 2021 17:39
-
-
Save dr-dimitru/2be0fc33baebcbfcc86bdf4dd840bced to your computer and use it in GitHub Desktop.
Proxmox host/client iface
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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