OSPF BGP link

This commit is contained in:
graffen 2018-09-14 20:32:25 +00:00
parent bd999815ed
commit 0b2795ea90
1 changed files with 14 additions and 2 deletions

View File

@ -6,6 +6,9 @@ protocol ospf {
area 0 {
interface "wg-ospf-*" {
};
interface "wg-uk-lon1" {
};
interface "lo" {
stub;
@ -13,6 +16,14 @@ protocol ospf {
};
}
protocol direct {
table T_OSPF;
import where is_self_net();
export none;
interface "lo";
}
filter filter_OSPF {
ospf_metric1 = 1000;
if source = RTS_STATIC then accept;
@ -21,6 +32,7 @@ filter filter_OSPF {
protocol pipe {
peer table T_OSPF;
import all;
export filter filter_OSPF;
import filter filter_OSPF;
export none;
# export filter filter_OSPF;
}