router, pre-router: move public gateway address to router
This commit is contained in:
parent
f6fdbf038f
commit
bbf2c50235
@ -36,23 +36,6 @@
|
|||||||
boot.kernel.sysctl."net.ipv6.conf.all.forwarding" = 1;
|
boot.kernel.sysctl."net.ipv6.conf.all.forwarding" = 1;
|
||||||
networking.interfaces.ens19.ipv6.addresses = [
|
networking.interfaces.ens19.ipv6.addresses = [
|
||||||
{ address = "fd00:10:42:10::25"; prefixLength = 64; }
|
{ address = "fd00:10:42:10::25"; prefixLength = 64; }
|
||||||
{ address = "2a01:4f8:1c0c:8221::1"; prefixLength = 64; }
|
|
||||||
{ address = "2a01:4f8:1c0c:8221::25"; prefixLength = 64; }
|
{ address = "2a01:4f8:1c0c:8221::25"; prefixLength = 64; }
|
||||||
];
|
];
|
||||||
services.corerad = {
|
|
||||||
enable = true;
|
|
||||||
settings = {
|
|
||||||
interfaces = [
|
|
||||||
{
|
|
||||||
name = "ens19";
|
|
||||||
advertise = true;
|
|
||||||
prefix = [{ prefix = "2a01:4f8:1c0c:8221::/64";}];
|
|
||||||
mtu = 1420;
|
|
||||||
}];
|
|
||||||
debug = {
|
|
||||||
address = "localhost:9430";
|
|
||||||
prometheus = true;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
}
|
}
|
||||||
|
@ -22,7 +22,6 @@
|
|||||||
# Handle the VLANs
|
# Handle the VLANs
|
||||||
ens19 = {
|
ens19 = {
|
||||||
ipv4.addresses = [
|
ipv4.addresses = [
|
||||||
{ address = "10.42.10.1"; prefixLength = 24; }
|
|
||||||
{ address = "10.42.10.25"; prefixLength = 24; }
|
{ address = "10.42.10.25"; prefixLength = 24; }
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
@ -7,12 +7,14 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
networking.interfaces.net-services.ipv4.addresses = [
|
networking.interfaces.net-services.ipv4.addresses = [
|
||||||
|
{ address = "10.42.10.1"; prefixLength = 24; }
|
||||||
{ address = "10.42.10.2"; prefixLength = 24; }
|
{ address = "10.42.10.2"; prefixLength = 24; }
|
||||||
];
|
];
|
||||||
networking.interfaces.net-services.ipv6.addresses = [
|
networking.interfaces.net-services.ipv6.addresses = [
|
||||||
{ address = "fe80::1"; prefixLength = 64; }
|
{ address = "fe80::1"; prefixLength = 64; }
|
||||||
{ address = "fd00:10:42:10::1"; prefixLength = 64; }
|
{ address = "fd00:10:42:10::1"; prefixLength = 64; }
|
||||||
{ address = "fd00:10:42:10::2"; prefixLength = 64; }
|
{ address = "fd00:10:42:10::2"; prefixLength = 64; }
|
||||||
|
{ address = "2a01:4f8:1c0c:8221::1"; prefixLength = 64; }
|
||||||
{ address = "2a01:4f8:1c0c:8221::2"; prefixLength = 64; }
|
{ address = "2a01:4f8:1c0c:8221::2"; prefixLength = 64; }
|
||||||
];
|
];
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user