Compare commits

..

No commits in common. "d536cb2f79a57c8b1d6009878ef0cb0ddddc930d" and "af0de1612ace919b98a44ddd7ed4b9d5d662c976" have entirely different histories.

5 changed files with 9 additions and 24 deletions

1
.gitignore vendored
View File

@ -1,3 +1,2 @@
peers[46]/*
local[46].conf
registry/

View File

@ -19,13 +19,8 @@ template bgp ibgppeer {
path metric on;
import keep filtered;
import all;
export filter {
if is_self_net() then {
reject;
}
accept;
};
source address OWNIP;
export all;
source address OWNIP_IBGP;
next hop self;
}
@ -35,15 +30,9 @@ template pipe iBGP_Pipe {
export all;
}
template pipe dn42peer_pipe {
peer table master;
import all;
export all;
}
protocol pipe P_BGP_to_Master {
protocol pipe {
table master;
peer table T_BGP;
import all;
import all;
export all;
}

View File

@ -33,7 +33,7 @@ template pipe iBGP_Pipe {
}
protocol pipe P_BGP_to_Master {
protocol pipe {
table master;
peer table T_BGP;
import all;

View File

@ -1,4 +1,4 @@
protocol ospf O_OSPF {
protocol ospf {
table T_OSPF;
import all;
export all;
@ -6,9 +6,6 @@ protocol ospf O_OSPF {
area 0 {
interface "wg-ospf-*" {
};
interface "wg-roam-*" {
};
interface "lo" {
stub;
@ -17,12 +14,12 @@ protocol ospf O_OSPF {
}
filter filter_OSPF {
ospf_metric1 = 1000;
# ospf_metric1 = 1000;
if is_self_net() then accept;
else reject;
};
protocol pipe P_OSPF_to_Master {
protocol pipe {
peer table T_OSPF;
table master;
import filter filter_OSPF;

View File

@ -19,7 +19,7 @@ filter filter_OSPF {
else reject;
};
protocol pipe P_OSPF_to_Master {
protocol pipe {
peer table T_OSPF;
table master;
import filter filter_OSPF;