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"
|
2024-07-06 20:56:46 +02:00
|
|
|
"2a12:bec4:11d3:de9f::1/64"
|
2024-02-24 16:43:10 +01:00
|
|
|
];
|
|
|
|
routes = [
|
2024-03-05 22:57:41 +01:00
|
|
|
{routeConfig = {Gateway = "91.210.59.1";};}
|
|
|
|
{
|
|
|
|
routeConfig = {
|
2024-07-06 20:56:46 +02:00
|
|
|
Gateway = "2a12:bec4:11d3::1";
|
2024-03-05 22:57:41 +01:00
|
|
|
GatewayOnLink = true;
|
|
|
|
};
|
|
|
|
}
|
2024-02-24 16:43:10 +01:00
|
|
|
];
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|