Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- networking = {
- hostName = "HetznerVMServer2";
- enableIPv6 = true;
- dhcpcd.enable = false;
- defaultGateway = { address = "178.63.75.129"; interface = "br0"; };
- defaultGateway6 = { address = "fe80::1"; interface = "br0"; };
- nameservers = [ "213.133.98.98" "213.133.99.99" "213.133.100.100" ];
- interfaces.br0 = {
- ipv4 = {
- addresses = [ { address = "178.63.75.187"; prefixLength = 32; } ];
- routes = [ { address = "178.63.75.129"; prefixLength = 32; } ];
- };
- ipv6 = {
- addresses = [ { address = "2a01:4f8:121:2482::2"; prefixLength = 64; } ];
- routes = [
- { address="2a01:4f8:121:2482:174::"; prefixLength=80; via="2a01:4f8:121:2482::174"; }
- { address="2a01:4f8:121:2482:180::"; prefixLength=80; via="2a01:4f8:121:2482::180"; }
- ];
- };
- };
- bridges = {
- br0.interfaces = [ "enp4s0" ];
- };
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement