1
0

Use pointopoint link for ospf

This commit is contained in:
clerie 2020-12-10 12:55:37 +01:00
parent fc1653d8ef
commit 2bf649367e
2 changed files with 8 additions and 2 deletions

View File

@ -26,6 +26,8 @@
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"; };
@ -98,6 +100,10 @@
cost 80;
type broadcast;
};
interface "ens23" {
cost 80;
type pointopoint;
};
};
}

View File

@ -22,7 +22,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
# OSPF Netz dn42-il-gw6
networking.interfaces.ens21 = {};
@ -88,7 +88,7 @@
area 0 {
interface "ens21" {
cost 80;
type broadcast;
type pointopoint;
};
};
}