Created
February 22, 2021 17:39
Revisions
-
dr-dimitru created this gist
Feb 22, 2021 .There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,9 @@ 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,16 @@ 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