> I have however a designed issue. At the moment a bash daemon periodically
> checks if the wan interface is up. If the check is positive then the mesh
> daemon
> advertise this gateway, otherwise the mesh interface is set as default
> route.

in the OLSR routing protocol implementation, we have a dynamic gateway
plugin. It checks (with policy routing) if connectivity with the
Internet is actually working, before the router advertises a default
route.

you might want to check out the code on olsr.org

Saverio
_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to