From e8616c3dc733583841d6a77c4a4c8b45be7a7496 Mon Sep 17 00:00:00 2001 From: lub Date: Fri, 19 Apr 2024 18:31:40 +0200 Subject: [PATCH] systemd-networkd fix config --- hardware/hetzner_ax51-nvme/network.sh | 28 ++++++++++++++++++++++++++- 1 file changed, 27 insertions(+), 1 deletion(-) diff --git a/hardware/hetzner_ax51-nvme/network.sh b/hardware/hetzner_ax51-nvme/network.sh index 5ef08cb..00644a5 100755 --- a/hardware/hetzner_ax51-nvme/network.sh +++ b/hardware/hetzner_ax51-nvme/network.sh @@ -54,21 +54,47 @@ Table=4000 Gateway=157.90.103.81 Table=4000 + +[RoutingPolicyRule] +From=2a01:4f8:fff0:a5::/64 +To=fd00:42::/31 +Priority=1000 + +[RoutingPolicyRule] +From=157.90.103.80/28 +To=10.42.0.0/15 +Priority=1000 + +[RoutingPolicyRule] +To=2a01:4f8:fff0:a5::/64 +From=fd00:42::/31 +Priority=1000 + +[RoutingPolicyRule] +To=157.90.103.80/28 +From=10.42.0.0/15 +Priority=1000 + + [RoutingPolicyRule] From=2a01:4f8:fff0:a5::/64 Table=4000 +Priority=1100 [RoutingPolicyRule] From=157.90.103.80/28 Table=4000 +Priority=1100 [RoutingPolicyRule] To=2a01:4f8:fff0:a5::/64 Table=4000 +Priority=1100 [RoutingPolicyRule] To=157.90.103.80/28 -Table=4000" > "/etc/systemd/network/ingress.network" +Table=4000 +Priority=1100" > "/etc/systemd/network/ingress.network" echo "[NetDev] Name=kubernetes