Development issues regarding the cerowrt test router project
 help / color / mirror / Atom feed
From: Juliusz Chroboczek <jch@pps.jussieu.fr>
To: Denis Ovsienko <infrastation@yandex.ru>
Cc: babel-users <babel-users@lists.alioth.debian.org>,
	cerowrt-devel <cerowrt-devel@lists.bufferbloat.net>
Subject: [Cerowrt-devel] IPv6 RA and RTPROT_whatever [was: switching cerowrt to quagga-babeld issues]
Date: Fri, 06 Jul 2012 18:52:58 +0200	[thread overview]
Message-ID: <7i62a0x251.fsf_-_@lanthane.pps.jussieu.fr> (raw)
In-Reply-To: <572331341592607@web3g.yandex.ru> (Denis Ovsienko's message of "Fri, 06 Jul 2012 20:36:47 +0400")

> There is a kernel patch attached, which should fix the issue with IPv6
> default route delivery in CeroWrt (it does fix it on my PC).

I'm a little bit confused.

RAs are supposed to be ignored by routers -- the RFCs are very clear on
that.  Linux obeys the RFCs, it will disable accept_ra when forwarding
is set on an interface.

Now there's a race condition -- if the RA was accepted before the
routing daemon set the forwarding knob, then the default route will
remain.  However, it will not be renewed -- when the RA expires, you'll
lose your default route.

The workaround to this race condition is to have the routing daemon
ignore RA-originated routes.  This is traditionally done by making such
routes RTPROT_BOOT and ignoring such routes in the routing daemon (and
installing routing-protocol-originated routes with a lower metric).

So am I'm confused, or is marking RA-originated routes as anything else
than RTPROT_BOOT exactly the wrong thing to do?

-- Juliusz



  reply	other threads:[~2012-07-06 16:53 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <CAA93jw40kiOwDnOzG-_jUn7nKpky59bNBTec8ynjVwJJhKxr0Q@mail.gmail.com>
     [not found] ` <2187151341044351@web9d.yandex.ru>
     [not found]   ` <7isjdcpm1q.fsf@lanthane.pps.jussieu.fr>
     [not found]     ` <40851341093226@web25d.yandex.ru>
     [not found]       ` <7ik3yoz7p2.fsf@lanthane.pps.jussieu.fr>
     [not found]         ` <CAA93jw5p9EqoK09Y_AXaHG_DfH-u_QDYU_FKOK_hhxBRDcuqAA@mail.gmail.com>
     [not found]           ` <1521341229978@web13h.yandex.ru>
2012-07-02 15:36             ` [Cerowrt-devel] [Babel-users] switching cerowrt to quagga-babeld issues Dave Taht
2012-07-02 16:16               ` L. Aaron Kaplan
2012-07-02 16:44                 ` Dave Taht
2012-07-02 16:54                   ` L. Aaron Kaplan
2012-07-02 17:13                 ` [Cerowrt-devel] DLEP [was: switching cerowrt to quagga-babeld issues] Juliusz Chroboczek
2012-07-02 17:36                   ` [Cerowrt-devel] [Babel-users] " Henning Rogge
2012-07-02 19:50                   ` [Cerowrt-devel] " L. Aaron Kaplan
2012-07-02 20:54               ` [Cerowrt-devel] [Babel-users] switching cerowrt to quagga-babeld issues Denis Ovsienko
2012-07-03  8:10                 ` Denis Ovsienko
2012-07-03 12:35                   ` Denis Ovsienko
2012-07-03 12:47                     ` Gabriel Kerneis
2012-07-03 13:18                     ` Dave Taht
2012-07-03 14:14                       ` [Cerowrt-devel] " Denis Ovsienko
2012-07-06 16:36                         ` [Cerowrt-devel] [Babel-users] " Denis Ovsienko
2012-07-06 16:52                           ` Juliusz Chroboczek [this message]
2012-07-03 19:17                       ` Jim Gettys
2012-07-06 16:59                       ` David Lamparter
2012-07-07 15:53                         ` dpreed
2012-07-03 15:28                     ` Robert Bradley
2012-07-03 15:55                       ` Robert Bradley
2012-07-04 11:34               ` Denis Ovsienko
2012-07-05 14:15                 ` dpreed

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

  List information: https://lists.bufferbloat.net/postorius/lists/cerowrt-devel.lists.bufferbloat.net/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=7i62a0x251.fsf_-_@lanthane.pps.jussieu.fr \
    --to=jch@pps.jussieu.fr \
    --cc=babel-users@lists.alioth.debian.org \
    --cc=cerowrt-devel@lists.bufferbloat.net \
    --cc=infrastation@yandex.ru \
    /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