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 vpp0-0
router id 192.168.10.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.10.0/24 unreachable;
route 0.0.0.0/0 via 192.168.10.4;
}
protocol static static6 {
ipv6 { export all; };
# route 2001:db8:cafe::/48 via 2001:db8::1;;
route 2001:678:d78:200::/60 unreachable;
}
route ::/0 via 2001:678:d78:201::ffff;
}

View File

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

View File

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

View File

@ -1,3 +1,4 @@
## Bird2 configuration for vpp0-1
router id 192.168.10.1;
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,12 @@ protocol static static4 {
ipv4 { export all; };
# route 192.0.2.0/24 via 10.0.0.1;
route 192.168.10.0/24 unreachable;
}
protocol static static6 {
ipv6 { export all; };
# route 2001:db8:cafe::/48 via 2001:db8::1;;
route 2001:678:d78:200::/60 unreachable;
}
}

View File

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

View File

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

View File

@ -1,3 +1,4 @@
## Bird2 configuration for vpp0-2
router id 192.168.10.2;
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,12 @@ protocol static static4 {
ipv4 { export all; };
# route 192.0.2.0/24 via 10.0.0.1;
route 192.168.10.0/24 unreachable;
}
protocol static static6 {
ipv6 { export all; };
# route 2001:db8:cafe::/48 via 2001:db8::1;;
route 2001:678:d78:200::/60 unreachable;
}
}

View File

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

View File

@ -0,0 +1 @@
## Manual configuration for vpp0-2

View File

@ -1,3 +1,4 @@
## Bird2 configuration for vpp0-3
router id 192.168.10.3;
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,12 @@ protocol static static4 {
ipv4 { export all; };
# route 192.0.2.0/24 via 10.0.0.1;
route 192.168.10.0/24 unreachable;
}
protocol static static6 {
ipv6 { export all; };
# route 2001:db8:cafe::/48 via 2001:db8::1;;
route 2001:678:d78:200::/60 unreachable;
}
}

View File

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

View File

@ -0,0 +1 @@
## Manual configuration for vpp0-3

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

@ -0,0 +1,21 @@
protocol ospf v2 ospf4 {
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; };
interface "e1" { type pointopoint; cost 5; bfd off; };
interface "e2" { type pointopoint; cost 5; bfd off; };
interface "e3" { type pointopoint; cost 5; bfd off; };
};
}
protocol ospf v3 ospf6 {
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; };
interface "e1" { type pointopoint; cost 5; bfd off; };
interface "e2" { type pointopoint; cost 5; bfd off; };
interface "e3" { 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

View File

@ -1,21 +0,0 @@
protocol ospf v2 ospf4 {
ipv4 { export where source = RTS_DEVICE; import all; };
area 0 {
interface "loop0" { stub yes; };
interface "e0" { type pointopoint; cost 5; bfd off; };
interface "e1" { type pointopoint; cost 5; bfd off; };
interface "e2" { type pointopoint; cost 5; bfd off; };
interface "e3" { type pointopoint; cost 5; bfd off; };
};
}
protocol ospf v3 ospf6 {
ipv6 { export where source = RTS_DEVICE; import all; };
area 0 {
interface "loop0" { stub yes; };
interface "e0" { type pointopoint; cost 5; bfd off; };
interface "e1" { type pointopoint; cost 5; bfd off; };
interface "e2" { type pointopoint; cost 5; bfd off; };
interface "e3" { type pointopoint; cost 5; bfd off; };
};
}

View File

@ -1,3 +1,4 @@
## Bird2 configuration for vpp1-1
router id 192.168.11.1;
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

@ -0,0 +1,21 @@
protocol ospf v2 ospf4 {
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; };
interface "e1" { type pointopoint; cost 5; bfd off; };
interface "e2" { type pointopoint; cost 5; bfd off; };
interface "e3" { type pointopoint; cost 5; bfd off; };
};
}
protocol ospf v3 ospf6 {
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; };
interface "e1" { type pointopoint; cost 5; bfd off; };
interface "e2" { type pointopoint; cost 5; bfd off; };
interface "e3" { type pointopoint; cost 5; bfd off; };
};
}

View File

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

View File

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

View File

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

View File

