Received: by oss.sgi.com id ; Wed, 29 Dec 1999 01:40:20 -0800 Received: from azure.mist.sfc.wide.ad.jp ([203.178.140.41]:37894 "EHLO v6.linux.or.jp") by oss.sgi.com with ESMTP id ; Wed, 29 Dec 1999 01:39:58 -0800 Received: from localhost (IDENT:sekiya@LOCALHOST [::ffff:127.0.0.1] (may be forged)) by v6.linux.or.jp (8.9.3+3.1W/3.3Wb4) with ESMTP id SAA02694; Wed, 29 Dec 1999 18:38:11 +0900 Date: Wed, 29 Dec 1999 18:38:03 +0900 Message-ID: From: Yuji Sekiya To: kuznet@ms2.inr.ac.ru Cc: kusune@sfc.wide.ad.jp, netdev@oss.sgi.com Subject: Re: source address selection In-Reply-To: In your message of "Thu, 16 Dec 1999 19:09:31 +0300 (MSK)" <199912161609.TAA07161@ms2.inr.ac.ru> References: <199912152351.IAA05354@wanwan.sfc.wide.ad.jp> <199912161609.TAA07161@ms2.inr.ac.ru> User-Agent: Wanderlust/2.2.12 (Joyride) SEMI/1.13.7 (Awazu) FLIM/1.13.2 (Kasanui) MULE XEmacs/21.2 (beta19) (Shinjuku) (i586-pc-linux) Organization: Information Sciences Institute MIME-Version: 1.0 (generated by SEMI 1.13.7 - "Awazu") Content-Type: text/plain; charset=US-ASCII X-Dispatcher: imput version 990604(IM116) Lines: 32 Sender: owner-netdev@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;netdev-outgoing At Thu, 16 Dec 1999 19:09:31 +0300 (MSK), kuznet@ms2.inr.ac.ru wrote: Hi, > We may make this thing in IPv4 because function inet_select_addr() > is not in data path; selected source addresses are stored in routing tables. > Correct solution would cache once found source address > in IPv6 routing table, probably, cloning route, if it is required. Hmm... I think what you say is right. But IMHO, I think that source address selection is more useful in IPv6 environment than IPv4 environment. Because IPv6 allows us to assign some IPv6 addresses to one interface, not alias interfaces. I think we use multi-address or multi-home as ordinary network environment in IPv6. If you have no plan to implement source address selection into IPv4 protocol stack, how about eating kusune's patch or implementing the feature into IPv6 stack at first ? Thanks. P.S. if you have any requests about kusune's solution, please give us advice. We will improve this patch. -- SEKIYA Yuji USC/ISI Computer Networks Division 7