Netdev List
 help / color / mirror / Atom feed
From: "Rémi Denis-Courmont" <remi@remlab.net>
To: Sascha Hlusiak <contact@saschahlusiak.de>
Cc: netdev@vger.kernel.org
Subject: Re: [PATCH] sit: 6to4: honour routing table
Date: Mon, 24 Aug 2009 08:37:08 +0200	[thread overview]
Message-ID: <3324b33c97aa3dba56e96b187db30042@chewa.net> (raw)
In-Reply-To: <1250938072-5577-1-git-send-email-contact@saschahlusiak.de>


On Sat, 22 Aug 2009 12:47:52 +0200, Sascha Hlusiak
<contact@saschahlusiak.de> wrote:
> Using only the actual destination address to determine the IPv4 target in
> try_6to4(&iph6->daddr) seems wrong to me and breaks, if a 6to4 address is
> the next-hop, like ::192.88.99.1 written as 6to4:
> 
> default via 2002:c058:6301:: dev 6to4
> 
> A package to 2001:: would fall through the try_6to4 check to the
> IPv4-compat check and die there.

I don't understand what you're trying to fix. For a 6to4 tunnel, this has
always worked fine for me, as far as I remember:
default via ::192.88.99.1 dev 6to4

> This patch makes try_6to4 use the address of the Next-Hop instead,
> respecting
> the routing table. Users are encouraged to have a route 2002::/16 to the
> tunnel device anyway, making all other 6to4 hosts direct neighbours.

And where exactly is that "encouragement" coming from?

-- 
Rémi Denis-Courmont


  parent reply	other threads:[~2009-08-24  6:37 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-08-22 10:47 [PATCH] sit: 6to4: honour routing table Sascha Hlusiak
2009-08-24  2:05 ` David Miller
2009-08-24  6:37 ` Rémi Denis-Courmont [this message]
     [not found]   ` <200908241148.17012.contact@saschahlusiak.de>
     [not found]     ` <f40a9bc1410c815bf1932e27086162d8@chewa.net>
2009-08-29  6:55       ` David Miller

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=3324b33c97aa3dba56e96b187db30042@chewa.net \
    --to=remi@remlab.net \
    --cc=contact@saschahlusiak.de \
    --cc=netdev@vger.kernel.org \
    /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