ix-bird-config/ospf.conf

39 lines
570 B
Plaintext
Raw Normal View History

2018-09-08 11:16:50 +00:00
protocol ospf {
table T_OSPF;
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
interface "wg-uk-lon1" {
};
2018-09-08 11:16:50 +00:00
interface "lo" {
stub;
};
};
}
2018-09-14 20:32:25 +00:00
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;
else reject;
};
protocol pipe {
peer table T_OSPF;
2018-09-14 20:32:25 +00:00
import filter filter_OSPF;
export none;
# export filter filter_OSPF;
}