static ip
This commit is contained in:
parent
e272071a5a
commit
8d75216c3e
|
@ -6,16 +6,18 @@
|
||||||
../../modules/tor
|
../../modules/tor
|
||||||
];
|
];
|
||||||
|
|
||||||
networking = {
|
networking.hostName = "tor";
|
||||||
hostName = "tor";
|
systemd.network.networks = {
|
||||||
interfaces.ens3.ipv6.addresses = [{
|
"10-lan" = {
|
||||||
address = "2a0d:3e83:0001:b284::1";
|
name = "ens3";
|
||||||
prefixLength = 64;
|
address = [
|
||||||
}];
|
"91.210.59.57/25"
|
||||||
defaultGateway6 = {
|
"2a0d:3e83:1:b284::1/64"
|
||||||
# https://www.ssdvps.dk/knowledgebase/18/IPv6-Gateway.html
|
];
|
||||||
address = "2a0d:3e83:1::1";
|
routes = [
|
||||||
interface = "ens3";
|
{ routeConfig = { Gateway = "91.210.59.1"; }; }
|
||||||
|
{ routeConfig = { Gateway = "2a0d:3e83:1::1"; GatewayOnLink = true; }; }
|
||||||
|
];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue