Project

General

Profile

Gateways » History » Version 2

Pau Escrich, 12/29/2012 06:23 PM

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