Gateways » History » Version 5
Pau Escrich, 12/29/2012 06:29 PM
1 | 1 | Pau Escrich | h1. Gateways |
---|---|---|---|
2 | 1 | Pau Escrich | |
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 | 4 | Pau Escrich | In bmx6 these 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 | 1 | Pau Escrich | option 'tunOut' 'ipv6' |
12 | 1 | Pau Escrich | option 'network' '::/0' |
13 | 1 | Pau Escrich | |
14 | 1 | Pau Escrich | config 'tunOut' |
15 | 1 | Pau Escrich | option 'tunOut' 'inet' |
16 | 1 | Pau Escrich | option 'network' '0.0.0.0/0' |
17 | 1 | Pau Escrich | option 'maxPrefixLen' '0' |
18 | 1 | Pau Escrich | |
19 | 1 | Pau Escrich | config 'tunOut' |
20 | 1 | Pau Escrich | option 'tunOut' 'guifi' |
21 | 1 | Pau Escrich | option 'network' '10.0.0.0/8' |
22 | 1 | Pau Escrich | option 'maxPrefixLen' '8' |
23 | 1 | Pau Escrich | |
24 | 1 | Pau Escrich | config 'tunOut' |
25 | 1 | Pau Escrich | option 'tunOut' 'cloud' |
26 | 1 | Pau Escrich | option 'network' '10.0.0.0/8' |
27 | 1 | Pau Escrich | option 'minPrefixLen' '16' |
28 | 2 | Pau Escrich | </pre> |
29 | 1 | Pau Escrich | |
30 | 5 | Pau Escrich | |
31 | 2 | Pau Escrich | # *ipv6* Look for all IPv6 announcements |
32 | 2 | Pau Escrich | # *inet* Look only for v4 internet 0.0.0.0/0 (and not smaller) |
33 | 2 | Pau Escrich | # *guifi* Look for the big announcements to other networks, inside the subnetwork 10.0.0.0/8 not smaller than /8 |
34 | 2 | Pau Escrich | # *cloud* Lookg for all (small) announcements from /16 to /32 inside the subnetwork 10.0.0.0/8 |
35 | 5 | Pau Escrich | |
36 | 5 | Pau Escrich | |
37 | 5 | Pau Escrich | In the mesh network there might be several gateways publishing the same network, in such case the node will choose his best path. |
38 | 5 | Pau Escrich | There are many options which can be used to modify the path decision, for instance one quite useful is the "gwName". |
39 | 5 | Pau Escrich | |
40 | 5 | Pau Escrich | <pre> |
41 | 5 | Pau Escrich | config 'tunOut' |
42 | 5 | Pau Escrich | option 'tunOut' 'guifi' |
43 | 5 | Pau Escrich | option 'network' '10.0.0.0/8' |
44 | 5 | Pau Escrich | option 'maxPrefixLen' '8' |
45 | 5 | Pau Escrich | option 'gwName' 'GSmVictoria-RK71' |
46 | 5 | Pau Escrich | </pre> |
47 | 5 | Pau Escrich | |
48 | 5 | Pau Escrich | In this example, if exist a node named "GSmVictoria-RK71" publishing the network 10.0.0.0/8 it will be selected and not the another ones. |