forked from freifunk-luebeck/birdconfig
-
Notifications
You must be signed in to change notification settings - Fork 14
/
local6-eve.conf
65 lines (60 loc) · 1.12 KB
/
local6-eve.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
router id 172.23.75.1;
define OWNAS = 4242420092;
define OWNIP = fd42:4992:6a6d::1;
define DN42_REGION = 41;
function is_self_net() {
return net ~ [
fd42:4992:6a6d::/48+,
2a03:4000:13:31e::/64+
];
}
protocol static {
import all;
export none;
route fd42:4992:6a6d::/64 reject;
route fd42:4992:6a6d:200::/64 reject;
route fd42:4992:6a6d:700::/64 reject;
}
#protocol babel {
# import all;
# import keep filtered;
# export all;
# table ospf_routes;
# interface "eva" {
# type wireless;
# rxcost 200;
# };
# interface "evenet" {
# type wireless;
# rxcost 512;
# };
#}
protocol ospf {
import all;
export all;
table ospf_routes;
area 51 {
stubnet fc00::/7 {
summary yes;
cost 5000;
};
stubnet fd42:4992:6a6d:200::/56 {
summary yes;
cost 1;
};
stubnet fd42:4992:6a6d::/64 {
summary yes;
cost 1;
};
interface "tun-eve" {
cost 900;
hello 5; retransmit 2; wait 10; dead 60;
tx length 1300;
priority 2;
};
interface "wg-*" {
cost 1000;
hello 5; retransmit 2; wait 10; dead 60;
};
};
}