This commit is contained in:
commit
fef2377502
174 changed files with 7423 additions and 0 deletions
114
defaults/meta/network-physical.nix
Normal file
114
defaults/meta/network-physical.nix
Normal file
|
@ -0,0 +1,114 @@
|
|||
{
|
||||
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";
|
||||
};
|
||||
fulberg = {
|
||||
v4.ip = "10.1.2.2";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
plessur-lan = {
|
||||
v4 = {
|
||||
id = "10.1.1.0";
|
||||
prefixLength = 24;
|
||||
};
|
||||
domain = "plessur-lan.net.qo.is";
|
||||
|
||||
hosts = {
|
||||
calanda = {
|
||||
v4.ip = "10.1.1.1";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
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 = {
|
||||
tierberg = {
|
||||
v4.ip = "10.0.0.60";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
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";
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue