Projecte

General

Perfil

Gateways » Historial » Versió 1

Pau Escrich, 29-12-2012 18:22

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