110 lines
2.1 KiB
Nix
110 lines
2.1 KiB
Nix
{
|
|
config,
|
|
lib,
|
|
pkgs,
|
|
...
|
|
}:
|
|
{
|
|
qois.meta.network.physical = {
|
|
plessur-ext = {
|
|
v4 = {
|
|
id = "85.195.200.253";
|
|
prefixLength = 24;
|
|
};
|
|
v6 = {
|
|
id = "2a02:169:1e02::";
|
|
prefixLength = 48;
|
|
};
|
|
domain = "plessur-ext.net.qo.is";
|
|
hosts = {
|
|
calanda = {
|
|
v4.ip = "85.195.200.253";
|
|
};
|
|
};
|
|
};
|
|
|
|
plessur-dmz = {
|
|
v4 = {
|
|
id = "10.1.2.0";
|
|
prefixLength = 24;
|
|
gateway = "10.1.2.1";
|
|
nameservers = [ "10.1.2.1" ];
|
|
};
|
|
domain = "plessur-dmz.net.qo.is";
|
|
|
|
hosts = {
|
|
calanda = {
|
|
v4.ip = "10.1.2.1";
|
|
};
|
|
};
|
|
};
|
|
|
|
plessur-lan = {
|
|
v4 = {
|
|
id = "10.1.1.0";
|
|
prefixLength = 24;
|
|
# Note: DHCP from .2 to .249, see calanda config
|
|
};
|
|
domain = "plessur-lan.net.qo.is";
|
|
|
|
hosts = {
|
|
calanda = {
|
|
v4.ip = "10.1.1.1";
|
|
};
|
|
cyprianspitz.v4.ip = "10.1.1.250";
|
|
};
|
|
};
|
|
|
|
eem-lan = {
|
|
domain = "eem-lan.net.qo.is";
|
|
hosts = {
|
|
stompert.v4.ip = ""; # TODO
|
|
};
|
|
};
|
|
|
|
riedbach-ext = {
|
|
# IP: Dynamic
|
|
domain = "riedbach-ext.net.qo.is";
|
|
|
|
hosts = {
|
|
lindberg = {
|
|
# TODO: This is the router, not really lindberg.
|
|
v4.ip = "145.40.194.243";
|
|
};
|
|
};
|
|
};
|
|
|
|
lattenbach-ext = {
|
|
# Forwarded ports:
|
|
# udp:51820 -> 10.0.0.60:51820
|
|
# tcp:51022 -> 10.0.0.60:22
|
|
# tcp:51023 -> 10.0.0.60:2222
|
|
domain = "lattenbach-ext.net.qo.is";
|
|
hosts.router-coredump.v4.ip = "5.226.148.126";
|
|
};
|
|
|
|
lattenbach-lan = {
|
|
# Coredump LAN
|
|
v4 = {
|
|
id = "10.0.0.0";
|
|
prefixLength = 16;
|
|
};
|
|
domain = "lattenbach-lan.net.qo.is";
|
|
hosts = {
|
|
};
|
|
};
|
|
|
|
lattenbach-nas = {
|
|
# Coredump net between apu and nas
|
|
v4 = {
|
|
id = "192.168.254.0";
|
|
prefixLength = 24;
|
|
};
|
|
domain = "lattenbach-nas.net.qo.is";
|
|
hosts = {
|
|
tierberg.v4.ip = "192.168.254.2";
|
|
batzberg.v4.ip = "192.168.254.1";
|
|
};
|
|
};
|
|
};
|
|
}
|