@ -1,21 +0,0 @@
protocol ospf v2 ospf4 {
ipv4 { export where source = RTS_DEVICE; import all; };
area 0 {
interface "loop0" { stub yes; };
interface "e0" { type pointopoint; cost 5; bfd off; };
interface "e1" { type pointopoint; cost 5; bfd off; };
interface "e2" { type pointopoint; cost 5; bfd off; };
interface "e3" { type pointopoint; cost 5; bfd off; };
};
}
protocol ospf v3 ospf6 {
ipv6 { export where source = RTS_DEVICE; import all; };
area 0 {
interface "loop0" { stub yes; };
interface "e0" { type pointopoint; cost 5; bfd off; };
interface "e1" { type pointopoint; cost 5; bfd off; };
interface "e2" { type pointopoint; cost 5; bfd off; };
interface "e3" { type pointopoint; cost 5; bfd off; };
};
}

View File

@ -1,3 +1,4 @@
## Bird2 configuration for vpp1-2
router id 192.168.11.2;
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

@ -0,0 +1,21 @@
protocol ospf v2 ospf4 {
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; };
interface "e1" { type pointopoint; cost 5; bfd off; };
interface "e2" { type pointopoint; cost 5; bfd off; };
interface "e3" { type pointopoint; cost 5; bfd off; };
};
}
protocol ospf v3 ospf6 {
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; };
interface "e1" { type pointopoint; cost 5; bfd off; };
interface "e2" { type pointopoint; cost 5; bfd off; };
interface "e3" { type pointopoint; cost 5; bfd off; };
};
}

View File

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

View File

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

View File

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

View File

@ -1,21 +0,0 @@
protocol ospf v2 ospf4 {
ipv4 { export where source = RTS_DEVICE; import all; };
area 0 {
interface "loop0" { stub yes; };
interface "e0" { type pointopoint; cost 5; bfd off; };
interface "e1" { type pointopoint; cost 5; bfd off; };
interface "e2" { type pointopoint; cost 5; bfd off; };
interface "e3" { type pointopoint; cost 5; bfd off; };
};
}
protocol ospf v3 ospf6 {
ipv6 { export where source = RTS_DEVICE; import all; };
area 0 {
interface "loop0" { stub yes; };
interface "e0" { type pointopoint; cost 5; bfd off; };
interface "e1" { type pointopoint; cost 5; bfd off; };
interface "e2" { type pointopoint; cost 5; bfd off; };
interface "e3" { type pointopoint; cost 5; bfd off; };
};
}

View File

@ -1,3 +1,4 @@
## Bird2 configuration for vpp1-3
router id 192.168.11.3;
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

@ -0,0 +1,21 @@
protocol ospf v2 ospf4 {
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; };
interface "e1" { type pointopoint; cost 5; bfd off; };
interface "e2" { type pointopoint; cost 5; bfd off; };
interface "e3" { type pointopoint; cost 5; bfd off; };
};
}
protocol ospf v3 ospf6 {
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; };
interface "e1" { type pointopoint; cost 5; bfd off; };
interface "e2" { type pointopoint; cost 5; bfd off; };
interface "e3" { type pointopoint; cost 5; bfd off; };
};
}

View File

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

View File

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

View File

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

View File

@ -1,21 +0,0 @@
protocol ospf v2 ospf4 {
ipv4 { export where source = RTS_DEVICE; import all; };
area 0 {
interface "loop0" { stub yes; };
interface "e0" { type pointopoint; cost 5; bfd off; };
interface "e1" { type pointopoint; cost 5; bfd off; };
interface "e2" { type pointopoint; cost 5; bfd off; };
interface "e3" { type pointopoint; cost 5; bfd off; };
};
}
protocol ospf v3 ospf6 {
ipv6 { export where source = RTS_DEVICE; import all; };
area 0 {
interface "loop0" { stub yes; };
interface "e0" { type pointopoint; cost 5; bfd off; };
interface "e1" { type pointopoint; cost 5; bfd off; };
interface "e2" { type pointopoint; cost 5; bfd off; };
interface "e3" { type pointopoint; cost 5; bfd off; };
};
}

View File

@ -1,3 +1,4 @@
## Bird2 configuration for vpp2-0
router id 192.168.12.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

@ -0,0 +1,21 @@
protocol ospf v2 ospf4 {
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; };
interface "e1" { type pointopoint; cost 5; bfd off; };
interface "e2" { type pointopoint; cost 5; bfd off; };
interface "e3" { type pointopoint; cost 5; bfd off; };
};
}
protocol ospf v3 ospf6 {
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; };
interface "e1" { type pointopoint; cost 5; bfd off; };
interface "e2" { type pointopoint; cost 5; bfd off; };
interface "e3" { 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.12.0/24 unreachable;
route 0.0.0.0/0 via 192.168.12.4;
}
protocol static static6 {
ipv6 { export all; };
# route 2001:db8:cafe::/48 via 2001:db8::1;;
route 2001:678:d78:220::/60 unreachable;
}
route ::/0 via 2001:678:d78:221::ffff;
}

