-
Notifications
You must be signed in to change notification settings - Fork 1
/
bird-user.conf
44 lines (36 loc) · 836 Bytes
/
bird-user.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
log stderr all;
debug protocols all;
filter sacredemo {
# the example IPv4 VIP announced by Cilium
if (net ~ 10.10.10.0/24) then
{
accept;
}
}
router id 172.22.100.3;
protocol direct {
interface "lo"; # Restrict network interfaces BIRD works with
}
protocol kernel {
persist; # Don't remove routes on bird shutdown
scan time 20; # Scan kernel routing table every 20 seconds
merge paths yes limit 10; # ECMP
ipv4 {
import all; # Default is import all
export all; # Default is export none
};
}
# This pseudo-protocol watches all interface up/down events.
protocol device {
scan time 10; # Scan interfaces every 10 seconds
}
protocol bgp {
local 172.22.100.3 as 64002;
# user side neighbor
neighbor 172.22.100.2 as 64003;
ipv4 {
import all;
export none;
next hop self;
};
}