speicher.hamburg.freifunk.net konfiguration hinzugefuegt
This commit is contained in:
parent
ea3bcbfb32
commit
002f483d38
5 changed files with 100 additions and 0 deletions
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;
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue