Skip to content

Commit 3dbaf13

Browse files
committed
修复附加地址无法宣告的问题
1 parent 8f2f71a commit 3dbaf13

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

bird/ebgp.conf

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ template bgp BGP_peers {
1717
accept;
1818
};
1919
export filter {
20-
if source ~ [ RTS_OSPF, RTS_BGP ] then accept;
20+
if source ~ [ RTS_OSPF, RTS_STATIC, RTS_OSPF_EXT2, RTS_BGP ] then accept;
2121
reject;
2222
};
2323
};

bird/ospf.conf

+3-2
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,10 @@ protocol ospf v2 selfnet {
2020
cost 20;
2121
type ptp;
2222
# bfd on;
23-
;
23+
};
2424
interface "<local_iface_name>" {
25-
type nonbroadcast;
25+
type bcast;
26+
stub yes;
2627
};
2728
};
2829
}

0 commit comments

Comments
 (0)