Bump version to 20221128; Install default into OSPF; Refactor bird file structure

This commit is contained in:
Pim van Pelt
2022-11-27 15:33:25 +00:00
parent b35a1f6014
commit 9b9961e40c
87 changed files with 309 additions and 256 deletions

View File

@ -1,3 +1,4 @@
## Bird2 configuration for vpp1-0
router id 192.168.11.0;
protocol device { scan time 30; }
@ -13,7 +14,7 @@ protocol kernel kernel6 {
scan time 300;
}
include "static.conf";
include "bfd.conf";
include "ospf.conf";
include "ibgp.conf";
include "core/static.conf";
include "core/bfd.conf";
include "core/ospf.conf";
include "manual.conf";

View File

@ -1,5 +1,5 @@
protocol ospf v2 ospf4 {
ipv4 { export where source = RTS_DEVICE; import all; };
ipv4 { export where (source = RTS_DEVICE || source = RTS_STATIC); import all; };
area 0 {
interface "loop0" { stub yes; };
interface "e0" { type pointopoint; cost 5; bfd off; };
@ -10,7 +10,7 @@ protocol ospf v2 ospf4 {
}
protocol ospf v3 ospf6 {
ipv6 { export where source = RTS_DEVICE; import all; };
ipv6 { export where (source = RTS_DEVICE || source = RTS_STATIC); import all; };
area 0 {
interface "loop0" { stub yes; };
interface "e0" { type pointopoint; cost 5; bfd off; };

View File

@ -2,10 +2,14 @@ protocol static static4 {
ipv4 { export all; };
# route 192.0.2.0/24 via 10.0.0.1;
route 192.168.11.0/24 unreachable;
route 0.0.0.0/0 via 192.168.11.4;
}
protocol static static6 {
ipv6 { export all; };
# route 2001:db8:cafe::/48 via 2001:db8::1;;
route 2001:678:d78:210::/60 unreachable;
}
route ::/0 via 2001:678:d78:211::ffff;
}

View File

@ -1 +0,0 @@
# NOTE(ipng): Not created yet

View File

@ -0,0 +1 @@
## Manual configuration for vpp1-0