forked from freifunk-luebeck/birdconfig
-
Notifications
You must be signed in to change notification settings - Fork 14
/
Copy pathbird6-turingmachine.conf
75 lines (63 loc) · 1.16 KB
/
bird6-turingmachine.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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
log syslog all;
router id 172.23.75.130;
#protocol babel {
# import all;
# import keep filtered;
# export all;
# interface "evenet" {
# type wireless;
# rxcost 512;
# };
#}
define OWNIP = fd42:4992:6a6d:200::3;
protocol device {
scan time 10;
}
protocol kernel {
scan time 20;
device routes;
import none;
export filter {
if source = RTS_STATIC then reject;
krt_prefsrc = OWNIP;
krt_metric = 2048;
accept;
};
};
protocol ospf {
import filter {
if net ~ [ fc00::/7+ ] then {
accept;
}
reject;
};
export filter {
if net ~ [ fc00::/7+ ] then {
accept;
}
reject;
};
area 51 {
stubnet fd42:4992:6a6d:600::/64;
stubnet fd42:4992:6a6d:200::3/128;
interface "enp0s25" {
cost 5;
hello 5; retransmit 2; wait 10; dead 20;
check link yes;
};
interface "wlp3s0" {
cost 100;
hello 5; retransmit 2; wait 10; dead 20;
check link yes;
};
interface "eve" {
cost 1000;
hello 5; retransmit 2; wait 10; dead 60;
};
interface "tun0" {
cost 900;
type broadcast;
hello 5; retransmit 2; wait 10; dead 60;
};
};
}