From: Hugo Santos <hsantos@av.it.pt>
To: Ville Nuorvala <vnuorval@tcs.hut.fi>
Cc: "David S. Miller" <davem@davemloft.net>,
YOSHIFUJI Hideaki / ???????????? <yoshfuji@linux-ipv6.org>,
netdev@vger.kernel.org
Subject: Re: [RFC] Mobile IPv6 introduction
Date: Wed, 2 Aug 2006 12:03:38 +0100 [thread overview]
Message-ID: <20060802110338.GO8334@innerghost.net> (raw)
In-Reply-To: <44D05B39.5080608@tcs.hut.fi>
[-- Attachment #1: Type: text/plain, Size: 2261 bytes --]
Hi Ville,
On Wed, Aug 02, 2006 at 10:58:49AM +0300, Ville Nuorvala wrote:
> To name just one issue: the chicken and egg problem of source address
> selection and source address based routing. I solved this problem by
> letting policy rules (with a source prefix) add additional constraints
> to the address selection. This did however mean the source address
> selection had to be moved inside the routing code.
To tell you the truth i don't know what MIPL does in terms of policy
management. In my implementation, all routing policies go into
Subtrees without any kind of extra routing tables. I also had the
problem you describe, but i opted for what i think is a simpler
solution:
- Access router default routes are installed with a source-address,
the address that was generated from the announced prefix (which to
be fair degenerates to several entries if a single router announces
multiple prefixes). This is based on the assumption that access
routers do perform source-based ingress filtering so you may only
use a particular access router for global connectivity using a
particular address.
- The default home route is installed without a source-address for
the "default" Home address (i may have several).
This means Linux's source address selection works without
modifications: if no address is specified, it will pick the default
home route and then the Home address (which has a preference as well).
In this sense, subtrees have worked fine for me.
> But route optimization is just one form of packet transform; it just
> adds a Routing Header type 2 and/or Home Address Option Destination
> Header to the outgoing packet. Isn't xfrm just the right place for this?
>
> You are right that we (HUT and USAGI) have mostly just looked at the
> xfrm framework from a MIPv6+IPsec perspective, but even this has helped
> us pinpoint several shortcomings in the current only IPsec specific
> framework.
XFRM is indeed the right place for this; i just would rather not have
the mode exposed and prefer wrapping any mode-specific stuff into
optional callbacks. It might not be as performant but would allow
adding new modes more easily.
Hugo
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
next prev parent reply other threads:[~2006-08-02 11:03 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-07-29 9:23 [RFC] Mobile IPv6 introduction Masahide NAKAMURA
2006-07-29 9:28 ` [PATCH 0/23][XFRM] MIPv6 CN introduction (part A) (Re: [RFC] Mobile IPv6 introduction) Masahide NAKAMURA
2006-07-29 9:37 ` [PATCH 0/20][IPV6/XFRM] MIPv6 CN (part B) Masahide NAKAMURA
2006-08-02 0:30 ` David Miller
2006-08-02 8:26 ` Masahide NAKAMURA
2006-07-29 14:12 ` [RFC] Mobile IPv6 introduction Hugo Santos
2006-08-02 0:35 ` David Miller
2006-08-02 0:58 ` Hugo Santos
2006-08-02 1:04 ` David Miller
2006-08-02 1:52 ` YOSHIFUJI Hideaki / 吉藤英明
2006-08-02 7:58 ` Ville Nuorvala
2006-08-02 11:03 ` Hugo Santos [this message]
2006-08-02 3:24 ` Masahide NAKAMURA
2006-08-02 10:47 ` Hugo Santos
2006-08-02 13:03 ` Masahide NAKAMURA
2006-08-02 21:14 ` 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=20060802110338.GO8334@innerghost.net \
--to=hsantos@av.it.pt \
--cc=davem@davemloft.net \
--cc=netdev@vger.kernel.org \
--cc=vnuorval@tcs.hut.fi \
--cc=yoshfuji@linux-ipv6.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.