View File

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

View File

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

View File

@ -1,21 +0,0 @@
protocol ospf v2 ospf4 {
ipv4 { export where source = RTS_DEVICE; import all; };
area 0 {
interface "loop0" { stub yes; };
interface "e0" { type pointopoint; cost 5; bfd off; };
interface "e1" { type pointopoint; cost 5; bfd off; };
interface "e2" { type pointopoint; cost 5; bfd off; };
interface "e3" { type pointopoint; cost 5; bfd off; };
};
}
protocol ospf v3 ospf6 {
ipv6 { export where source = RTS_DEVICE; import all; };
area 0 {
interface "loop0" { stub yes; };
interface "e0" { type pointopoint; cost 5; bfd off; };
interface "e1" { type pointopoint; cost 5; bfd off; };
interface "e2" { type pointopoint; cost 5; bfd off; };
interface "e3" { type pointopoint; cost 5; bfd off; };
};
}

View File

@ -1,3 +1,4 @@
## Bird2 configuration for vpp2-1
router id 192.168.12.1;
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

@ -0,0 +1,21 @@
protocol ospf v2 ospf4 {
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; };
interface "e1" { type pointopoint; cost 5; bfd off; };
interface "e2" { type pointopoint; cost 5; bfd off; };
interface "e3" { type pointopoint; cost 5; bfd off; };
};
}
protocol ospf v3 ospf6 {
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; };
interface "e1" { type pointopoint; cost 5; bfd off; };
interface "e2" { type pointopoint; cost 5; bfd off; };
interface "e3" { type pointopoint; cost 5; bfd off; };
};
}

View File

@ -2,10 +2,12 @@ protocol static static4 {
ipv4 { export all; };
# route 192.0.2.0/24 via 10.0.0.1;
route 192.168.12.0/24 unreachable;
}
protocol static static6 {
ipv6 { export all; };
# route 2001:db8:cafe::/48 via 2001:db8::1;;
route 2001:678:d78:220::/60 unreachable;
}
}

View File

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

View File

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

View File

@ -1,21 +0,0 @@
protocol ospf v2 ospf4 {
ipv4 { export where source = RTS_DEVICE; import all; };
area 0 {
interface "loop0" { stub yes; };
interface "e0" { type pointopoint; cost 5; bfd off; };
interface "e1" { type pointopoint; cost 5; bfd off; };
interface "e2" { type pointopoint; cost 5; bfd off; };
interface "e3" { type pointopoint; cost 5; bfd off; };
};
}
protocol ospf v3 ospf6 {
ipv6 { export where source = RTS_DEVICE; import all; };
area 0 {
interface "loop0" { stub yes; };
interface "e0" { type pointopoint; cost 5; bfd off; };
interface "e1" { type pointopoint; cost 5; bfd off; };
interface "e2" { type pointopoint; cost 5; bfd off; };
interface "e3" { type pointopoint; cost 5; bfd off; };
};
}

View File

@ -1,3 +1,4 @@
## Bird2 configuration for vpp2-2
router id 192.168.12.2;
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

@ -0,0 +1,21 @@
protocol ospf v2 ospf4 {
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; };
interface "e1" { type pointopoint; cost 5; bfd off; };
interface "e2" { type pointopoint; cost 5; bfd off; };
interface "e3" { type pointopoint; cost 5; bfd off; };
};
}
protocol ospf v3 ospf6 {
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; };
interface "e1" { type pointopoint; cost 5; bfd off; };
interface "e2" { type pointopoint; cost 5; bfd off; };
interface "e3" { type pointopoint; cost 5; bfd off; };
};
}

View File

@ -2,10 +2,12 @@ protocol static static4 {
ipv4 { export all; };
# route 192.0.2.0/24 via 10.0.0.1;
route 192.168.12.0/24 unreachable;
}
protocol static static6 {
ipv6 { export all; };
# route 2001:db8:cafe::/48 via 2001:db8::1;;
route 2001:678:d78:220::/60 unreachable;
}
}

View File

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

View File

