Re: [Softwires] I-D Action: draft-ietf-softwire-map-12.txt
Ole Troan <otroan@employees.org> Mon, 09 March 2015 08:09 UTC
Return-Path: <otroan@employees.org>
X-Original-To: softwires@ietfa.amsl.com
Delivered-To: softwires@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id B27691A8035 for <softwires@ietfa.amsl.com>; Mon, 9 Mar 2015 01:09:06 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.411
X-Spam-Level:
X-Spam-Status: No, score=-1.411 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, J_CHICKENPOX_41=0.6, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01] autolearn=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id nxet1ZZSL8sC for <softwires@ietfa.amsl.com>; Mon, 9 Mar 2015 01:09:02 -0700 (PDT)
Received: from banjo.employees.org (banjo.employees.org [IPv6:2001:1868:205::19]) (using TLSv1 with cipher ADH-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 408371A7013 for <softwires@ietf.org>; Mon, 9 Mar 2015 01:09:02 -0700 (PDT)
Received: from banjo.employees.org (localhost [127.0.0.1]) by banjo.employees.org (Postfix) with ESMTP id EAF6862F5; Mon, 9 Mar 2015 01:09:00 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=employees.org; h=subject :mime-version:content-type:from:in-reply-to:date:cc:message-id :references:to; s=selector1; bh=S8RDVtTMq4B3/ltq2L5L4pgwDUw=; b= kU/BqzjXIAF+VF6J4ZzoWIfB+jp0xdUKncp4wllGy91Dm+FAgd3eIWOlTS+nYvS1 TqFSetKpIR1alODJQUCA7CDiWOxSt7chz4NTg7h59WpKeVP4eq0I7db30OlgKboW 2Wsqdd4LTET2EF/BQTERJED1D1pA5tKJbCHuje5bS8Q=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=employees.org; h=subject :mime-version:content-type:from:in-reply-to:date:cc:message-id :references:to; q=dns; s=selector1; b=pJ594DLwnH4y0pZqJiwEDCn0fC s+tLDud5xzv7/2SlS1p5IJXhDerXibnkvEoFDgAhPBweewdWoFvz/eVEMfjuKbYz 0I12kNuXcMrr1JIPQ15k98DGzq5z9bHlo1MuNn8kBPey6L7qTo6Y25PQSs8Mz/od ek0PBgpoBPtRZdxDs=
Received: from gomlefisk.localdomain (173-38-208-170.cisco.com [173.38.208.170]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: otroan) by banjo.employees.org (Postfix) with ESMTPSA id 71BA362C4; Mon, 9 Mar 2015 01:09:00 -0700 (PDT)
Received: from [IPv6:::1] (localhost [IPv6:::1]) by gomlefisk.localdomain (Postfix) with ESMTP id 7207B400A289; Mon, 9 Mar 2015 09:08:59 +0100 (CET)
Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2087\))
Content-Type: multipart/signed; boundary="Apple-Mail=_26E864EA-D10D-4D30-A7FF-D50685559B7A"; protocol="application/pgp-signature"; micalg="pgp-sha512"
X-Pgp-Agent: GPGMail 2.5b5
From: Ole Troan <otroan@employees.org>
In-Reply-To: <54fd5240.cd1e6b0a.6adc.fffff505@mx.google.com>
Date: Mon, 09 Mar 2015 09:08:58 +0100
Message-Id: <1E77D618-FBE6-499A-B031-858109DD58A2@employees.org>
References: <20141124073912.16300.97956.idtracker@ietfa.amsl.com> <54e056b8.0d886b0a.535d.ffffcb06@mx.google.com> <E56786E3-FE1C-4961-A0A1-408B5BAF0854@employees.org> <54f96531.013c320a.2d94.1638@mx.google.com> <6543D1BD-B62A-4502-BBA2-9E7242CC1E4E@employees.org> <54fd5240.cd1e6b0a.6adc.fffff505@mx.google.com>
To: Leaf Yeh <leaf.yeh.sdo@gmail.com>
X-Mailer: Apple Mail (2.2087)
Archived-At: <http://mailarchive.ietf.org/arch/msg/softwires/gMyH0RFyJfBwxtXFbOF1wB6Zojs>
Cc: softwires@ietf.org
Subject: Re: [Softwires] I-D Action: draft-ietf-softwire-map-12.txt
X-BeenThere: softwires@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: softwires wg discussion list <softwires.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/softwires>, <mailto:softwires-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/softwires/>
List-Post: <mailto:softwires@ietf.org>
List-Help: <mailto:softwires-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/softwires>, <mailto:softwires-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 09 Mar 2015 08:09:06 -0000
Leaf, > #15. One more question, > > in Fig.2 of sec. 5.1 & Fig.9 of sec. B.1, the draft uses k-bits to stand for the field of PSID, > but in Fig.6 of sec.5.2 & Fig.7 of sec.5.3, the draft uses q-bits to stand for the field of PSID, > > why don't we use the same name, k-bits or q-bits, for PSID? we could have. I can’t recall now, why we chose to use a different tag for the field in the BMR. I don’t want to take the risk of changing it. I hope to get -13 published with some of your other corrections and another clarification from Ian. the dead line for that is today. then if Ted approves the changes he will pass it onto the RFC Editor. cheers, Ole > -----Original Message----- > From: Leaf Yeh [mailto:leaf.yeh.sdo@gmail.com] > Sent: Monday, March 09, 2015 11:26 AM > To: 'Ole Troan' > Cc: 'Suresh Krishnan'; 'Ted Lemon'; 'softwires@ietf.org' > Subject: RE: [Softwires] I-D Action: draft-ietf-softwire-map-12.txt > > Ole - that’s what n/a, null, 0, 0 is meant to indicate. > > Null !=0, right? > > > Ole - again, we wanted to be explicit with regards to the PSID and point out how it contrasts with the other examples. > > But the same words on the 'IPv4 address and PSID' looks a little vague. The difference between example 4 & 5 is only about the PSID part. > > > Ole - probably, but I don’t want to invent any new algorithm at this point. ;-) > > I haven't propose any new algorithm other than the GMA defined in Appendix. > I just hope we could drop more words on how to use it better. > > > Best Regards, > Leaf > > > > -----Original Message----- > From: Ole Troan [mailto:otroan@employees.org] > Sent: Saturday, March 07, 2015 3:58 AM > To: Leaf Yeh > Cc: Suresh Krishnan; Ted Lemon; softwires@ietf.org > Subject: Re: [Softwires] I-D Action: draft-ietf-softwire-map-12.txt > > Leaf, > >> Leaf - In sec. 11 >>> “ They cannot >>> exist with MAP because each BRs checks that the IPv6 source >>> address of a received IPv6 packet is a CE address based on >>> Forwarding Mapping Rule. ” >> Leaf - but my point was 'each BR (note that we don't need 's' here.) checks that whether the IPv6 source address of a received IPv6 packet is a CE address based on Basic Mapping Rule, not Forwarding Mapping Rule.', right? >> >> I withdraw the above question, cause I suppose we don't have BMR (which is for CE) at BR after more times reading of sec.8.1 in the draft . >> >> >> But I might get more nits in the Appendix. >> >> #8. In Example 4 of Appendix A, page 26, >> " IPv6 address of MAP CE: 2001:db8:0012:3400:0000:c000:0201:0000 >> " (the last line) >> >> I suppose it should be “IPv6 address of MAP CE: 2001:db8:0012:3400:0000:c000:0212:0000” > > sorry, I can’t see what the difference between the two? > >> #9. In Example 4 of Appendix A, page 26, >> " … >> EA bits offset: 0 >> … >> PSID start: 0 >> … ” >> I don’t think these offset is 0, cause it means the 1st bit of IPv6 address/prefix. I prefer to replace the above ‘0’ to be ‘n/a’. > > right, there isn’t a PSID in example 4. that’s what n/a, null, 0, 0 is meant to indicate. we could have dropped including anything about the PSID in the example, but we did to contrast it with the address sharing case. > >> #10. In Example 5 of Appendix A, page 27, >> " Note that the IPv4 address and PSID is not derived from the IPv6 >> prefix assigned to the CE, but provisioned separately using >> e.g., DHCP. " >> >> I guess we don't need this special note here, cause we use DHCPv6 options to provision the Rules, including OPTION_S46_RULE & OPTION_S46_PORTPARAMS as the same manner as example 1 & 4. OTOH, IPv4 address can be directly read from the Rules, and don't need the further calculation as the same as Example 4, but we need OPTION_S46_PORTPARAMS for PSID. > > again, we wanted to be explicit with regards to the PSID and point out how it contrasts with the other examples. > >> #11. In Example 5 of Appendix A, page 27, >> " Basic Mapping Rule: {2001:db8:0012:3400::/56 (Rule IPv6 prefix), >> 192.0.2.18/32 (Rule IPv4 prefix), >> 0 (Rule EA-bits length)} >> PSID length: 8. (From DHCP. Sharing ratio of 256) >> PSID offset: 6 (Default) >> PSID : 0x34 (From DHCP.)" >> >> I guess we don’t the above words of 'from DHCP', cause all the parameters in BMR are got from DHCPv6 options. > > ref, previous mail. > >> >> >> #12. In Example 5 of Appendix A, page 27, >> " EA bits offset: 0" >> >> Again, I prefer the above to be " EA bits offset: n/a" >> >> >> #13. In Appendix B, >> " o It SHOULD be possible to exclude subsets of the complete port >> numbering space from assignment. Most operators would exclude the >> system ports (0-1023). A conservative operator might exclude all >> but the transient ports (49152-65535). >> ... >> o i ranges from ceil(N / (R * M)) to trunc(65536/(R * M)) - 1, where >> ceil is the operation of rounding up to the nearest integer and N >> is the number of ports (e.g., 1024) excluded from the lower end of >> the range." >> >> I guess we could use another parameter 'L' (which could be divisible by R*M) instead of 65536 to exclude the upper end of port-range, while keep to meet those requirement mentioned in Appendix B. Right? > > probably, but I don’t want to invent any new algorithm at this point. ;-) > >> #14. Fig.9 in Appendix B looks the same as Fig. 2 in Sec. 5.1, could we replace 'A' in Fig.2 to be 'i', and replace 'M' in Fig.2 to be 'j’? > > I don’t think you can do that. Xing can you confirm? > looking through Appendix B it would seem that would require quite a lot of changes to how M, R, i and j are used. > the purpose of Appendix B was to give a different freestanding angle to the port mapping algorithm. > > cheers, > Ole >
- [Softwires] I-D Action: draft-ietf-softwire-map-1… internet-drafts
- Re: [Softwires] I-D Action: draft-ietf-softwire-m… Leaf Yeh
- Re: [Softwires] I-D Action: draft-ietf-softwire-m… Ole Troan
- Re: [Softwires] I-D Action: draft-ietf-softwire-m… Ted Lemon
- Re: [Softwires] I-D Action: draft-ietf-softwire-m… Ole Troan
- Re: [Softwires] I-D Action: draft-ietf-softwire-m… Leaf Yeh
- Re: [Softwires] I-D Action: draft-ietf-softwire-m… Leaf Yeh
- Re: [Softwires] I-D Action: draft-ietf-softwire-m… Leaf Yeh
- Re: [Softwires] I-D Action: draft-ietf-softwire-m… Ole Troan
- Re: [Softwires] I-D Action: draft-ietf-softwire-m… Ole Troan
- Re: [Softwires] I-D Action: draft-ietf-softwire-m… Ole Troan
- Re: [Softwires] I-D Action: draft-ietf-softwire-m… Xing Li
- Re: [Softwires] I-D Action: draft-ietf-softwire-m… Leaf Yeh
- Re: [Softwires] I-D Action: draft-ietf-softwire-m… Leaf Yeh
- Re: [Softwires] I-D Action: draft-ietf-softwire-m… Leaf Yeh
- Re: [Softwires] I-D Action: draft-ietf-softwire-m… Ole Troan