auto lo eth0 iface lo inet loopback iface eth0 inet static address 91.143.81.176 netmask 255.255.255.0 broadcast 91.143.81.255 gateway 91.143.81.1 iface eth0 inet6 static address 2a02:0180:1:1::5b8f:51b0 netmask 64 gateway 2a02:0180:1:1::1 # Freifunk Pinneberg Bridge-Interface (IPv4 und IPv6) # - bridge_ports none sorgt dafür, daß die Brücke auch ohne Interface erstellt wird auto br-ffpi iface br-ffpi inet6 static bridge-ports none address fde8:21c6:9d82::0c01 netmask 64 iface br-ffpi inet static address 10.137.12.1 netmask 255.255.0.0 # BATMAN Interface allow-hotplug bat0 iface bat0 inet6 manual pre-up modprobe batman-adv pre-up batctl if add mesh-vpn up ip link set $IFACE up post-up brctl addif br-ffpi $IFACE post-up batctl it 10000 post-up batctl gw_mode server 100mbit/100mbit post-up /sbin/ip rule add from all fwmark 0x1 table 42 post-up start-stop-daemon -b --start --exec /usr/local/sbin/batadv-vis -- -i $IFACE -s post-up start-stop-daemon -b --start --exec /usr/local/sbin/alfred -- -i br-ffpi -b $IFACE pre-down /sbin/ip rule del from all fwmark 0x1 table 42 pre-down brctl delif br-ffpi $IFACE || true down ip link set $IFACE down