Projecte

General

Perfil

Gateways » Historial » Revisió 2

Revisió 1 (Pau Escrich, 29-12-2012 18:22) → Revisió 2/9 (Pau Escrich, 29-12-2012 18:23)

h1. Gateways 

 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. 

 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.  

 A node (not gateway) should look for some specific network, as shown in the next */etc/config/bmx6* /etc/config/bmx6 configuration example: 

 <pre> <code> 
 config 'tunOut' 
	 option 'tunOut' 'ipv6' 
	 option 'network' '::/0' 

 config 'tunOut' 
	 option 'tunOut' 'inet' 
	 option 'network' '0.0.0.0/0' 
	 option 'maxPrefixLen' '0' 
	
 config 'tunOut'   
	 option 'tunOut' 'guifi'     
	 option 'network' '10.0.0.0/8' 
	 option 'maxPrefixLen' '8' 
	
 config 'tunOut' 
	 option 'tunOut' 'cloud' 
	 option 'network' '10.0.0.0/8' 
	 option 'minPrefixLen' '16' 
 </pre> </code> 

 # *ipv6* ipv6 -> Look for all IPv6 announcements 
 # *inet* inet -> Look only for v4 internet 0.0.0.0/0 (and not smaller) 
 # *guifi* guifi -> Look for the big announcements to other networks, inside the subnetwork 10.0.0.0/8 not smaller than /8 
 # *cloud* cloud -> Lookg for all (small) announcements from /16 to /32 inside the subnetwork 10.0.0.0/8