Gateways » Historial » Versió 3
Pau Escrich, 29-12-2012 18:23
1 | 1 | Pau Escrich | h1. Gateways |
---|---|---|---|
2 | |||
3 | 3 | Pau Escrich | The gateways of the mesh are those nodes who are able to reach some other networks, such as the Internet or another wireless community,and are used as a door for the nodes of the mesh who cannot reach these networks directly. |
4 | 1 | Pau Escrich | |
5 | 3 | Pau Escrich | In bmx6 this gateways are reached using IP tunnels between the node who offer the network and the node who wants to fetch the network. |
6 | 1 | Pau Escrich | |
7 | 2 | Pau Escrich | A node (not gateway) should look for some specific network, as shown in the next */etc/config/bmx6* configuration example: |
8 | 1 | Pau Escrich | |
9 | 2 | Pau Escrich | <pre> |
10 | 1 | Pau Escrich | config 'tunOut' |
11 | option 'tunOut' 'ipv6' |
||
12 | option 'network' '::/0' |
||
13 | |||
14 | config 'tunOut' |
||
15 | option 'tunOut' 'inet' |
||
16 | option 'network' '0.0.0.0/0' |
||
17 | option 'maxPrefixLen' '0' |
||
18 | |||
19 | config 'tunOut' |
||
20 | option 'tunOut' 'guifi' |
||
21 | option 'network' '10.0.0.0/8' |
||
22 | option 'maxPrefixLen' '8' |
||
23 | |||
24 | config 'tunOut' |
||
25 | option 'tunOut' 'cloud' |
||
26 | option 'network' '10.0.0.0/8' |
||
27 | option 'minPrefixLen' '16' |
||
28 | 2 | Pau Escrich | </pre> |
29 | 1 | Pau Escrich | |
30 | 2 | Pau Escrich | # *ipv6* Look for all IPv6 announcements |
31 | # *inet* Look only for v4 internet 0.0.0.0/0 (and not smaller) |
||
32 | # *guifi* Look for the big announcements to other networks, inside the subnetwork 10.0.0.0/8 not smaller than /8 |
||
33 | # *cloud* Lookg for all (small) announcements from /16 to /32 inside the subnetwork 10.0.0.0/8 |