Development issues regarding the cerowrt test router project
 help / color / mirror / Atom feed
From: Jim Gettys <jg@freedesktop.org>
To: Dave Taht <dave.taht@gmail.com>
Cc: cerowrt-devel@lists.bufferbloat.net
Subject: Re: [Cerowrt-devel] mdns reflector issues on ipv6/babel routing through nat.
Date: Sun, 18 Mar 2012 17:27:30 -0400	[thread overview]
Message-ID: <4F665342.2080103@freedesktop.org> (raw)
In-Reply-To: <CAA93jw6nkxG62R6norzqVW8C_Db1iYv3304C9gO6355q8zOJaA@mail.gmail.com>

Oh, cool.  Broadcast storms are soooo much fun...
                - Jim


On 03/18/2012 05:24 PM, Dave Taht wrote:
> On Sun, Mar 18, 2012 at 2:22 PM, Dave Taht <dave.taht@gmail.com> wrote:
>> Once you get to a few routers, a few deep, (3 in series in this case,
>> 9 overall), the avahi mdns proxy starts to malfunction over ipv6, and
>> I ended up with a rather nasty broadcast storm.
>>
>> So I had to disable the ipv6 multicast of mdns in order to get my
>> network back in this (excessively) complex network.
>>
>> use-ipv6=no in the /etc/avahi/avahi-daemon file
>>
>> Seems to work fine, two deep. Curiously, I did not observe a similar
>> storm for ipv4...
>>
>> Now this is across like 5 different versions of cerowrt, but it would
>> not surprise me that this is a  generic problem with avahi on ipv6,
>> and/or a symptom of the brain-damaged-ness of mdns in the first place.
>>
>> use-ipv6=no
>>
>> I note that when you connect cero boxes together in a babel mesh
>> configuration, site-local multicast is not a problem, because it
>> doesn't work in the first place (by design). This can be construed as
>> an advantage (no broadcast storm), or disadvantage (mdns and
>> site-local multicast doesn't work across meshed links)
> Actually  I was wrong. I'm STILL observing a broadcast storm, AND it
> is taking place across the meshed links too.... aggggh.....
>
>> Incidentally, I don't know if anyone would purposely inflict a network
>> this complex on themselves:
>>
>> http://pastebin.com/LzeeiCXg
>>
>> but it does illustrate that a complex, automagically routed, fault
>> tolerant ipv4 and ipv6 network IS feasible, so long as all internal
>> addresses are unique.
>>
>> The biggest problem I run into is that 'failover-capable,
>> fault-tolerant routing' introduces major headaches with firewall
>> rules.
>>
>> Another thing the above paste illustrates that you can mix and match
>> ipv4 nat with ipv6 fully meshed routing.
>>
>> The box I took that trace off has babel enabled on all interfaces, and
>> has the following rule at the top of it's babeld.conf file
>>
>> out if ge00 ip 0.0.0.0/0 deny
>>
>> (as do multiple other boxes in the lab on the external network)
>>
>> this prohibits announcing ipv4 routes across the natted ge00
>> interface, but allows ipv6. In the caseof that paste, this particular
>> router has NO internal wired connections at all, it just meshes
>> internally for ipv4, and because ge00 is a higher quality (ethernet)
>> interface, babel chooses it for the default for ipv6 for most routes.
>>
>>
>>
>> --
>> Dave Täht
>> SKYPE: davetaht
>> US Tel: 1-239-829-5608
>> http://www.bufferbloat.net
>
>


  reply	other threads:[~2012-03-18 21:27 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-03-18 21:22 Dave Taht
2012-03-18 21:24 ` Dave Taht
2012-03-18 21:27   ` Jim Gettys [this message]
2012-03-18 21:30     ` Dave Taht
2012-03-18 21:35       ` Dave Taht
2012-03-19 19:41 ` Robert Bradley
2012-03-19 22:07   ` Robert Bradley
2012-03-19 22:11     ` Dave Taht
2012-03-20  0:54       ` Robert Bradley
2012-03-26 11:48         ` Robert Bradley

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=4F665342.2080103@freedesktop.org \
    --to=jg@freedesktop.org \
    --cc=cerowrt-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