OSPF BGP link
This commit is contained in:
parent
bd999815ed
commit
0b2795ea90
16
ospf.conf
16
ospf.conf
|
@ -6,6 +6,9 @@ protocol ospf {
|
|||
area 0 {
|
||||
interface "wg-ospf-*" {
|
||||
};
|
||||
|
||||
interface "wg-uk-lon1" {
|
||||
};
|
||||
|
||||
interface "lo" {
|
||||
stub;
|
||||
|
@ -13,6 +16,14 @@ protocol ospf {
|
|||
};
|
||||
}
|
||||
|
||||
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