forked from vincentbernat/network-lab
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbird.linux.conf
53 lines (45 loc) · 837 Bytes
/
bird.linux.conf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
log "/var/log/bird.log" all;
router id 1.1.1.1;
protocol device {
scan time 10;
}
protocol kernel {
persist;
learn yes;
export all;
import none;
scan time 10;
preference 200;
graceful restart yes;
}
protocol direct direct_loopback {
interface "lo";
interface "lo0";
import filter {
if net = 203.0.113.15/32 then accept;
reject;
};
export none;
}
protocol bgp {
local as 65001;
neighbor 192.0.2.11 as 65002;
direct;
ttl security 255;
hold time 3;
connect delay time 1;
connect retry time 5;
error wait time 1,5;
error forget time 10;
graceful restart yes;
graceful restart time 0;
long lived graceful restart yes;
long lived stale time 120;
med metric on;
passive yes;
export filter {
if proto = "direct_loopback" then accept;
reject;
};
import all;
}