Re: [mif] I won't be in Taipei for MIF WG
<teemu.savolainen@nokia.com> Fri, 28 October 2011 08:07 UTC
Return-Path: <teemu.savolainen@nokia.com>
X-Original-To: mif@ietfa.amsl.com
Delivered-To: mif@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 6337621F8AF4 for <mif@ietfa.amsl.com>; Fri, 28 Oct 2011 01:07:11 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.968
X-Spam-Level:
X-Spam-Status: No, score=-2.968 tagged_above=-999 required=5 tests=[AWL=0.631, BAYES_00=-2.599, RCVD_IN_DNSWL_LOW=-1]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id FESyVGppCeg8 for <mif@ietfa.amsl.com>; Fri, 28 Oct 2011 01:07:10 -0700 (PDT)
Received: from mgw-da01.nokia.com (smtp.nokia.com [147.243.128.24]) by ietfa.amsl.com (Postfix) with ESMTP id 78F6A21F8AEE for <mif@ietf.org>; Fri, 28 Oct 2011 01:07:10 -0700 (PDT)
Received: from vaebh106.NOE.Nokia.com (vaebh106.europe.nokia.com [10.160.244.32]) by mgw-da01.nokia.com (Switch-3.4.4/Switch-3.4.4) with ESMTP id p9S874ew027967; Fri, 28 Oct 2011 11:07:07 +0300
Received: from smtp.mgd.nokia.com ([65.54.30.5]) by vaebh106.NOE.Nokia.com over TLS secured channel with Microsoft SMTPSVC(6.0.3790.4675); Fri, 28 Oct 2011 11:07:01 +0300
Received: from 008-AM1MMR1-002.mgdnok.nokia.com (65.54.30.57) by NOK-am1MHUB-01.mgdnok.nokia.com (65.54.30.5) with Microsoft SMTP Server (TLS) id 8.2.255.0; Fri, 28 Oct 2011 10:07:00 +0200
Received: from 008-AM1MPN1-037.mgdnok.nokia.com ([169.254.7.120]) by 008-AM1MMR1-002.mgdnok.nokia.com ([65.54.30.57]) with mapi id 14.01.0339.002; Fri, 28 Oct 2011 10:06:59 +0200
From: teemu.savolainen@nokia.com
To: alexandru.petrescu@gmail.com, Ted.Lemon@nominum.com
Thread-Topic: I won't be in Taipei for MIF WG
Thread-Index: AQHMgTbgybDGuofRrUmCzA1VPuKH9pWP69EAgAAd4QCAABgngIAAHVSAgABFvLiAAAp8MA==
Date: Fri, 28 Oct 2011 08:06:59 +0000
Message-ID: <916CE6CF87173740BC8A2CE44309696203792B9B@008-AM1MPN1-037.mgdnok.nokia.com>
References: <4E88B6EF.9050800@gmail.com> <COL118-W23789C049B5BE989F7B721B1D20@phx.gbl> <4EA93870.4020302@gmail.com> <4EA94CB3.5090606@gmail.com> <4EA9654D.2010506@gmail.com> <4EA96BCA.204@gmail.com> <E6AE72A6-B520-475D-BC3C-27567745D1C0@nominum.com> <4EA98398.5010901@gmail.com>
In-Reply-To: <4EA98398.5010901@gmail.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-tituslabs-classifications-30: TLPropertyRoot=Nokia; Confidentiality=Company Confidential; Project=None;
x-titus-version: 3.3.8.1
x-headerinfofordlp: None
x-tituslabs-classificationhash-30: VgNFIFU9Hx+/nZJb9Kg7IpQXDHt1zk6X9/SfGRWWDsRJk7rmELM52TQMlD/w5WK9K27zeZmGPyS3FOnTIEQDK5jS55UQumwz+iBF0K0p1sbVXICJ53WBGjsb/wpFrV2czDl5/Rm2zYvGRGGyhXG0vEjLhWm4KnM2rDCA0R472ujiN9ALdHeM1kUxk5k+ywfd3iDsnDpS93Y+neLYAHvSARSNezLNlrw17Z2gaiq7xFsNPEudFZlVQj08eA0JcD3M
x-originating-ip: [10.162.62.61]
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-OriginalArrivalTime: 28 Oct 2011 08:07:01.0060 (UTC) FILETIME=[923DA840:01CC9548]
X-Nokia-AV: Clean
Cc: mif@ietf.org, margaretw42@gmail.com, maximouton@gmail.com, denghui02@hotmail.com
Subject: Re: [mif] I won't be in Taipei for MIF WG
X-BeenThere: mif@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: Multiple Interface Discussion List <mif.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/mif>, <mailto:mif-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/mif>
List-Post: <mailto:mif@ietf.org>
List-Help: <mailto:mif-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/mif>, <mailto:mif-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 28 Oct 2011 08:07:11 -0000
> > There is no rough consensus for your proposal, Alexandru. > > And is there running code for route-option? At the IETF#79 we had demonstration of our client side implementation (using ISC's DHCP-client) done with Nokia N900 against NTT's implementation of the DHCPv6 server: http://www.ietf.org/registration/MeetingWiki/wiki/79bofs (see section " Interoperability demonstration regarding IPv6 Multihoming with multiple prefixes and interfaces"). In addition to that, in my lab I configured ISC's DHCP-4.2.0 server with the following configuration (masquerading real addresses with 'x'). The unassigned option code 92 refers to DNS server selection option (as was specified in draft-savolainen-mif-dns-server-selection-04) and unassigned code 93 for DHCPv6 option (as was specified in draft-dec-dhcpv6-route-option-05). I had to use "string" type for OPTION-IA-RT as the grammar for some reason (bug or not-yet-implemented or my lack of skill, don't recall which) did not work with options having multiple sub-options. Please note that all option codes are just "random numbers" selected for implementation. -- option dhcp6.option-dns-server-selection-policy code 92 = { ip6-address, integer 8, domain-list }; option dhcp6.option-ia-rt code 93 = string; subnet6 2001:xxx:xxx:42::/64 { option dhcp6.name-servers 2001:xxxx:xxxx:xx::x; option dhcp6.option-dns-server-selection-policy 2001:xxxx:xxxx:xxxx::x 00 "nokia.com", "ovi.com"; option dhcp6.option-ia-rt 00:01:00:3C: // OPTION_NEXT_HOP + len 00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00: // next hop address 00:01:00:12: // OPTION_RT_PREFIX + len 60:01: // Prefix Length + metric 64:FF:9B:00:00:00:00:00:00:00:00:00:00:00:00:00: // Prefix 00:01:00:12: // OPTION_RT_PREFIX + len 30:02: // Prefix Length + metric 2A:00:xx:xx:xx:xx:00:00:00:00:00:00:00:00:00:00: // Prefix 00:01:00:26: // OPTION_NEXT_HOP + len 00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00: // Next Hop address 00:01:00:12: // OPTION_RT_PREFIX + len 00:00: // Prefix Length + metric 00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00 // Prefix == default route -- The point here is that the option could be defined without touching server's source code (or scripts) and I imagine some GUI-based configuration creation tool could also use the string-format without trouble. The ISC's client side implementation was similarly unable to parse the sub-options, hence I used "string" also there: -- option dhcp6.option-dns-server-selection-policy code 92 = { ip6-address, integer 8, domain-list }; option dhcp6.option-ia-rt code 93 = string; -- I admit that on the client side I had to do quite many lines of scripting into "dhclient-enter-hooks" for fetching the data out of the said string. I also had to modify the C-code of the client to fetch the IPv6 address of the DHCP server, as that was not provided by the ISC DHCP client via any environment variable (this was needed for this case: --copy-- When processing a received Route Option a client MUST substitute a received 0::0 value in the Next Hop Option with the source IPv6 address of the received DHCPv6 message. --copy-- Of course I then needed some addition code for implementing all the actions received information triggered (setting up routes etc), but I guess that part is out of scope of this thread. The dhclient-enter-hooks script actually called a small program that did the actual tricks: -- /usr/sbin/parse_ia_rt $new_dhcp6_option_ia_rt $interface $dhcpv6_server_address -- Best regards, Teemu
- Re: [mif] I won't be in Taipei for MIF WG Alexandru Petrescu
- Re: [mif] I won't be in Taipei for MIF WG Ted Lemon
- Re: [mif] I won't be in Taipei for MIF WG Alexandru Petrescu
- Re: [mif] I won't be in Taipei for MIF WG Alexandru Petrescu
- Re: [mif] mif route implementation Hui Deng
- Re: [mif] I won't be in Taipei for MIF WG teemu.savolainen
- Re: [mif] mif route implementation Alexandru Petrescu
- Re: [mif] route-option implementation Alexandru Petrescu