[Olsr-dev] [PATCH v1 0/9] Also consider link state
Ferry Huberts
(spam-protected)
Thu Feb 11 12:45:51 CET 2016
On 11/02/16 11:37, Bastian Bittorf wrote:
> * Ferry Huberts <(spam-protected)> [11.02.2016 11:15]:
>>> This series extends olsrd to also take the link state of a network interface
>>> into account when determining whether or not an interface is up or down.
>
> Thanks Ferry, can you say something about your usecase?
My use-case is that when a cable is unplugged, olsrd doesn't see this.
This hurts my sgw because when the relevant interface is chosen as an
egress interface, no new egress interface is chosen until the relevant
HELLOs etc time-out.
By adding this, olsrd immediately sees the interface going down and sgw
can immediately choose a new egress interface.
It makes it all more responsive.
> Isn't it overcomplicated? The configured *wired* interfaces
> are not "expensive" when talking about traffic. The only thing
> you safe are mid-entries in the network for down but configured
> interfaces. Is this what you intend?
>
> One problem i see is, that the up or downstate can not be
> retrieved for switches with several ports. this is a known
> issue for OpenWrt, e.g.:
>
> WAN | LAN LAN LAN LAN
> eth0.2 | eth0.1
>
> where all the LAN-ports are eth0.1 (bloody typcial...)
>
> bye, bastian
>
--
Ferry Huberts
More information about the Olsr-dev
mailing list