[Olsr-dev] SmartGW client side questions
Mon Apr 26 14:18:36 CEST 2010
On Mon April 26 2010 14:05:04 Sven-Ola Tuecke wrote:
> really sorry to bother you again. This time it's the client side. It's adds
> an ipip tunnel without a local IP (ip ru add [funnyname] mode ipip remote
> [gateway-ip]). While this does not work with kernel-2.4 (instists on "local
> [ip-of-mesh-iface]") I ask myself: what's the expected behaviour? Should
> the kernel execute an implicit "ip route get [remote-ip-of-tunnel]" lookup
> [ ] for every packet to send
> [ ] when creating the tunnel
I think the local IP would be the IP of the outgoing interface. But it would
not be difficult to set the local IP of the tunnel to the originator IP of the
node. If this is necessary for kernel-2.4, I can create a patch for it.
> Moreover: I do not have internet at home and I want a second
> smartgw-server. From my home, this is me -> mesh -> gw -> smartgw1 ->
> smartgw2. How do I select smartgw2 manually (because I expect it to loose
> the ETX/metric battle)?
At the moment there is only one "gateway_handler", which always selects the
nearest gateway (and change only when it goes away). But plugins can register
other gateway handlers (similar to the lq_plugin system) to change the gateway
Diplom-Informatiker Henning Rogge , Fraunhofer-Institut für
Kommunikation, Informationsverarbeitung und Ergonomie FKIE
Neuenahrer Straße 20, 53343 Wachtberg, Germany
Telefon +49 228 9435-961, Fax +49 228 9435 685
GPG: E1C6 0914 490B 3909 D944 F80D 4487 C67C 55EC CFE0
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 197 bytes
Desc: This is a digitally signed message part.
More information about the Olsr-dev