-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Hi,

On 30.08.11 21:10, Gilson wrote:
> So, now the OpenVPN is running correct?
well, if the "ip r" command shows routes to your vpn -network: yes. If
not, check the syslog using the "logread" command for error messages.


> Other question: What's difference between the inputs DHCP-OLSR and 
> HNA4? They're responsible for what?
> 
> DHCP-OLSR >> responsible for attribute the IP's address for
> clients OLSR. HNA4 >> responsible for say, who IP range belongs the
> OLSR.
OLSR-DHCP assigns DHCP-Addresses to wifi clients via the ad-hoc
interface. The client's address is masked (via NAT) behind the routers
wifi-ip.

In our mesh, we assign ip addresses to the nodes like this:
10.22.0.32
10.22.0.64
10.22.0.96
10.22.0.128
10.22.0.160
10.22.0.192
10.22.0.224
10.22.1.0
10.22.1.32
10.22.1.64
10.22.1.96
10.22.1.128
10.22.1.160
10.22.1.192
10.22.1.224
...

The remaining addresses are left for OLSR-DHCP clients. The OLSR-DHCP
setting for router 10.22.1.64 is "10.22.1.64/27,255.255.0.0":

$ ipcalc 10.22.1.64/27
Address:   10.22.1.64           00001010.00010110.00000001.010 00000
Netmask:   255.255.255.224 = 27 11111111.11111111.11111111.111 00000
Wildcard:  0.0.0.31             00000000.00000000.00000000.000 11111
=>
Network:   10.22.1.64/27        00001010.00010110.00000001.010 00000
HostMin:   10.22.1.65           00001010.00010110.00000001.010 00001
HostMax:   10.22.1.94           00001010.00010110.00000001.010 11110
Broadcast: 10.22.1.95           00001010.00010110.00000001.010 11111
Hosts/Net: 30                    Class A, Private Internet

This means: within the 10.22.0.0/16 Network, the range 10.22.1.64/27
is reserved for DHCP-Clients of node 10.22.1.64. A total of 30
dhcp-clients is possible for each wifi-node.


HNA4 announces routes and hosts. The announcement of "0.0.0.0/0" means:
"Here's an uplink and I would like to share it".
It's also possible to announce a single IP or a network
(10.22.0.0/16). Thanks to OLSR, all mesh-nodes will know now this
host/network route (you may check it using the "ip r" command).



regards,

// melle

- -- 
xmpp: [email protected] passion: http://mellenthin.de
1A2D 0833 0873 BBB4 B273  mission: http://freifunk-potsdam.de
0A11 4759 49E4 195F D9E6  pubkey:  http://mellenthin.de/key.txt
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iF4EAREIAAYFAk5lLAUACgkQR1lJ5Blf2eYkMwD6AiyweEaqXaVWcClcO7+l84Yq
p7prXUkfX6M8KqRdOR4BAJBl/7aYPtaDWdMKJBK2RCiWkMfWzB/d79gTFsIB4ME/
=J9Va
-----END PGP SIGNATURE-----
_______________________________________________
Users mailing list
[email protected]
https://lists.freifunk-potsdam.de/listinfo/users

Antwort per Email an