Re: [Softwires] I-D Action: draft-ietf-softwire-map-12.txt
"Leaf Yeh" <leaf.yeh.sdo@gmail.com> Mon, 09 March 2015 07:56 UTC
Return-Path: <leaf.yeh.sdo@gmail.com>
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 CDE841A700A for <softwires@ietfa.amsl.com>; Mon, 9 Mar 2015 00:56:53 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.4
X-Spam-Level:
X-Spam-Status: No, score=-1.4 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, J_CHICKENPOX_41=0.6, SPF_PASS=-0.001] 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 T3Opr0CVpFea for <softwires@ietfa.amsl.com>; Mon, 9 Mar 2015 00:56:52 -0700 (PDT)
Received: from mail-ig0-x234.google.com (mail-ig0-x234.google.com [IPv6:2607:f8b0:4001:c05::234]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id D452A1A6EF0 for <softwires@ietf.org>; Mon, 9 Mar 2015 00:56:49 -0700 (PDT)
Received: by igal13 with SMTP id l13so18738976iga.0 for <softwires@ietf.org>; Mon, 09 Mar 2015 00:56:49 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:from:to:cc:references:in-reply-to:subject:date :mime-version:content-type:content-transfer-encoding:thread-index :content-language; bh=aQ0UOEZ3EALN+hGgodRuJti9vx4bqtQozevCrL5UGYc=; b=gsVRJTRba4bTOpxsntthq6fIC91KUzfBvyLXRcrUiYeeXE/ztPimKwBFYe8WhFsIqX 9KAA8Q9QeQCLtCYiFcFL5FHb+kdn55tJqSx7FKBca4Bq5Cm5UkdVAaSf7MHdAJeZM8ZG zwYRNhciuE7na20wmH1ZE8DVVnIyS9PTLsX4Rk3A6TYzW2jE98ykDRLD2hdILUN/Jv9w 1ZcXWJUPNRN4gl6FSmSGU4ishAPHbPuj/Us/pdd4qp3OV331gJmFfIKEkfMQj6KwIWo9 /WTQ/ulv0X0ujlI19YZVmmJ0vfZxvyUanOtbXSROgzgtedShkmlI57Dt2EieuSpm3EoF OiSA==
X-Received: by 10.107.167.145 with SMTP id q139mr45598127ioe.16.1425887809264; Mon, 09 Mar 2015 00:56:49 -0700 (PDT)
Received: from PC ([218.241.109.163]) by mx.google.com with ESMTPSA id e196sm11776438ioe.40.2015.03.09.00.56.46 (version=TLSv1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 09 Mar 2015 00:56:48 -0700 (PDT)
Message-ID: <54fd5240.cd1e6b0a.6adc.fffff505@mx.google.com>
X-Google-Original-Message-ID: <001a01d05a3e$c79ef520$56dcdf60$@yeh.sdo@gmail.com>
From: Leaf Yeh <leaf.yeh.sdo@gmail.com>
To: 'Ole Troan' <otroan@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>
In-Reply-To:
Date: Mon, 09 Mar 2015 15:58:04 +0800
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Mailer: Microsoft Office Outlook 12.0
Thread-Index: AdBYR+HrUyyVaQXtQBGk1aEN7mCehwBzvieAAAmjoZA=
Content-Language: zh-cn
Archived-At: <http://mailarchive.ietf.org/arch/msg/softwires/Lv42h_jPblLW7lQ6jsw18xqck2s>
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 07:56:54 -0000
#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? Best Regards, Leaf -----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