Re: [patch]: ipv6 tunnel for MIPv6
From: Ville Nuorvala <hidden>
Date: 2003-06-05 12:40:53
On Thu, 5 Jun 2003, YOSHIFUJI Hideaki / [iso-2022-jp] $B5HF#1QL@(B wrote:
In article [ref] (at Wed, 04 Jun 2003 17:30:30 +0300), Henrik Petander [off-list ref] says:quoted
2. Source address based routingI'm not sure why you need this (and tunnel) for MIP... Would you clearify for me? (IMHO, I believe we don't need this change if we use XFRM engine.)
A few comments about the tunnels: Can you run link-scope protocols over an XFRM tunnel? The MIPv6 spec more or less requires this feature if you are to support protocols like DHCPv6 and MLD. (See eg. sections 8.5, 10.4.3 and 10.4.4 in the MIPv6 draft 22). The only way to get them to work is AFAICS that there is a virtual net_device associated with every tunnel. Are XFRM tunnels like this? At least they didn't seem to be, based on the xfrm6_tunnel patch sent to netdev last week... If the tunnels aren't separate devices I can straight away think of one scenario where we run into trouble. 1. MN receives RA with M or O flags set from a router on the foreign link. 2. MN receives a MPA with M or O flags set from HA. In the first case the DHCP queries should be sent to the current link the MN is attached to, in the latter to the HA. I dont see any way for the MN to separate these two cases while sending the DHCP queries, _unless_ they are sent through different interfaces (i.e. the physical vs the virtual tunnel interface). On a more general note, the driver I sent aims to provide provide a completely RFC 2473 compliant tunnel interface. :) Things (at the moment) missing from the xfrm6_tunnel are at least: - tunnel encapsulation limit destination sub-option support - forwarding of ICMP errors to the original source of the packet - transparent fragmentation of packets if MTU minus size of tunnel headers less than IPV6_MIN_MTU - ability to configure things like traffic class and flowlabel of encapsulating ipv6 header Perhaps we could make feature complete ip6ip6 tunnels if we combined xfrm6_tunnel and ip6_tunnel? :) Regards, Ville -- Ville Nuorvala Research Assistant, Institute of Digital Communications, Helsinki University of Technology email: vnuorval@tcs.hut.fi, phone: +358 (0)9 451 5257