[Xorp-users] Fwd: Route redistribution issue

Igor Maravić igorm at etf.rs
Mon Jul 23 04:47:07 PDT 2012


Response is inline

2012/7/23 Phil Wiggins <phil.wiggins at gmail.com>:
> The problem of redistributing 32-bit metric space to 16-bit metric space and
> vice versa still remains.  The policy tools (add, sub) are fairly crude and
> error prone for this purpose. As the network scales and goes through other
> redistributions, then this simple case becomes more complex.
>
> Suggestion #1 - Wouldn't it make more sense to have a native 'redistribute'
> command built into xorp that takes a number of policies with well-chosen
> defaults and wraps behind a single command?  Quagga has a simple
> redistribute that can be applied to rip and ospf.

I totally agree.

>
> Suggestion #2 - Further, for redistributing 16/32-bit metrics a "bit shift"
> function would be helpful for the policy tools to use.
>

This shouldn't be much of problem to implement.
Could you explain your idea in little more detail.
If I understood correctly in this case you would shift OSPF metric by
1, or 2, bits
and you would got metric that can be used by RIP?

(11 >> 1 == 5,
21 >> 1 == 10)

BR
Igor



More information about the Xorp-users mailing list