Jason.Sigurdur at aspenview
Jan 10, 2006, 11:23 AM
Post #9 of 12
Hi, for the 'ip ospf cost' it was 15 not 25.
Thank you for clearing things up.
From: Paul Jakma [mailto:paul [at] clubi]
Sent: Tuesday, January 10, 2006 11:19 AM
To: Jason Sigurdur
Cc: quagga-users [at] lists
Subject: Re: [quagga-users 6278] Re: (no subject)
On Tue, 10 Jan 2006, Jason Sigurdur wrote:
> Hi, thanks you for the quick reply.
> I figured out my problem. A metric of '10' is given to each
> Fast-Ethernet interface, therefore the metric from a to b would be
It'd be 10.
> Originally the secondary tunnel interface has a metric of 30 which
> would be a equal metric from a(10) -> b(10) -> c(10) '30' . So I
> changed my 'ip ospf cost' to 25. This seemed to work. Am I correct
> with this assumption?
No, because the cost for C's link doesnt factor into it.
a(10)->b(10)->c(10): a->b + b->c is 10+10 = 20.
The direct a->b link is just 10.
So, if you'd prefer the secondary link to be used over a 'via
neighbour' path, you should set its cost to 15 probably.
> Just one more question. I also noticed that all my p-to-p routes
> have 'equalize' beside them when doing an 'ip route';
Yeah, that's some kind of Linux netlink ECMP flag (it's supposed to
make packets hitting route do per-packet ECMP, rather than per-flow,
but apparently it isn't implemented - it does nothing). We don't set
that flag in 0.99 anymore.
> there is no nexthop because the other route has a higher metric?
I don't understand this question. There should always be a nexthop
(or multiple ones, if an ECMP route). Are you maybe doing 'ip route |
grep <prefix>', ECMP routes will have the nexthops on seperate lines.
> Is this because there are two possible routes to the same network?
If there are two nexthops, then yes, because there are two possible
> In this case only one being used at a time.
Not completely sure about what you mean here either. If you mean
you've observed packets only going out via one of the nexthops, it's
likely because of flow-caching, each flow will use the same nexthop.
Try setting up more flows.
What exactly constitutes a flow on Linux, i'm not sure.
> Thx jason
Paul Jakma paul [at] clubi paul [at] jakma Key ID: 64A2FF6A
Dying is a very dull, dreary affair. My advice to you is to have
nothing whatever to do with it.
-- W. Somerset Maughm, his last words
Quagga-users mailing list
Quagga-users [at] lists