ix-bird-config/ospf4.conf

31 lines
469 B
Plaintext
Raw Normal View History

2018-11-09 08:53:18 +00:00
protocol ospf O_OSPF {
2018-10-10 16:10:26 +00:00
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-11-09 08:53:18 +00:00
interface "wg-roam-*" {
};
2018-09-14 20:32:25 +00:00
2018-09-08 11:16:50 +00:00
interface "lo" {
stub;
};
};
}
filter filter_OSPF {
2018-11-09 08:53:18 +00:00
ospf_metric1 = 1000;
2018-09-17 18:02:46 +00:00
if is_self_net() then accept;
else reject;
};
2018-11-09 08:53:18 +00:00
protocol pipe P_OSPF_to_Master {
2018-10-10 16:10:26 +00:00
peer table T_OSPF;
2018-09-22 10:51:14 +00:00
table master;
import filter filter_OSPF;
export none;
}