network/config/pub.nix

36 lines
773 B
Nix

{
site.net.pub = {
dhcp = {
end = "172.20.79.254";
max-time = 3600;
router = "pub-gw.pub";
server = "pub-gw";
start = "172.20.78.2";
time = 300;
};
domainName = "pub.zentralwerk.org";
dynamicDomain = true;
hosts4 = { pub-gw = "172.20.78.1"; };
hosts6 = { dn42 = { pub-gw = "fd23:42:c3d2:583::1"; }; };
subnet4 = "172.20.78.0/23";
subnets6 = { dn42 = "fd23:42:c3d2:583::/64"; };
};
site.hosts.pub-gw = {
interfaces = {
core = {
hwaddr = "0A:14:48:01:16:00";
type = "veth";
};
pub = {
hwaddr = "0A:14:48:01:16:01";
type = "veth";
};
};
ospf = {
allowedUpstreams = [ "anon1" "freifunk" ];
};
role = "container";
};
}