Fix OSPF config

This commit is contained in:
graffen 2018-09-17 18:02:46 +00:00
parent b90636898e
commit bb9e070b7c
2 changed files with 9 additions and 22 deletions

View File

@ -13,22 +13,15 @@ protocol ospf {
};
}
protocol direct {
table T_OSPF4;
import where is_self_net();
export none;
interface "lo";
}
filter filter_OSPF {
ospf_metric1 = 1000;
if source = RTS_STATIC then accept;
if is_self_net() then accept;
else reject;
};
protocol pipe {
peer table T_OSPF4;
import filter filter_OSPF;
export none;
table T_OSPF4;
peer table master;
import none;
export filter filter_OSPF;
}

View File

@ -13,22 +13,16 @@ protocol ospf {
};
}
protocol direct {
table T_OSPF6;
import where is_self_net();
export none;
interface "lo";
}
filter filter_OSPF6 {
ospf_metric1 = 1000;
if source = RTS_STATIC then accept;
if is_self_net() then accept;
else reject;
};
protocol pipe {
peer table T_OSPF6;
import all;
table T_OSPF6;
peer table master;
import none;
export filter filter_OSPF6;
}