Discussion:
Adjustable routing table metric
Teco Boot
2014-06-11 07:22:51 UTC
Permalink
We have a fixed value 2 for FIB metric.

routing_table.h:
#define RT_METRIC_DEFAULT 2

I need some room for multiple local default gateways and want to use lower meric values for them. So I want to configure the olsr default.
Create new parameter, something like:

# FIBMetric "flat"
# FIBMetricDefault "2"

I would use:

FIBMetricDefault "10"


Thanks, Teco
--
Olsr-dev mailing list
Olsr-***@lists.olsr.org
https://lists.olsr.org/mailman/listinfo/olsr-dev
Henning Rogge
2014-06-11 08:24:41 UTC
Permalink
As long as the default stays "2" it should be okay.

Henning
Post by Teco Boot
We have a fixed value 2 for FIB metric.
#define RT_METRIC_DEFAULT 2
I need some room for multiple local default gateways and want to use lower meric values for them. So I want to configure the olsr default.
# FIBMetric "flat"
# FIBMetricDefault "2"
FIBMetricDefault "10"
Thanks, Teco
--
Olsr-dev mailing list
https://lists.olsr.org/mailman/listinfo/olsr-dev
--
Olsr-dev mailing list
Olsr-***@lists.olsr.org
https://lists.olsr.org/mailman/listinfo/olsr-dev
Teco Boot
2014-06-11 21:10:05 UTC
Permalink
Pushed a patch. Tested on couple of nodes.

SmartGateway is grown up. Multi tunnel mode works great, I use it in production.

Teco
Post by Henning Rogge
As long as the default stays "2" it should be okay.
Henning
Post by Teco Boot
We have a fixed value 2 for FIB metric.
#define RT_METRIC_DEFAULT 2
I need some room for multiple local default gateways and want to use lower meric values for them. So I want to configure the olsr default.
# FIBMetric "flat"
# FIBMetricDefault "2"
FIBMetricDefault "10"
Thanks, Teco
--
Olsr-dev mailing list
https://lists.olsr.org/mailman/listinfo/olsr-dev
--
Olsr-dev mailing list
Olsr-***@lists.olsr.org
https://lists.olsr.org/mailman/listinfo/olsr-dev
Ferry Huberts
2014-06-12 06:23:08 UTC
Permalink
Post by Teco Boot
Pushed a patch. Tested on couple of nodes.
SmartGateway is grown up. Multi tunnel mode works great, I use it in production.
Already told Henning this privately.
However, we still need to move some code from one of our daemons into
olsrd. And we currently have no time plan for this because of other
priorities.
Post by Teco Boot
Teco
Post by Henning Rogge
As long as the default stays "2" it should be okay.
Henning
Post by Teco Boot
We have a fixed value 2 for FIB metric.
#define RT_METRIC_DEFAULT 2
I need some room for multiple local default gateways and want to use lower meric values for them. So I want to configure the olsr default.
# FIBMetric "flat"
# FIBMetricDefault "2"
FIBMetricDefault "10"
Thanks, Teco
--
Olsr-dev mailing list
https://lists.olsr.org/mailman/listinfo/olsr-dev
--
Ferry Huberts
--
Olsr-dev mailing list
Olsr-***@lists.olsr.org
https://lists.olsr.org/mailman/listinfo/olsr-dev
Loading...