forked from Mic92/bird-dn42
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbird-turingmachine.conf
79 lines (66 loc) · 1.34 KB
/
bird-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
76
77
78
79
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 = 172.23.75.130;
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 ~ [ 172.16.0.0/12+, 10.0.0.0/8+ ] then {
accept;
}
reject;
};
export filter {
if net ~ [ 172.16.0.0/12+, 10.0.0.0/8+ ] then {
accept;
}
reject;
};
area 51 {
stubnet 169.254.0.0/16 { summary; hidden yes; };
stubnet 192.168.0.0/16 { summary; hidden yes; };
stubnet 10.100.0.0/16 { summary; hidden yes; };
stubnet 172.23.75.130/32;
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;
neighbors { 172.23.75.129; };
};
};
}