[Olsr-dev] feature request for on demand interface discovery

Ferry Huberts (spam-protected)
Tue May 6 14:11:24 CEST 2014


Why do you run olsr over vpn?
IMHO there is no need to do that, ever.

Upon vpn client connection you can easily setup static routes, and 
remove them when the client is disconnected.

On 06/05/14 13:55, cstorch wrote:
> hi there,
>
> we have a pretty special setup here at Freifunk Weimar - "Weimarnetz".
> Our root server is our vpn gateway for internet providing dsl gateways.
>
> There is olsr version
> "(spam-protected):~$ olsrd -v
>   *** olsr.org -
> 0.6.6.1-git_0000000-hash_6fed9f54908463039e59671dc6de44c8 ***
>   Build date: 2013-12-05 15:48:04 on weimar2
>   http://www.olsr.org"
> running.
>
> To keep our vpn setup easy we configured 1000 tap interfaces, one for
> each possible vpn client. The olsr config contains also 1000 taps.
>
> When olsr is startet, the load of the server goes up to "2". (it is a vm
> on multicore xeon with enough memory)
>
> We did some analysis with strace:
> 4:24:56.186377 ioctl(3, SIOCGIFFLAGS, {ifr_name="tap635", ???}) = -1
> ENODEV (No such device)
> this is repeated for all interfaces and takes 12seconds to complete.
> After (NicChgsPollInt) the interface discovery is repeated.
>
> Our idea is to switch off the "NicChgsPollInt" and use some kind of
> "kill -USR1  pidof olsrd" (like for dd) to trigger a interface discovery.
>
> What is your opinion?
>
> cstorch
>

-- 
Ferry Huberts




More information about the Olsr-dev mailing list