[Olsr-users] Extracting ETX of kernel route

Henning Rogge (spam-protected)
Thu Mar 12 20:10:00 CET 2015


Hi,

you have to use a plugin like the txtinfo plugin... the ETX cost is
not present in the kernel route, it is not necessary for the routing
table.

Look into the /lib/txtinfo folder.

Henning Rogge

On Thu, Mar 12, 2015 at 7:59 PM, Dan O'Keeffe <(spam-protected)> wrote:
> Hello,
> I'd like to know what the easiest way is to extract the current ETX for all
> routes in my kernel routing tables created by olsrd.
> I was hoping that olsrd would just set the metric field of the linux 'route'
> or 'ip route' command to the current ETX, but that appears to be fixed
> at 2 for all routes (I've included the output of the 'route' command below'.
> Is there any other way to get the ETX using standard linux routing commands?
> If not, does olsr provide anyway
> to query information about the current state of its routing tables? If not
> would it be possible to somehow parse the debug
> output of the routing daemon?
> Thanks a lot for any help,
> Dan
>
> Kernel IP routing table
> Destination     Gateway         Genmask         Flags Metric Ref Use Iface
> n2              n2              255.255.255.255 UGH   2 0        0 eth0
> n3              n3              255.255.255.255 UGH   2 0        0 eth0
> n5              n5              255.255.255.255 UGH   2 0        0 eth0
> n6              n6              255.255.255.255 UGH   2 0        0 eth0
> n7              n7              255.255.255.255 UGH   2 0        0 eth0
> n8              n8              255.255.255.255 UGH   2 0        0 eth0
> n9              n9              255.255.255.255 UGH   2 0        0 eth0
> n10             n10             255.255.255.255 UGH   2 0        0 eth0
> n11             n11             255.255.255.255 UGH   2 0        0 eth
>
> --
> Olsr-users mailing list
> (spam-protected)
> https://lists.olsr.org/mailman/listinfo/olsr-users




More information about the Olsr-users mailing list