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
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:
parent
ce66001883
commit
a305a69aad
1 changed files with 85 additions and 69 deletions
|
@ -3,8 +3,17 @@
|
|||
#
|
||||
# SPDX-License-Identifier: EUPL-1.2
|
||||
|
||||
_:
|
||||
|
||||
{
|
||||
pkgs,
|
||||
utils,
|
||||
lib,
|
||||
...
|
||||
}:
|
||||
let
|
||||
inherit (lib)
|
||||
getExe'
|
||||
;
|
||||
in
|
||||
{
|
||||
networking = {
|
||||
useNetworkd = true;
|
||||
|
@ -14,77 +23,84 @@ _:
|
|||
firewall.allowedUDPPorts = [ 67 ];
|
||||
};
|
||||
|
||||
systemd.network = {
|
||||
networks = {
|
||||
"10-enp1s0f0" = {
|
||||
name = "enp1s0f0";
|
||||
# description = "To the switch";
|
||||
networkConfig = {
|
||||
VLAN = [
|
||||
"vlan-admin"
|
||||
];
|
||||
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"
|
||||
];
|
||||
|
||||
LinkLocalAddressing = false;
|
||||
LLDP = false;
|
||||
EmitLLDP = false;
|
||||
IPv6AcceptRA = false;
|
||||
IPv6SendRA = false;
|
||||
};
|
||||
};
|
||||
|
||||
"10-eno1" = {
|
||||
name = "eno1";
|
||||
# description = "Uplink cri";
|
||||
address = [
|
||||
"10.120.33.246/30"
|
||||
"129.199.195.158/32"
|
||||
];
|
||||
routes = [
|
||||
{
|
||||
PreferredSource = "129.199.195.158";
|
||||
Gateway = "10.120.33.245";
|
||||
}
|
||||
];
|
||||
|
||||
networkConfig = {
|
||||
LLDP = false;
|
||||
EmitLLDP = false;
|
||||
IPv6AcceptRA = false;
|
||||
IPv6SendRA = false;
|
||||
};
|
||||
|
||||
};
|
||||
|
||||
"10-vlan-admin" = {
|
||||
name = "vlan-admin";
|
||||
# DHCP for the BMC
|
||||
networkConfig.DHCPServer = "yes";
|
||||
|
||||
dhcpServerConfig = {
|
||||
PoolOffset = 128;
|
||||
EmitDNS = false;
|
||||
EmitNTP = false;
|
||||
EmitSIP = false;
|
||||
EmitPOP3 = false;
|
||||
EmitSMTP = false;
|
||||
EmitLPR = false;
|
||||
UplinkInterface = ":none";
|
||||
};
|
||||
|
||||
address = [
|
||||
"fd26:baf9:d250:8000::ffff/64"
|
||||
"192.168.222.1/24"
|
||||
];
|
||||
};
|
||||
};
|
||||
network = {
|
||||
wait-online.anyInterface = true;
|
||||
networks = {
|
||||
"10-enp1s0f0" = {
|
||||
name = "enp1s0f0";
|
||||
# description = "To the switch";
|
||||
networkConfig = {
|
||||
VLAN = [
|
||||
"vlan-admin"
|
||||
];
|
||||
|
||||
netdevs = {
|
||||
"10-vlan-admin" = {
|
||||
netdevConfig = {
|
||||
Name = "vlan-admin";
|
||||
Kind = "vlan";
|
||||
LinkLocalAddressing = false;
|
||||
LLDP = false;
|
||||
EmitLLDP = false;
|
||||
IPv6AcceptRA = false;
|
||||
IPv6SendRA = false;
|
||||
};
|
||||
};
|
||||
|
||||
"10-eno1" = {
|
||||
name = "eno1";
|
||||
# description = "Uplink cri";
|
||||
address = [
|
||||
"10.120.33.246/30"
|
||||
"129.199.195.158/32"
|
||||
];
|
||||
routes = [
|
||||
{
|
||||
PreferredSource = "129.199.195.158";
|
||||
Gateway = "10.120.33.245";
|
||||
}
|
||||
];
|
||||
};
|
||||
|
||||
"10-vlan-admin" = {
|
||||
name = "vlan-admin";
|
||||
# DHCP for the BMC
|
||||
networkConfig.DHCPServer = "yes";
|
||||
|
||||
dhcpServerConfig = {
|
||||
PoolOffset = 128;
|
||||
EmitDNS = false;
|
||||
EmitNTP = false;
|
||||
EmitSIP = false;
|
||||
EmitPOP3 = false;
|
||||
EmitSMTP = false;
|
||||
EmitLPR = false;
|
||||
UplinkInterface = ":none";
|
||||
};
|
||||
|
||||
address = [
|
||||
"fd26:baf9:d250:8000::ffff/64"
|
||||
"192.168.222.1/24"
|
||||
];
|
||||
};
|
||||
};
|
||||
|
||||
netdevs = {
|
||||
"10-vlan-admin" = {
|
||||
netdevConfig = {
|
||||
Name = "vlan-admin";
|
||||
Kind = "vlan";
|
||||
};
|
||||
vlanConfig.Id = 3000;
|
||||
};
|
||||
vlanConfig.Id = 3000;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Add table
Reference in a new issue