ix-bird-config/ospf4.conf

35 lines
504 B
Plaintext
Raw Normal View History

2018-09-08 11:16:50 +00:00
protocol ospf {
2018-09-15 19:09:28 +00:00
table T_OSPF4;
2018-09-08 11:16:50 +00:00
import all;
export all;
2018-09-08 11:16:50 +00:00
area 0 {
interface "wg-ospf-*" {
};
2018-09-14 20:32:25 +00:00
2018-09-08 11:16:50 +00:00
interface "lo" {
stub;
};
};
}
2018-09-14 20:32:25 +00:00
protocol direct {
2018-09-15 19:09:28 +00:00
table T_OSPF4;
2018-09-14 20:32:25 +00:00
import where is_self_net();
export none;
interface "lo";
}
filter filter_OSPF {
ospf_metric1 = 1000;
if source = RTS_STATIC then accept;
else reject;
};
protocol pipe {
2018-09-15 19:09:28 +00:00
peer table T_OSPF4;
2018-09-14 20:32:25 +00:00
import filter filter_OSPF;
export none;
}