From 0da729679e0c73d053378982ed07a41a36ac52d9 Mon Sep 17 00:00:00 2001 From: Kat Inskip Date: Sat, 20 Jan 2024 22:09:22 -0800 Subject: [PATCH] ops(metallb): define pool within our network --- k8s/system/metallb/manifests/ipaddresspool.yaml | 2 +- nixos/base/system.nix | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/k8s/system/metallb/manifests/ipaddresspool.yaml b/k8s/system/metallb/manifests/ipaddresspool.yaml index 4aa89c39..772ff965 100644 --- a/k8s/system/metallb/manifests/ipaddresspool.yaml +++ b/k8s/system/metallb/manifests/ipaddresspool.yaml @@ -5,5 +5,5 @@ metadata: namespace: metallb-system spec: addresses: - - 10.69.0.1-10.69.254.254 + - 10.1.1.5-10.1.1.32 autoAssign: true \ No newline at end of file diff --git a/nixos/base/system.nix b/nixos/base/system.nix index 301514f4..7e1ab204 100644 --- a/nixos/base/system.nix +++ b/nixos/base/system.nix @@ -16,6 +16,7 @@ with lib; { "net.ipv4.tcp_wmem" = "4096 65536 16777216"; "net.ipv4.ip_forward" = mkDefault "1"; "net.ipv6.conf.all.forwarding" = "1"; + "net.ipv4.conf.all.forwarding" = "1"; "net.ipv6.conf.all.accept_ra_rt_info_max_plen" = 128; "net.ipv6.conf.default.accept_ra_rt_info_max_plen" = 128; };