infrastructure/meta/network.nix

184 lines
3.2 KiB
Nix
Raw Normal View History

2024-02-23 10:50:50 +01:00
{
bridge01 = {
hostId = "f57f3ba0";
interfaces = { };
};
compute01 = {
interfaces = {
eno1 = {
ipv4 = [
{
address = "129.199.146.147";
prefixLength = 24;
}
{
address = "192.168.1.147";
prefixLength = 24;
}
];
gateways = [ "129.199.146.254" ];
2024-02-23 10:50:50 +01:00
enableDefaultDNS = true;
};
};
hostId = "8df60941";
2024-04-23 13:46:33 +02:00
netbirdIp = "100.80.75.197";
};
2024-02-20 17:47:50 +01:00
geo01 = {
interfaces = {
eno1 = {
ipv4 = [
{
address = "129.199.210.194";
prefixLength = 24;
}
];
gateways = [ "129.199.210.254" ];
2024-02-23 10:50:50 +01:00
dns = [
"129.199.96.11"
"129.199.72.99"
];
2024-02-20 17:47:50 +01:00
};
};
hostId = "b88fee0c";
2024-04-23 13:46:33 +02:00
netbirdIp = "100.80.8.66";
2024-02-20 17:47:50 +01:00
};
2024-02-20 17:57:38 +01:00
geo02 = {
interfaces = {
eno1 = {
ipv4 = [
{
address = "129.199.210.69";
prefixLength = 24;
}
];
gateways = [ "129.199.210.254" ];
2024-02-23 10:50:50 +01:00
dns = [
"129.199.96.11"
"129.199.72.99"
];
2024-02-20 17:57:38 +01:00
};
};
hostId = "45d65237";
2024-04-23 13:46:33 +02:00
netbirdIp = "100.80.233.249";
2024-02-20 17:57:38 +01:00
};
storage01 = {
interfaces = {
eno1 = {
ipv4 = [
{
address = "129.199.146.148";
prefixLength = 24;
}
{
address = "192.168.1.148";
prefixLength = 24;
}
];
gateways = [ "129.199.146.254" ];
2024-02-23 10:50:50 +01:00
enableDefaultDNS = true;
};
};
hostId = "d4e7c369";
2024-04-23 13:46:33 +02:00
netbirdIp = "100.80.156.154";
};
2024-01-10 15:00:18 +01:00
vault01 = {
interfaces = {
vlan-uplink-cri = {
ipv4 = [
{
# see also machines/vault01/networking.nix
address = "129.199.195.129";
2024-05-31 20:29:53 +02:00
prefixLength = 32;
}
];
gateways = [ ];
enableDefaultDNS = true;
2024-01-10 15:00:18 +01:00
};
};
hostId = "e83b600d";
2024-04-23 13:46:33 +02:00
netbirdIp = "100.80.255.180";
2024-01-10 15:00:18 +01:00
};
web01 = {
interfaces = {
ens3 = {
ipv4 = [
{
address = "129.199.129.53";
prefixLength = 24;
}
];
gateways = [ "129.199.129.1" ];
2024-02-23 10:50:50 +01:00
enableDefaultDNS = true;
};
};
hostId = "050df79e";
2024-04-23 13:46:33 +02:00
netbirdIp = "100.80.77.90";
};
2024-01-11 12:45:01 +01:00
web02 = {
interfaces = {
ens3 = {
ipv4 = [
{
address = "129.199.129.235";
prefixLength = 24;
}
];
2024-01-11 12:45:01 +01:00
gateways = [ "129.199.129.1" ];
2024-02-23 10:50:50 +01:00
enableDefaultDNS = true;
2024-01-11 12:45:01 +01:00
};
};
hostId = "b431ca10";
2024-04-23 13:46:33 +02:00
netbirdIp = null; # web02 is not to be connected on the VPN
2024-01-11 12:45:01 +01:00
};
2024-02-21 01:44:48 +01:00
rescue01 = {
interfaces = {
ens18 = {
ipv6 = [
{
address = "2a01:e0a:de4:a0e1:2d73:2a7e:18db:5728";
prefixLength = 64;
}
];
2024-02-23 10:50:50 +01:00
2024-02-21 01:44:48 +01:00
ipv4 = [
{
address = "192.168.0.232";
prefixLength = 21;
}
];
gateways = [ "192.168.0.1" ];
2024-02-23 10:50:50 +01:00
enableDefaultDNS = true;
2024-02-21 01:44:48 +01:00
};
};
2024-04-23 13:46:33 +02:00
2024-03-29 11:41:13 +01:00
addresses.ipv4 = [ "82.67.34.230" ];
2024-04-23 13:46:33 +02:00
hostId = "007f0200";
netbirdIp = "100.80.97.140";
2024-02-21 01:44:48 +01:00
};
}