| Zeile 117: |
Zeile 117: |
| | ===Konfiguration (Client)=== | | ===Konfiguration (Client)=== |
| | * Client ist jeder Internetuebergabepunkt / UpLink ins Internet (z.b. ein DSLer) | | * Client ist jeder Internetuebergabepunkt / UpLink ins Internet (z.b. ein DSLer) |
| − | * [[IP-System_umstellen|Freifunk-Client-IP]] ist die 10.63.254.Netznotennummer auf dem VPN-Interface | + | * [[IP-System_umstellen|Freifunk-Client-IP]] ist die 10.63.Netznotennummer.253 auf dem VPN-Interface |
| − | * Aufruf mit: <tt>vtund m18---kunstturm 141.54.160.25</tt> | + | * Aufruf mit: <tt>vtund verbindungsname 87.118.106.19</tt> |
| | | | |
| | + | * Lokales Interface mit IP-Adresse belegen (Knotennummer vorher registrieren!) |
| | + | * In diesem Beispiel ist die KNOTENNUMMER die '''244''' - entsprechend ersetzen! |
| | <pre> | | <pre> |
| − | m18---kunstturm { passwd bla; type ether; persist yes;
| + | ip addr add dev eth0 104.63.''244''.253 label eth0:0 |
| − | up { program "ip addr add dev %% 10.63.254.54/16 brd 10.255.255.255; ip link set %% mtu 1500 up"; }; } | + | </pre> |
| | + | |
| | + | * Konfigdatei <tt>/etc/vtund.conf</tt> |
| | + | <pre> |
| | + | verbindungsname { passwd bla; type ether; persist yes; |
| | + | up { program "ip addr add dev %% 10.63.244.253/16 brd 10.255.255.255; ip link set %% mtu 1500 up"; }; } |
| | </pre> | | </pre> |
| | | | |
| | * Konfigdatei <tt>/etc/local.olsrd.conf</tt> | | * Konfigdatei <tt>/etc/local.olsrd.conf</tt> |
| | <pre> | | <pre> |
| − | Interface "tap0" | + | DebugLevel 0 |
| − | { | + | IpVersion 4 |
| − | HelloInterval 5.0 | + | AllowNoInt yes |
| − | HelloValidityTime 90.0 | + | Pollrate 0.1 |
| − | TcInterval 3.0 | + | TcRedundancy 2 |
| − | TcValidityTime 270.0 | + | MprCoverage 7 |
| − | MidInterval 15.0 | + | LinkQualityFishEye 1 |
| − | MidValidityTime 270.0 | + | LinkQualityWinSize 100 |
| − | HnaInterval 15.0 | + | LinkQualityDijkstraLimit 0 5.0 |
| − | HnaValidityTime 90.0 | + | LinkQualityLevel 2 |
| | + | UseHysteresis no |
| | + | |
| | + | Hna4 { |
| | + | 104.63.244.0 255.255.255.240 |
| | + | } |
| | + | |
| | + | IpcConnect { |
| | + | MaxConnections 1 |
| | + | Host 127.0.0.1 |
| | + | Net 104.63.244.0 255.255.255.240 |
| | + | } |
| | + | |
| | + | Interface "eth0:0" { |
| | + | HelloInterval 5.0 |
| | + | HelloValidityTime 90.0 |
| | + | TcInterval 3.0 |
| | + | TcValidityTime 270.0 |
| | + | MidInterval 15.0 |
| | + | MidValidityTime 270.0 |
| | + | HnaInterval 15.0 |
| | + | HnaValidityTime 90.0 |
| | + | } |
| | | | |
| − | Ip4Broadcast 10.255.255.255 | + | Interface "tap0" { |
| | + | HelloInterval 5.0 |
| | + | HelloValidityTime 90.0 |
| | + | TcInterval 3.0 |
| | + | TcValidityTime 270.0 |
| | + | MidInterval 15.0 |
| | + | MidValidityTime 270.0 |
| | + | HnaInterval 15.0 |
| | + | HnaValidityTime 90.0 |
| | + | Ip4Broadcast 10.63.244.254 |
| | } | | } |
| | </pre> | | </pre> |