Supernode: Unterschied zwischen den Versionen

Aus Freifunk Rheinland e.V.
Zur Navigation springen Zur Suche springen
(BIRD6 config)
K (lolformatierung)
Zeile 19: Zeile 19:
== BIRD ==
== BIRD ==


  # < /etc/bird.conf
# < /etc/bird.conf
  log syslog all;
log syslog all;
  router id $ROUTERID;
router id $ROUTERID;
 
  protocol kernel {
protocol kernel {
          export all;
        export all;
          import all;
        import all;
          device routes;
        device routes;
          kernel table 16;
        kernel table 16;
  };
};
 
  protocol device {
protocol device {
          scan time 8;
        scan time 8;
  };
};
 
  protocol ospf {
protocol ospf {
          import all;
        import all;
          export all;
        export all;
          area 0.0.0.0 {
        area 0.0.0.0 {
                  interface "bb0" {
                interface "bb0" {
                          hello 1;
                        hello 1;
                          dead 4;
                        dead 4;
                  };
                };
                  interface "br0" {
                interface "br0" {
                          stub;
                        stub;
                  };
                };
          };
        };
  };
};




== BIRD6 ==
== BIRD6 ==


  # < /etc/bird6.conf
# < /etc/bird6.conf
  log syslog all;
log syslog all;
  router id $ROUTERID;
router id $ROUTERID;
 
  protocol kernel {
protocol kernel {
          export all;
        export all;
          import all;
        import all;
          device routes;
        device routes;
          kernel table 16;
        kernel table 16;
  };
};
 
  protocol device {
protocol device {
          scan time 8;
        scan time 8;
  };
};
 
  protocol radv {
protocol radv {
          interface "br0" {
        interface "br0" {
                  default lifetime 30;
                default lifetime 30;
                  max ra interval 5;
                max ra interval 5;
          };
        };
  };
};
 
  protocol ospf {
protocol ospf {
          area 0.0.0.0 {
        area 0.0.0.0 {
                  interface "bb0" {
                interface "bb0" {
                          hello 1;
                        hello 1;
                          dead 4;
                        dead 4;
                  };
                };
                  interface "br0" {
                interface "br0" {
                          stub;
                        stub;
                  };
                };
          };
        };
  };
};

Version vom 9. Juni 2014, 21:36 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/public/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;
                };
        };
};