OSPF BGP link
This commit is contained in:
parent
bd999815ed
commit
0b2795ea90
16
ospf.conf
16
ospf.conf
|
@ -7,12 +7,23 @@ protocol ospf {
|
|||
interface "wg-ospf-*" {
|
||||
};
|
||||
|
||||
interface "wg-uk-lon1" {
|
||||
};
|
||||
|
||||
interface "lo" {
|
||||
stub;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
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;
|
||||
|
@ -21,6 +32,7 @@ filter filter_OSPF {
|
|||
|
||||
protocol pipe {
|
||||
peer table T_OSPF;
|
||||
import all;
|
||||
export filter filter_OSPF;
|
||||
import filter filter_OSPF;
|
||||
export none;
|
||||
# export filter filter_OSPF;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue