Move OSPF interfaces to separate files

This commit is contained in:
root 2018-09-08 08:39:55 +00:00
parent b52a90d7bd
commit d3580376b7
3 changed files with 15 additions and 12 deletions

View File

@ -38,19 +38,8 @@ protocol ospf {
export all;
area 0 {
interface "wg-ospf-triton" {
cost 10;
type pointopoint;
hello 5; retransmit 2; wait 10; dead 20;
authentication cryptographic; password "R5fg2d66hTuP";
};
interface "wg-ospf-mail" {
cost 10;
type pointopoint;
hello 5; retransmit 2; wait 10; dead 20;
authentication cryptographic; password "R5fg2d66hTuP";
};
include "/etc/bird/interfaces/*";
interface "lo" {
stub;

7
interfaces/wg-ospf-mail Normal file
View File

@ -0,0 +1,7 @@
interface "wg-ospf-mail" {
cost 10;
type pointopoint;
hello 5; retransmit 2; wait 10; dead 20;
authentication cryptographic; password "R5fg2d66hTuP";
};

View File

@ -0,0 +1,7 @@
interface "wg-ospf-triton" {
cost 10;
type pointopoint;
hello 5; retransmit 2; wait 10; dead 20;
authentication cryptographic; password "R5fg2d66hTuP";
};