OSPF BGP link

This commit is contained in:
graffen 2018-09-14 20:32:25 +00:00
parent bd999815ed
commit 0b2795ea90

View file

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