2024-03-05 22:57:41 +01:00
|
|
|
{...}: {
|
2024-02-24 19:36:29 +01:00
|
|
|
systemd.network = {
|
|
|
|
networks."10-lan" = {
|
2024-02-24 16:43:10 +01:00
|
|
|
# IPv4 settings are from `sudo dhcpcd --test`.
|
|
|
|
# IPv6 settings are from https://www.ssdvps.dk/knowledgebase/18/IPv6-Gateway.html.
|
2024-06-11 23:32:35 +02:00
|
|
|
matchConfig.Name = "ens3";
|
2024-02-24 16:43:10 +01:00
|
|
|
address = [
|
|
|
|
"91.210.59.57/25"
|
|
|
|
"2a0d:3e83:1:b284::1/64"
|
|
|
|
];
|
|
|
|
routes = [
|
2024-03-05 22:57:41 +01:00
|
|
|
{routeConfig = {Gateway = "91.210.59.1";};}
|
|
|
|
{
|
|
|
|
routeConfig = {
|
|
|
|
Gateway = "2a0d:3e83:1::1";
|
|
|
|
GatewayOnLink = true;
|
|
|
|
};
|
|
|
|
}
|
2024-02-24 16:43:10 +01:00
|
|
|
];
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|