@ -0,0 +1 @@
## Manual configuration for vpp2-2

View File

@ -1,21 +0,0 @@
protocol ospf v2 ospf4 {
ipv4 { export where source = RTS_DEVICE; import all; };
area 0 {
interface "loop0" { stub yes; };
interface "e0" { type pointopoint; cost 5; bfd off; };
interface "e1" { type pointopoint; cost 5; bfd off; };
interface "e2" { type pointopoint; cost 5; bfd off; };
interface "e3" { type pointopoint; cost 5; bfd off; };
};
}
protocol ospf v3 ospf6 {
ipv6 { export where source = RTS_DEVICE; import all; };
area 0 {
interface "loop0" { stub yes; };
interface "e0" { type pointopoint; cost 5; bfd off; };
interface "e1" { type pointopoint; cost 5; bfd off; };
interface "e2" { type pointopoint; cost 5; bfd off; };
interface "e3" { type pointopoint; cost 5; bfd off; };
};
}

View File

@ -1,3 +1,4 @@
## Bird2 configuration for vpp2-3
router id 192.168.12.3;
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

@ -0,0 +1,21 @@
protocol ospf v2 ospf4 {
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; };
interface "e1" { type pointopoint; cost 5; bfd off; };
interface "e2" { type pointopoint; cost 5; bfd off; };
interface "e3" { type pointopoint; cost 5; bfd off; };
};
}
protocol ospf v3 ospf6 {
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; };
interface "e1" { type pointopoint; cost 5; bfd off; };
interface "e2" { type pointopoint; cost 5; bfd off; };
interface "e3" { type pointopoint; cost 5; bfd off; };
};
}

View File

@ -2,10 +2,12 @@ protocol static static4 {
ipv4 { export all; };
# route 192.0.2.0/24 via 10.0.0.1;
route 192.168.12.0/24 unreachable;
}
protocol static static6 {
ipv6 { export all; };
# route 2001:db8:cafe::/48 via 2001:db8::1;;
route 2001:678:d78:220::/60 unreachable;
}
}

View File

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

View File

@ -0,0 +1 @@
## Manual configuration for vpp2-3

View File

@ -1,21 +0,0 @@
protocol ospf v2 ospf4 {
ipv4 { export where source = RTS_DEVICE; import all; };
area 0 {
interface "loop0" { stub yes; };
interface "e0" { type pointopoint; cost 5; bfd off; };
interface "e1" { type pointopoint; cost 5; bfd off; };
interface "e2" { type pointopoint; cost 5; bfd off; };
interface "e3" { type pointopoint; cost 5; bfd off; };
};
}
protocol ospf v3 ospf6 {
ipv6 { export where source = RTS_DEVICE; import all; };
area 0 {
interface "loop0" { stub yes; };
interface "e0" { type pointopoint; cost 5; bfd off; };
interface "e1" { type pointopoint; cost 5; bfd off; };
interface "e2" { type pointopoint; cost 5; bfd off; };
interface "e3" { type pointopoint; cost 5; bfd off; };
};
}

2
create
View File

@ -15,7 +15,7 @@
## * Unmount the staging directories
## * Start the VMs
BASE=${BASE:=ssd-vol0/hvn0.chbtl0.ipng.ch/ssd-vol0/vpp-proto-disk0@20221127-release}
BASE=${BASE:=ssd-vol0/hvn0.chbtl0.ipng.ch/ssd-vol0/vpp-proto-disk0@20221128-release}
BUILD=${BUILD:=default}
LAB=${LAB:=0}

View File

@ -1,3 +1,4 @@
## Bird2 configuration for {{ node.hostname }}
router id {{ node.loopback.ipv4.split("/")[0] }};
protocol device { scan time 30; }
@ -13,7 +14,8 @@ 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,19 @@ protocol static static4 {
ipv4 { export all; };
# route 192.0.2.0/24 via 10.0.0.1;
route {{lab.ipv4}} unreachable;
{% if node.id == 0 %}
route 0.0.0.0/0 via 192.168.{{10+lab.id}}.4;
{% endif %}
}
protocol static static6 {
ipv6 { export all; };
# route 2001:db8:cafe::/48 via 2001:db8::1;;
route {{lab.ipv6}} unreachable;
{% if node.id == 0 %}
route ::/0 via 2001:678:d78:2{{lab.id}}1::ffff;
{% endif %}
}

View File

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

View File

@ -0,0 +1 @@
## Manual configuration for {{ node.hostname }}