A YANG Module for Network Address Translation (NAT) and Network Prefix Translation (NPT)
RFC 8512

Document Type RFC - Proposed Standard (January 2019; No errata)
Last updated 2019-01-15
Replaces draft-sivakumar-yang-nat
Stream IETF
Formats plain text html pdf htmlized bibtex
Yang Validation 0 errors, 0 warnings.
Reviews
Additional URLs
- Yang catalog entry for ietf-nat@2018-09-27.yang
- Yang impact analysis for draft-ietf-opsawg-nat-yang
- Mailing list discussion
Stream WG state Submitted to IESG for Publication
Document shepherd Joe Clarke
Shepherd write-up Show (last changed 2018-03-04)
IESG IESG state RFC 8512 (Proposed Standard)
Consensus Boilerplate Yes
Telechat date
Responsible AD Ignas Bagdonas
Send notices to Joe Clarke <jclarke@cisco.com>
IANA IANA review state IANA OK - Actions Needed
IANA action state RFC-Ed-Ack
Internet Engineering Task Force (IETF)                 M. Boucadair, Ed.
Request for Comments: 8512                                        Orange
Category: Standards Track                                   S. Sivakumar
ISSN: 2070-1721                                            Cisco Systems
                                                            C. Jacquenet
                                                                  Orange
                                                           S. Vinapamula
                                                        Juniper Networks
                                                                   Q. Wu
                                                                  Huawei
                                                            January 2019

                           A YANG Module for
 Network Address Translation (NAT) and Network Prefix Translation (NPT)

Abstract

   This document defines a YANG module for the Network Address
   Translation (NAT) function.

   Network Address Translation from IPv4 to IPv4 (NAT44), Network
   Address and Protocol Translation from IPv6 Clients to IPv4 Servers
   (NAT64), customer-side translator (CLAT), Stateless IP/ICMP
   Translation (SIIT), Explicit Address Mappings (EAM) for SIIT,
   IPv6-to-IPv6 Network Prefix Translation (NPTv6), and Destination NAT
   are covered in this document.

Status of This Memo

   This is an Internet Standards Track document.

   This document is a product of the Internet Engineering Task Force
   (IETF).  It represents the consensus of the IETF community.  It has
   received public review and has been approved for publication by the
   Internet Engineering Steering Group (IESG).  Further information on
   Internet Standards is available in Section 2 of RFC 7841.

   Information about the current status of this document, any errata,
   and how to provide feedback on it may be obtained at
   https://www.rfc-editor.org/info/rfc8512.

Boucadair, et al.            Standards Track                    [Page 1]
RFC 8512               YANG Module for NAT and NPT          January 2019

Copyright Notice

   Copyright (c) 2019 IETF Trust and the persons identified as the
   document authors.  All rights reserved.

   This document is subject to BCP 78 and the IETF Trust's Legal
   Provisions Relating to IETF Documents
   (https://trustee.ietf.org/license-info) in effect on the date of
   publication of this document.  Please review these documents
   carefully, as they describe your rights and restrictions with respect
   to this document.  Code Components extracted from this document must
   include Simplified BSD License text as described in Section 4.e of
   the Trust Legal Provisions and are provided without warranty as
   described in the Simplified BSD License.

Boucadair, et al.            Standards Track                    [Page 2]
RFC 8512               YANG Module for NAT and NPT          January 2019

Table of Contents

   1.  Introduction  . . . . . . . . . . . . . . . . . . . . . . . .   4
     1.1.  Terminology . . . . . . . . . . . . . . . . . . . . . . .   4
   2.  Overview of the NAT YANG Data Model . . . . . . . . . . . . .   6
     2.1.  Overview  . . . . . . . . . . . . . . . . . . . . . . . .   6
     2.2.  Various Translation Flavors . . . . . . . . . . . . . . .   7
     2.3.  TCP/UDP/ICMP NAT Behavioral Requirements  . . . . . . . .   8
     2.4.  Other Transport Protocols . . . . . . . . . . . . . . . .   8
     2.5.  IP Addresses Used for Translation . . . . . . . . . . . .   9
     2.6.  Port-Set Assignment . . . . . . . . . . . . . . . . . . .   9
     2.7.  Port-Restricted IP Addresses  . . . . . . . . . . . . . .   9
     2.8.  NAT Mapping Entries . . . . . . . . . . . . . . . . . . .  10
     2.9.  Resource Limits . . . . . . . . . . . . . . . . . . . . .  13
     2.10. Binding the NAT Function to an External Interface . . . .  16
     2.11. Relationship to NATV2-MIB . . . . . . . . . . . . . . . .  16
     2.12. Tree Structure  . . . . . . . . . . . . . . . . . . . . .  17
   3.  NAT YANG Module . . . . . . . . . . . . . . . . . . . . . . .  24
   4.  Security Considerations . . . . . . . . . . . . . . . . . . .  68
   5.  IANA Considerations . . . . . . . . . . . . . . . . . . . . .  70
   6.  References  . . . . . . . . . . . . . . . . . . . . . . . . .  70
     6.1.  Normative References  . . . . . . . . . . . . . . . . . .  70
     6.2.  Informative References  . . . . . . . . . . . . . . . . .  73
   Appendix A.  Some Examples  . . . . . . . . . . . . . . . . . . .  75
     A.1.  Traditional NAT44 . . . . . . . . . . . . . . . . . . . .  75
     A.2.  Carrier Grade NAT (CGN) . . . . . . . . . . . . . . . . .  76
     A.3.  CGN Pass-Through  . . . . . . . . . . . . . . . . . . . .  80
     A.4.  NAT64 . . . . . . . . . . . . . . . . . . . . . . . . . .  80
     A.5.  Stateless IP/ICMP Translation (SIIT)  . . . . . . . . . .  81
Show full document text