nixos

NixOS server files. Mirror from https://git.nordgedanken.dev/kubernetes/nixos
git clone git://archive.git.mtrnord.blog/MTRNord/nixos.git
Log | Files | Refs | README

commit b4f86930fec16c3d1b92532af043b18ea2ed97d0
parent bf5da2f15a9ea5a99e846b416d473f4cfc2563b3
Author: MTRNord <mtrnord1@gmail.com>
Date:   Sun, 28 Jan 2024 00:03:52 +0100

gre

Diffstat:
Mnixos/worker-1/configuration.nix | 10+++++-----
Mnixos/worker-2/configuration.nix | 4++--
2 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/nixos/worker-1/configuration.nix b/nixos/worker-1/configuration.nix @@ -499,12 +499,12 @@ in { protocol direct direct2 { ipv4; - interface "enp7s0"; + interface "gre_*"; } protocol device { scan time 10; - interface "enp7s0", "floating1"; + interface "gre_*", "floating1"; } protocol kernel { @@ -520,7 +520,7 @@ in { protocol babel { randomize router id yes; - interface "enp7s0" { + interface "gre_*" { type wired; }; ipv4 { @@ -670,14 +670,14 @@ in { vrrpInstances = { VI_1 = { state = "BACKUP"; - interface = "enp7s0"; + interface = "gre_nordgedanken"; virtualRouterId = 230; priority = 101; extraConfig = '' advert_int 1 ''; trackInterfaces = [ - "enp7s0" + "gre_nordgedanken" "floating1" ]; unicastSrcIp = "10.0.2.1"; diff --git a/nixos/worker-2/configuration.nix b/nixos/worker-2/configuration.nix @@ -712,7 +712,7 @@ in { protocol direct direct2 { ipv4; - interface "enp7s0"; + interface "gre_*"; } protocol kernel { @@ -727,7 +727,7 @@ in { } protocol babel { randomize router id yes; - interface "enp7s0" { + interface "gre_*" { type wired; }; ipv4 {