Re: [OPSAWG] CLAT (was TR: New Version Notification for draft-ietf-opsawg-nat-yang-00.txt)
<mohamed.boucadair@orange.com> Mon, 21 August 2017 09:21 UTC
Return-Path: <mohamed.boucadair@orange.com>
X-Original-To: opsawg@ietfa.amsl.com
Delivered-To: opsawg@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 4B29D1329AF for <opsawg@ietfa.amsl.com>; Mon, 21 Aug 2017 02:21:09 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.619
X-Spam-Level:
X-Spam-Status: No, score=-2.619 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001, UNPARSEABLE_RELAY=0.001] autolearn=ham autolearn_force=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 MdYxCyu6nFau for <opsawg@ietfa.amsl.com>; Mon, 21 Aug 2017 02:21:06 -0700 (PDT)
Received: from relais-inet.orange.com (mta239.mail.business.static.orange.com [80.12.66.39]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 70990126C7A for <opsawg@ietf.org>; Mon, 21 Aug 2017 02:21:06 -0700 (PDT)
Received: from opfedar00.francetelecom.fr (unknown [xx.xx.xx.11]) by opfedar24.francetelecom.fr (ESMTP service) with ESMTP id C0BC9C015F; Mon, 21 Aug 2017 11:21:04 +0200 (CEST)
Received: from Exchangemail-eme2.itn.ftgroup (unknown [xx.xx.31.17]) by opfedar00.francetelecom.fr (ESMTP service) with ESMTP id 9AA2218008E; Mon, 21 Aug 2017 11:21:04 +0200 (CEST)
Received: from OPEXCLILMA3.corporate.adroot.infra.ftgroup ([fe80::60a9:abc3:86e6:2541]) by OPEXCLILM24.corporate.adroot.infra.ftgroup ([fe80::a1e6:3e6a:1f68:5f7e%18]) with mapi id 14.03.0361.001; Mon, 21 Aug 2017 11:20:59 +0200
From: mohamed.boucadair@orange.com
To: "jordi.palet@consulintel.es" <jordi.palet@consulintel.es>, Lee Howard <lee@asgard.org>
CC: "opsawg@ietf.org" <opsawg@ietf.org>, JACQUENET Christian IMT/OLN <christian.jacquenet@orange.com>, "Senthil Sivakumar (ssenthil)" <ssenthil@cisco.com>, Qin Wu <bill.wu@huawei.com>, "sureshk@juniper.net" <sureshk@juniper.net>
Thread-Topic: CLAT (was TR: New Version Notification for draft-ietf-opsawg-nat-yang-00.txt)
Thread-Index: AQHTGDU4z1ZKlJbMRqCG7OBhszrdBKKOiusw
Date: Mon, 21 Aug 2017 09:20:59 +0000
Message-ID: <1a980b9c-0c6f-42c1-b0c1-f2f4f0decdbb@OPEXCLILM24.corporate.adroot.infra.ftgroup>
References: <7e5cb648-16a8-43c9-8ac9-d869c170447c@OPEXCLILMA2.corporate.adroot.infra.ftgroup> <292AA9DC-F011-4585-8424-C6323F2FC769@consulintel.es>
In-Reply-To: <292AA9DC-F011-4585-8424-C6323F2FC769@consulintel.es>
Accept-Language: fr-FR, en-US
Content-Language: fr-FR
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [10.168.234.3]
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
MIME-Version: 1.0
Archived-At: <https://mailarchive.ietf.org/arch/msg/opsawg/CDI6Wqt5rJs9CehUGdQRhtjserk>
Subject: Re: [OPSAWG] CLAT (was TR: New Version Notification for draft-ietf-opsawg-nat-yang-00.txt)
X-BeenThere: opsawg@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: OPSA Working Group Mail List <opsawg.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/opsawg>, <mailto:opsawg-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/opsawg/>
List-Post: <mailto:opsawg@ietf.org>
List-Help: <mailto:opsawg-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/opsawg>, <mailto:opsawg-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 21 Aug 2017 09:21:09 -0000
Hi Jordi, all, Thank you for the feedback. A new version that takes into account your suggestions is available online. Please check: URL: https://www.ietf.org/internet-drafts/draft-ietf-opsawg-nat-yang-01.txt Status: https://datatracker.ietf.org/doc/draft-ietf-opsawg-nat-yang/ Htmlized: https://tools.ietf.org/html/draft-ietf-opsawg-nat-yang-01 Htmlized: https://datatracker.ietf.org/doc/html/draft-ietf-opsawg-nat-yang-01 Diff: https://www.ietf.org/rfcdiff?url2=draft-ietf-opsawg-nat-yang-01 Cheers, Med > -----Message d'origine----- > De : JORDI PALET MARTINEZ [mailto:jordi.palet@consulintel.es] > Envoyé : vendredi 18 août 2017 17:18 > À : BOUCADAIR Mohamed IMT/OLN; Lee Howard > Cc : opsawg@ietf.org; JACQUENET Christian IMT/OLN; Senthil Sivakumar > (ssenthil); Qin Wu; sureshk@juniper.net > Objet : Re: CLAT (was TR: New Version Notification for draft-ietf-opsawg- > nat-yang-00.txt) > > Hi Med, > > Looks good to me, and I think it covers all the possible options, which > one exception: > > +--rw clat-ipv4-address? inet:ipv4-address > > You may want to use a prefix, not an address. If you have a CLAT serving a > “big” network, instead of a small CE, you may need to use a pool of > several IP addresses. For example, in a recent testing, I used for the > stateless CLAT (NAT46) the following EAMT (Explicit Address Mappings > Table, RFC7757): > > Pool IPv4/NAT46: 100.64.0.0/10 > Pool IPv6: 2001:470:68ee:30::/106 > > (I was a bit exaggerated here, with so big pool, but is only an example) > > So may be something like: > +--rw clat-ipv4-address? inet:ipv4-address > +--rw clat-ipv4-mask? inet:ipv4-mask > > Note that I’m NOT expert in YANG, but I just read thru all your ID and > looks ok. > > Some other details that you may want to consider: > 1) Say something about CLAT/NAT46/464XLAT in the abstract. > 2) Same for the intro. > 3) Same in section 2.2. > 4) You may need to add also something in 2.8, at paragraph: > In order to cover both NAT64 and NAT44 flavors in particular, the NAT > mapping structure allows to include an IPv4 or an IPv6 address as an > internal IP address. Remaining fields are common to both NAT > schemes. > 5) Also I think in 2.8 “Note that a mapping table is maintained only for > stateless NAT” you actually mean stateful NAT ? > 6) You could also rewrite (2.8) “Obviously, no mapping table is maintained > for NPTv6 given that it is stateless and transport-agnostic” as > “Obviously, no mapping table is maintained for any stateless NAT (such as > NAT46), neither for NPTv6 given that it is stateless and transport- > agnostic” > 7) Instead of +--rw subscriber-mask-v6?, should mask be prefix-length? > 8) In section 3, I see you have some “code” for each NAT type, so you may > need also for NAT46? > 9) And of course, you may want to add a CLAT example at the appendix ;-) > > Hope it helps! > > Saludos, > Jordi > > > -----Mensaje original----- > De: <mohamed.boucadair@orange.com> > Responder a: <mohamed.boucadair@orange.com> > Fecha: viernes, 18 de agosto de 2017, 16:19 > Para: Lee Howard <lee@asgard.org>, "jordi.palet@consulintel.es" > <jordi.palet@consulintel.es> > CC: "opsawg-chairs@ietf.org" <opsawg-chairs@ietf.org>, JACQUENET Christian > IMT/OLN <christian.jacquenet@orange.com>, "Senthil Sivakumar (ssenthil)" > <ssenthil@cisco.com>, Qin Wu <bill.wu@huawei.com>, "sureshk@juniper.net" > <sureshk@juniper.net> > Asunto: CLAT (was TR: New Version Notification for draft-ietf-opsawg-nat- > yang-00.txt) > > Hi Lee, > > (I'm adding Jordi to the discussion since he is familiar with CLAT in > a CPE) > > You suggested in Prague to add CLAT to the NAT YANG module. > > Please find below how we are planning to cover it in the next > iteration of the draft: > > (1) If a dedicated prefix is configured for CLAT, then only a > stateless XLAT will be required. That is, no mapping table will be > maintained at all. Since the module already includes NAT64 prefix(es), the > CLAT IPv6 prefix will be missing. The tree structure can be updated as > follows: > > OLD: > +--rw nat64-prefixes* [nat64-prefix] > | +--rw nat64-prefix inet:ipv6-prefix > | +--rw destination-ipv4-prefix* [ipv4-prefix] > | +--rw ipv4-prefix inet:ipv4-prefix > > NEW: > > +--rw nat64-prefixes* [nat64-prefix] > | +--rw nat64-prefix inet:ipv6-prefix > | +--rw destination-ipv4-prefix* [ipv4-prefix] > | +--rw ipv4-prefix inet:ipv4-prefix > +--rw clat-ipv6-prefix? inet:ipv6-prefix > > (2) If no dedicated /64 prefix is provided, a NAT44 will be required. > A stateless XLAT will be then applied on NATed packets. This case is > natively supported by the current YANG model. > > A CLAT module can automatically select an IPv4 address from > 192.0.0.0/29 (RFC7335). This address can also be set. To do so, the tree > structure can be updated with: > > NEW: > ... > +--rw clat-ipv4-address? inet:ipv4-address > ... > > The CLAT IPv4 address will be taken by default from 192.0.0.0/29. > Other addresses can be used. > > Lee/Jordi, are there any other required changes? > > Thank you. > > Cheers, > Med > > > -----Message d'origine----- > > De : OPSAWG [mailto:opsawg-bounces@ietf.org] De la part de > > mohamed.boucadair@orange.com > > Envoyé : vendredi 18 août 2017 15:46 > > À : opsawg@ietf.org > > Cc : sureshk@juniper.net; JACQUENET Christian IMT/OLN > > Objet : [OPSAWG] TR: New Version Notification for draft-ietf-opsawg- > nat- > > yang-00.txt > > > > Dear all, > > > > The -00 version integrates the comments received during the Call for > > Adoption: > > > > - Clarify how Destination NAT is covered (Tianran) > > - Follow the NMDA guidelines (Juergen and Qin) > > - Include a generic structure for ALGs instead of listing supported > ones > > (Juergen) > > - Include a discussion about how other transport protocols are/can > be > > supported (Juergen) > > - Include a comprehensive list of examples (Juergen) > > - Move the example to an appendix (Juergen) > > > > We do still have one pending comment that was raised by Lee Howard > when I > > presented in Prague: add CLAT to the list. > > > > Comments are more than welcome. Please review. > > > > Cheers, > > Med > > > > > -----Message d'origine----- > > > De : internet-drafts@ietf.org [mailto:internet-drafts@ietf.org] > > > Envoyé : vendredi 18 août 2017 15:31 > > > À : BOUCADAIR Mohamed IMT/OLN; Senthil Sivakumar; JACQUENET > Christian > > > IMT/OLN; opsawg-chairs@ietf.org; Qin Wu > > > Objet : New Version Notification for draft-ietf-opsawg-nat-yang- > 00.txt > > > > > > > > > A new version of I-D, draft-ietf-opsawg-nat-yang-00.txt > > > has been successfully submitted by Mohamed Boucadair and posted to > the > > > IETF repository. > > > > > > Name: draft-ietf-opsawg-nat-yang > > > Revision: 00 > > > Title: A YANG Data Model for Network Address Translation > (NAT) and > > > Network Prefix Translation (NPT) > > > Document date: 2017-08-18 > > > Group: opsawg > > > Pages: 67 > > > URL: https://www.ietf.org/internet-drafts/draft-ietf- > opsawg- > > > nat-yang-00.txt > > > Status: https://datatracker.ietf.org/doc/draft-ietf- > opsawg-nat- > > > yang/ > > > Htmlized: https://tools.ietf.org/html/draft-ietf-opsawg-nat- > yang- > > 00 > > > Htmlized: https://datatracker.ietf.org/doc/html/draft-ietf- > opsawg- > > > nat-yang-00 > > > > > > > > > Abstract: > > > For the sake of network automation and the need for programming > > > Network Address Translation (NAT) function in particular, a > data > > > model for configuring and managing the NAT is essential. This > > > document defines a YANG data model for the NAT function. > NAT44, > > > NAT64, and NPTv6 are covered in this document. > > > > > > > > > > > > > > > Please note that it may take a couple of minutes from the time of > > > submission > > > until the htmlized version and diff are available at > tools.ietf.org. > > > > > > The IETF Secretariat > > > > _______________________________________________ > > OPSAWG mailing list > > OPSAWG@ietf.org > > https://www.ietf.org/mailman/listinfo/opsawg > > > > > > > ********************************************** > IPv4 is over > Are you ready for the new Internet ? > http://www.consulintel.es > The IPv6 Company > > This electronic message contains information which may be privileged or > confidential. The information is intended to be for the use of the > individual(s) named above. If you are not the intended recipient be aware > that any disclosure, copying, distribution or use of the contents of this > information, including attached files, is prohibited. > >
- Re: [OPSAWG] CLAT (was TR: New Version Notificati… mohamed.boucadair
- Re: [OPSAWG] CLAT (was TR: New Version Notificati… JORDI PALET MARTINEZ
- Re: [OPSAWG] CLAT (was TR: New Version Notificati… Lee Howard
- Re: [OPSAWG] CLAT (was TR: New Version Notificati… mohamed.boucadair