speicher.hamburg.freifunk.net konfiguration hinzugefuegt
This commit is contained in:
parent
ea3bcbfb32
commit
002f483d38
56
speicher.hamburg.freifunk.net/etc/bird/bird.conf
Normal file
56
speicher.hamburg.freifunk.net/etc/bird/bird.conf
Normal file
|
@ -0,0 +1,56 @@
|
|||
log syslog { debug, trace, info, remote, warning, error, auth, fatal, bug };
|
||||
|
||||
router id 10.112.96.23;
|
||||
|
||||
protocol direct {
|
||||
interface "dummy0";
|
||||
}
|
||||
|
||||
protocol kernel {
|
||||
persist; # Don't remove routes on bird shutdown
|
||||
scan time 20; # Scan kernel routing table every 20 seconds
|
||||
export all; # Default is export none
|
||||
}
|
||||
|
||||
protocol device {
|
||||
scan time 10; # Scan interfaces every 10 seconds
|
||||
}
|
||||
|
||||
protocol static {
|
||||
}
|
||||
|
||||
protocol static natips {
|
||||
import all;
|
||||
route 193.96.224.237/32 reject;
|
||||
};
|
||||
|
||||
protocol ospf uplink {
|
||||
export filter {
|
||||
if proto = "natips" then {
|
||||
ospf_metric1 = 1000;
|
||||
accept;
|
||||
}
|
||||
|
||||
if proto = "direct1" then {
|
||||
accept;
|
||||
}
|
||||
reject;
|
||||
|
||||
};
|
||||
|
||||
area 0.0.0.0 {
|
||||
networks {
|
||||
10.112.96.0/19;
|
||||
# 100.64.112.24/29;
|
||||
};
|
||||
interface "enp1s0" {
|
||||
type nbma;
|
||||
strict nonbroadcast yes;
|
||||
neighbors {
|
||||
# 100.64.112.25 eligible;
|
||||
10.112.96.251 eligible; #gw01
|
||||
10.112.96.253 eligible; #gw03
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
29
speicher.hamburg.freifunk.net/etc/bird/bird6.conf
Normal file
29
speicher.hamburg.freifunk.net/etc/bird/bird6.conf
Normal file
|
@ -0,0 +1,29 @@
|
|||
log syslog { debug, trace, info, remote, warning, error, auth, fatal, bug };
|
||||
router id 10.112.96.23;
|
||||
|
||||
protocol kernel {
|
||||
persist; # Don't remove routes on bird shutdown
|
||||
scan time 20; # Scan kernel routing table every 20 seconds
|
||||
export all; # Default is export none
|
||||
}
|
||||
|
||||
protocol device {
|
||||
scan time 10; # Scan interfaces every 10 seconds
|
||||
}
|
||||
|
||||
protocol ospf uplink {
|
||||
export all;
|
||||
area 0.0.0.0 {
|
||||
networks {
|
||||
2a03:2267::/32;
|
||||
};
|
||||
interface "enp1s0" {
|
||||
type nbma;
|
||||
strict nonbroadcast yes;
|
||||
neighbors {
|
||||
fe80::dcad:beff:feef:1020 eligible;
|
||||
fe80::dcad:beff:feef:3020 eligible;
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
5
speicher.hamburg.freifunk.net/etc/modules
Normal file
5
speicher.hamburg.freifunk.net/etc/modules
Normal file
|
@ -0,0 +1,5 @@
|
|||
# /etc/modules: kernel modules to load at boot time.
|
||||
#
|
||||
# This file contains the names of kernel modules that should be loaded
|
||||
# at boot time, one per line. Lines beginning with "#" are ignored.
|
||||
dummy
|
|
@ -0,0 +1,5 @@
|
|||
auto dummy0
|
||||
iface dummy0 inet static
|
||||
address 193.96.224.237
|
||||
netmask 255.255.255.255
|
||||
pre-up ip link add dummy0 type dummy
|
|
@ -0,0 +1,5 @@
|
|||
auto enp1s0
|
||||
iface enp1s0 inet static
|
||||
address 10.112.96.23/19
|
||||
iface enp1s0 inet6 static
|
||||
address 2a03:2267:2:0:7285:c2ff:fe23:d4ae/64
|
Loading…
Reference in a new issue