Supernode: Unterschied zwischen den Versionen

Aus Freifunk Rheinland e.V.
Zur Navigation springen Zur Suche springen
K (Nomaster verschob Seite Super Nodes nach Super-Node)
(→‎HowTo Supernode: link korrigiert)
 
(17 dazwischenliegende Versionen von 3 Benutzern werden nicht angezeigt)
Zeile 1: Zeile 1:
Supernodes sind Server zu denen jeder Freifunk-Router mit aktiviertem MESH-VPN eine Verbindung per fastd aufbaut.
Alle Supernodes sind untereinander per tinc verbunden.
== HowTo Supernode ==
== HowTo Supernode ==
folgt in Kürze  
folgt in Kürze
 
Basis für eine Doku
http://pad.freifunk.net/p/Supernode_from_Scratch
 
== Super-Nodes ==
{{#ask: [[Hat Zweck::Super-Node]]
|format=table
|mainlabel=Seite
|? Hat Hostnamen=Hostname
|? Hat Domäne=Domäne
}}
 
 
== BIRD ==
 
# < /etc/bird.conf
log syslog all;
router id $ROUTERID;
protocol kernel {
        export all;
        import all;
        device routes;
        kernel table 16;
};
protocol device {
        scan time 8;
};
protocol ospf {
        import all;
        export all;
        area 0.0.0.0 {
                interface "bb0" {
                        hello 1;
                        dead 4;
                };
                interface "br0" {
                        stub;
                };
        };
};
 
 
== BIRD6 ==
 
# < /etc/bird6.conf
log syslog all;
router id $ROUTERID;
protocol kernel {
        export all;
        import all;
        device routes;
        kernel table 16;
};
protocol device {
        scan time 8;
};
protocol radv {
        interface "br0" {
                default lifetime 30;
                max ra interval 5;
        };
};
protocol ospf {
        area 0.0.0.0 {
                interface "bb0" {
                        hello 1;
                        dead 4;
                };
                interface "br0" {
                        stub;
                };
        };
};
 
== dnsmasq ==
 
dhcp-authoritative
dhcp-ignore-names
dhcp-range=$BEGIN,$END,12h
interface=br0
no-resolv
quiet-dhcp
server=8.8.4.4
server=8.8.8.8
server=2001:4860:4860::8888
server=2001:4860:4860::8844


== Rheinufer ==
== sysctl ==


[[Host:Rheinufer0|Rheinufer0]] <br>
sysctl -w net.ipv6.conf.br0.accept_ra=0
[[Host:Rheinufer1|Rheinufer1]]
sysctl -w net.ipv6.conf.tap0.accept_ra=0
sysctl -w net.ipv6.conf.bat0.accept_ra=0
sysctl -w net.ipv6.conf.all.forwarding=1
sysctl -w net.ipv4.ip_forward=1
sysctl -w net.bridge.bridge-nf-call-arptables=0
sysctl -w net.bridge.bridge-nf-call-ip6tables=0
sysctl -w net.bridge.bridge-nf-call-iptables=0


== Wupper ==
== ebtables ==


[[Host:wupper0|wupper0]] <br>
ebtables -A FORWARD -p IPv6 -i bat0 --ip6-proto ipv6-icmp --ip6-icmp-type router-advertisement -j DROP
[[Host:wupper1|wupper1]] <br>
[[Host:wupper2|wupper2]] <br>
[[Host:wupper3|wupper3]] <br>
[[Host:wupper4|wupper4]] <br>
[[Host:wupper5|wupper5]] <br>
[[Host:wupper6|wupper6]] <br>
[[Host:wupper7|wupper7]] <br>
[[Host:wupper8|wupper8]] <br>
[[Host:wupper9|wupper9]]

Aktuelle Version vom 25. Januar 2015, 19:34 Uhr

Supernodes sind Server zu denen jeder Freifunk-Router mit aktiviertem MESH-VPN eine Verbindung per fastd aufbaut. Alle Supernodes sind untereinander per tinc verbunden.

HowTo Supernode

folgt in Kürze

Basis für eine Doku http://pad.freifunk.net/p/Supernode_from_Scratch

Super-Nodes

{{#ask: Hat Zweck::Super-Node |format=table |mainlabel=Seite |? Hat Hostnamen=Hostname |? Hat Domäne=Domäne }}


BIRD

# < /etc/bird.conf
log syslog all;
router id $ROUTERID;

protocol kernel {
        export all;
        import all;
        device routes;
        kernel table 16;
};

protocol device {
        scan time 8;
};

protocol ospf {
        import all;
        export all;
        area 0.0.0.0 {
                interface "bb0" {
                        hello 1;
                        dead 4;
                };
                interface "br0" {
                        stub;
                };
        };
};


BIRD6

# < /etc/bird6.conf
log syslog all;
router id $ROUTERID;

protocol kernel {
        export all;
        import all;
        device routes;
        kernel table 16;
};

protocol device {
        scan time 8;
};

protocol radv {
        interface "br0" {
                default lifetime 30;
                max ra interval 5;
        };
};

protocol ospf {
        area 0.0.0.0 {
                interface "bb0" {
                        hello 1;
                        dead 4;
                };
                interface "br0" {
                        stub;
                };
        };
};

dnsmasq

dhcp-authoritative
dhcp-ignore-names
dhcp-range=$BEGIN,$END,12h
interface=br0
no-resolv
quiet-dhcp
server=8.8.4.4
server=8.8.8.8
server=2001:4860:4860::8888
server=2001:4860:4860::8844

sysctl

sysctl -w net.ipv6.conf.br0.accept_ra=0
sysctl -w net.ipv6.conf.tap0.accept_ra=0
sysctl -w net.ipv6.conf.bat0.accept_ra=0
sysctl -w net.ipv6.conf.all.forwarding=1
sysctl -w net.ipv4.ip_forward=1
sysctl -w net.bridge.bridge-nf-call-arptables=0
sysctl -w net.bridge.bridge-nf-call-ip6tables=0
sysctl -w net.bridge.bridge-nf-call-iptables=0

ebtables

ebtables -A FORWARD -p IPv6 -i bat0 --ip6-proto ipv6-icmp --ip6-icmp-type router-advertisement -j DROP