From: Juliusz Chroboczek <jch@pps.jussieu.fr>
To: Dave Taht <dave.taht@gmail.com>
Cc: bloat-devel@lists.bufferbloat.net, babel-users@lists.alioth.debian.org
Subject: Re: battling with babel and route changes
Date: Wed, 22 Jun 2011 15:39:43 +0200 [thread overview]
Message-ID: <7ipqm6c7ds.fsf@lanthane.pps.jussieu.fr> (raw)
In-Reply-To: <BANLkTi=mPugjEbNhL4GkUAFfFX8pOJvRwg@mail.gmail.com> (Dave Taht's message of "Sun, 19 Jun 2011 07:44:53 -0600")
[Added babel-users to the CC, with permission from Dave.]
> 0) babel keeps all the routing information in it's head. It does not
> use the kernel metrics in particular:
Yes. That's by design.
The ``kernel metric'' is something of a misnomer: it's not a metric,
it's better understood as a priority. It's only useful to discriminate
between routes with the same destination that are installed by different
routing protocols. It's analogous to what Cisco call the ``Administrative
Distance''.
You can choose the kernel priority used by Babel with the -k command-line
option. If you need finer-grained control on routing than possible
with -k alone, -t and -T together with ``ip table'' and friends are what
you need.
A patch to reflect the metric in the kernel priority has been published
on this list at some point; I'll not be merging it into Babel, since
I remain convinced that that's the wrong thing to do.
> 1) babel installs ipv4 routes with a metric of 0, ipv6 routes with a
> metric of 1024
These are apparently the kernel's defaults -- we call the kernel with
the value 0 in both cases. You can set the priority with -k (but cannot
set it to be different between v4 and v6), and if you need any more
control, use routing tables (-t and -T).
-- Juliusz
next prev parent reply other threads:[~2011-06-22 13:43 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-06-19 13:44 Dave Taht
2011-06-22 13:39 ` Juliusz Chroboczek [this message]
2011-06-22 17:04 ` Dave Taht
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=7ipqm6c7ds.fsf@lanthane.pps.jussieu.fr \
--to=jch@pps.jussieu.fr \
--cc=babel-users@lists.alioth.debian.org \
--cc=bloat-devel@lists.bufferbloat.net \
--cc=dave.taht@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox