Historic archive of defunct list cerowrt-users@lists.bufferbloat.net
 help / color / mirror / Atom feed
From: Phil Pennock <cerowrt-users+phil@spodhuis.org>
To: Dave Taht <dave.taht@gmail.com>
Cc: cerowrt-users <cerowrt-users@lists.bufferbloat.net>,
	Michael Richardson <mcr@sandelman.ca>
Subject: Re: [Cerowrt-users] 6in4 links
Date: Mon, 10 Dec 2012 04:01:33 -0500	[thread overview]
Message-ID: <20121210090133.GA93886@redoubt.spodhuis.org> (raw)
In-Reply-To: <CAA93jw4HAj4frzeFtyKg8rjETRG3YkaWc3h93AK7gs6TpJzYBg@mail.gmail.com>

On 2012-12-10 at 09:47 +0100, Dave Taht wrote:
> On Mon, Dec 10, 2012 at 9:45 AM, Phil Pennock <phil.pennock@spodhuis.org> wrote:
> > On 2012-12-09 at 21:04 -0500, Michael Richardson wrote:
> >> The problem is that the interface that is created is a /128, and it's
> >> the ::2, but since it is a /128, the ::1 isn't "On-network", so the
> >> static route fails.
> >
> > Er, a /128 means there can be no route associated with it, this is used
> > typically for things like additional aliases on an interface.
> 
> Actually, we route p2p /128's via the babel protocol, and distribute
> /128s via the ahcp protocol. Works great.

I was imprecise.  Sure, with routing delegated by the kernel to a
routing daemon, you can do anything routing-wise, all bets are off.

I know you know this Dave; I'm not trying to teach you how to suck
rotten eggs, I'm clarifying my assertion.

For _static_ routes, per the OP, where you have link-layer addresses and
need to make a determination of what link-layer address should be
attached to a frame going out of an interface, a /128 does not convey
enough information.  Something needs to translate the routing
information from the user-space layer to something that can be used for
packets.  The route(8) command can not specify L2 recipient addresses.

On Linux, you can specify a peer's L2 address with ifconfig(8) or ip(8),
which can work in conjunction with a route, which might be enough for
the OP, depending upon exactly what is happening?

-Phil

      reply	other threads:[~2012-12-10  9:01 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-12-10  2:04 Michael Richardson
2012-12-10  8:20 ` Dave Taht
2012-12-10  8:45 ` Phil Pennock
2012-12-10  8:47   ` Dave Taht
2012-12-10  9:01     ` Phil Pennock [this message]

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=20121210090133.GA93886@redoubt.spodhuis.org \
    --to=cerowrt-users+phil@spodhuis.org \
    --cc=cerowrt-users@lists.bufferbloat.net \
    --cc=dave.taht@gmail.com \
    --cc=mcr@sandelman.ca \
    /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