From 2997262349a4688891a4ec2578b04f59ca8e8057 Mon Sep 17 00:00:00 2001 From: clerie Date: Thu, 10 Dec 2020 13:06:43 +0100 Subject: [PATCH] Rollback direct link --- hosts/dn42-il-gw5/configuration.nix | 6 ------ hosts/dn42-il-gw6/configuration.nix | 4 ++-- 2 files changed, 2 insertions(+), 8 deletions(-) diff --git a/hosts/dn42-il-gw5/configuration.nix b/hosts/dn42-il-gw5/configuration.nix index 4c3badc..c74235a 100644 --- a/hosts/dn42-il-gw5/configuration.nix +++ b/hosts/dn42-il-gw5/configuration.nix @@ -26,8 +26,6 @@ networking.interfaces.ens21.ipv6.addresses = [ { address = "2001:638:904:ffc9::a"; prefixLength = 64; } ]; # Ildix networking.interfaces.ens22.ipv6.addresses = [ { address = "fd81:edb3:71d8:ffff:2574::5"; prefixLength = 64; } ]; - # OSPF Netz dn42-il-gw6 - networking.interfaces.ens23 = {}; networking.defaultGateway = { address = "192.168.10.1"; interface = "ens18"; }; networking.defaultGateway6 = { address = "2001:638:904:ffc9::1"; interface = "ens21"; }; @@ -100,10 +98,6 @@ cost 80; type broadcast; }; - interface "ens23" { - cost 80; - type pointopoint; - }; }; } diff --git a/hosts/dn42-il-gw6/configuration.nix b/hosts/dn42-il-gw6/configuration.nix index 9e4ba98..577d0eb 100644 --- a/hosts/dn42-il-gw6/configuration.nix +++ b/hosts/dn42-il-gw6/configuration.nix @@ -23,7 +23,7 @@ networking.interfaces.ens19.ipv6.addresses = [ { address = "fd81:edb3:71d8:ffff:2574::6"; prefixLength = 64; } ]; # VM Nat Netz mercury networking.interfaces.ens20.ipv4.addresses = [ { address = "192.168.10.26"; prefixLength = 24; } ]; - # OSPF Netz dn42-il-gw6 + # OSPF Netz networking.interfaces.ens21 = {}; @@ -96,7 +96,7 @@ area 0 { interface "ens21" { cost 80; - type pointopoint; + type broadcast; }; }; }