fix(bridge01/network): hack! resolve arp of the router
All checks were successful
Check meta / check_dns (pull_request) Successful in 14s
Check meta / check_meta (pull_request) Successful in 14s
Check workflows / check_workflows (pull_request) Successful in 17s
Build all the nodes / ap01 (pull_request) Successful in 30s
Build all the nodes / netcore02 (pull_request) Successful in 21s
Build all the nodes / netaccess01 (pull_request) Successful in 36s
Build all the nodes / geo02 (pull_request) Successful in 1m43s
Build all the nodes / netcore01 (pull_request) Successful in 42s
Build all the nodes / hypervisor02 (pull_request) Successful in 1m46s
Build all the nodes / hypervisor03 (pull_request) Successful in 1m51s
Build the shell / build-shell (pull_request) Successful in 38s
Run pre-commit on all files / pre-commit (pull_request) Successful in 42s
Build all the nodes / geo01 (pull_request) Successful in 2m50s
Build all the nodes / rescue01 (pull_request) Successful in 1m49s
Build all the nodes / bridge01 (pull_request) Successful in 3m8s
Build all the nodes / build01 (pull_request) Successful in 3m13s
Build all the nodes / web02 (pull_request) Successful in 1m48s
Build all the nodes / compute01 (pull_request) Successful in 3m33s
Build all the nodes / hypervisor01 (pull_request) Successful in 3m19s
Build all the nodes / tower01 (pull_request) Successful in 2m54s
Build all the nodes / storage01 (pull_request) Successful in 3m7s
Build all the nodes / vault01 (pull_request) Successful in 3m2s
Build all the nodes / web03 (pull_request) Successful in 2m55s
Build all the nodes / web01 (pull_request) Successful in 3m26s
Build all the nodes / netaccess01 (push) Successful in 22s
Build all the nodes / netcore01 (push) Successful in 30s
Build all the nodes / ap01 (push) Successful in 33s
Build all the nodes / netcore02 (push) Successful in 32s
Build all the nodes / hypervisor02 (push) Successful in 1m28s
Build the shell / build-shell (push) Successful in 30s
Build all the nodes / web03 (push) Successful in 1m55s
Run pre-commit on all files / pre-commit (push) Successful in 33s
Build all the nodes / web01 (push) Successful in 2m26s
Build all the nodes / geo02 (push) Successful in 3m4s
Build all the nodes / build01 (push) Successful in 3m13s
Build all the nodes / hypervisor03 (push) Successful in 3m15s
Build all the nodes / tower01 (push) Successful in 3m15s
Build all the nodes / hypervisor01 (push) Successful in 3m20s
Build all the nodes / storage01 (push) Successful in 3m23s
Build all the nodes / geo01 (push) Successful in 3m31s
Build all the nodes / web02 (push) Successful in 3m3s
Build all the nodes / bridge01 (push) Successful in 3m37s
Build all the nodes / compute01 (push) Successful in 3m44s
Build all the nodes / rescue01 (push) Successful in 3m50s
Build all the nodes / vault01 (push) Successful in 3m34s

This commit is contained in:
catvayor 2025-02-05 14:02:00 +01:00 committed by Tom Hubrecht
parent ce66001883
commit a305a69aad
Signed by: thubrecht
SSH key fingerprint: SHA256:CYNvFo44Ar9qCNnWNnvJVhs0QXO9AZjOLlPeWcSij3Q

View file

@ -3,8 +3,17 @@
#
# SPDX-License-Identifier: EUPL-1.2
_:
{
pkgs,
utils,
lib,
...
}:
let
inherit (lib)
getExe'
;
in
{
networking = {
useNetworkd = true;
@ -14,7 +23,21 @@ _:
firewall.allowedUDPPorts = [ 67 ];
};
systemd.network = {
systemd = {
services."arp-resolve-router" = {
wantedBy = [ "systemd-networkd.service" ];
after = [ "systemd-networkd-wait-online.service" ];
bindsTo = [ "systemd-networkd-wait-online.service" ];
serviceConfig.ExecStart = utils.escapeSystemdExecArgs [
(getExe' pkgs.iputils "ping")
"-c"
1
"10.120.33.245"
];
};
network = {
wait-online.anyInterface = true;
networks = {
"10-enp1s0f0" = {
name = "enp1s0f0";
@ -45,14 +68,6 @@ _:
Gateway = "10.120.33.245";
}
];
networkConfig = {
LLDP = false;
EmitLLDP = false;
IPv6AcceptRA = false;
IPv6SendRA = false;
};
};
"10-vlan-admin" = {
@ -88,4 +103,5 @@ _:
};
};
};
};
}