Re: [spring] SRv6 Network Programming: ENH = 59

Ron Bonica <rbonica@juniper.net> Mon, 06 May 2019 02:44 UTC

Return-Path: <rbonica@juniper.net>
X-Original-To: spring@ietfa.amsl.com
Delivered-To: spring@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 4045812003E; Sun, 5 May 2019 19:44:22 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.72
X-Spam-Level:
X-Spam-Status: No, score=-0.72 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, HTTPS_HTTP_MISMATCH=1.989, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001, T_DKIMWL_WL_HIGH=-0.01, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=juniper.net
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 stWZl77Yg-ZL; Sun, 5 May 2019 19:44:20 -0700 (PDT)
Received: from mx0b-00273201.pphosted.com (mx0a-00273201.pphosted.com [208.84.65.16]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 297D812001B; Sun, 5 May 2019 19:44:20 -0700 (PDT)
Received: from pps.filterd (m0108157.ppops.net [127.0.0.1]) by mx0a-00273201.pphosted.com (8.16.0.27/8.16.0.27) with SMTP id x462dYTl020944; Sun, 5 May 2019 19:44:19 -0700
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=juniper.net; h=from : to : cc : subject : date : message-id : references : in-reply-to : content-type : mime-version; s=PPS1017; bh=EO/YNWURuiVsuYepZ9Dbber5OpldFjasXUF40XrDCog=; b=iQ3PFHHJVv9YVqFz2dkbhTdYLZvwM3nEmFXF1/gi+T3HkB4XikQPBrrg9l0MZ3PTvT65 pMqcF0PPVwwSXt0Pnko1NKFrFGjmZY+DRRUJ6hFPKMAU4VGBnflq5SFzzIVU7Jkkr15J Nd5mDk52tkBCEpjdmunZl1b5mWS2Zyei8GWXGFOiQ1SnCOpBFu9ErmkxsfZfm8SLyQTh /5wwePw2cDpqFYZQVxFS1uU5oi5fuBK+AnUVdeQaQgijW9VoOTKq1913AraLj4j78mem 1mUoauoa6zFPX1QDderhey/2DPTs6x8+vJ3e9SnL1sEEHt4puBg4B11YJ3iO7XSapuCn /w==
Received: from nam02-bl2-obe.outbound.protection.outlook.com (mail-bl2nam02lp2055.outbound.protection.outlook.com [104.47.38.55]) by mx0a-00273201.pphosted.com with ESMTP id 2s9sdq93wy-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Sun, 05 May 2019 19:44:18 -0700
Received: from BYAPR05MB4245.namprd05.prod.outlook.com (20.176.252.26) by BYAPR05MB6536.namprd05.prod.outlook.com (20.178.234.18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1878.19; Mon, 6 May 2019 02:44:15 +0000
Received: from BYAPR05MB4245.namprd05.prod.outlook.com ([fe80::e1e7:cf02:f236:ab29]) by BYAPR05MB4245.namprd05.prod.outlook.com ([fe80::e1e7:cf02:f236:ab29%7]) with mapi id 15.20.1878.014; Mon, 6 May 2019 02:44:15 +0000
From: Ron Bonica <rbonica@juniper.net>
To: Tom Herbert <tom@herbertland.com>
CC: SPRING WG <spring@ietf.org>, 6man <ipv6@ietf.org>
Thread-Topic: SRv6 Network Programming: ENH = 59
Thread-Index: AdUDo1cr1ntuHPleQoe8AvXX2JxkXgABS++AAAMZSWA=
Content-Class:
Date: Mon, 06 May 2019 02:44:15 +0000
Message-ID: <BYAPR05MB424526FE142B3319366622DFAE300@BYAPR05MB4245.namprd05.prod.outlook.com>
References: <BYAPR05MB4245988C3A47C3665BD91172AE300@BYAPR05MB4245.namprd05.prod.outlook.com> <CALx6S358r54Z7U_GM88PnTDmd503BAjE6-ff9CDpjyAY4Cq_sg@mail.gmail.com>
In-Reply-To: <CALx6S358r54Z7U_GM88PnTDmd503BAjE6-ff9CDpjyAY4Cq_sg@mail.gmail.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
dlp-product: dlpe-windows
dlp-version: 11.1.100.23
dlp-reaction: no-action
msip_labels: MSIP_Label_0633b888-ae0d-4341-a75f-06e04137d755_Enabled=True; MSIP_Label_0633b888-ae0d-4341-a75f-06e04137d755_SiteId=bea78b3c-4cdb-4130-854a-1d193232e5f4; MSIP_Label_0633b888-ae0d-4341-a75f-06e04137d755_Owner=rbonica@juniper.net; MSIP_Label_0633b888-ae0d-4341-a75f-06e04137d755_SetDate=2019-05-06T02:44:13.5161672Z; MSIP_Label_0633b888-ae0d-4341-a75f-06e04137d755_Name=Juniper Internal; MSIP_Label_0633b888-ae0d-4341-a75f-06e04137d755_Application=Microsoft Azure Information Protection; MSIP_Label_0633b888-ae0d-4341-a75f-06e04137d755_Extended_MSFT_Method=Automatic; Sensitivity=Juniper Internal
x-originating-ip: [66.129.241.13]
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: 1333bb73-5f5b-4a4c-7061-08d6d1ccbaec
x-ms-office365-filtering-ht: Tenant
x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600141)(711020)(4605104)(4618075)(2017052603328)(7193020); SRVR:BYAPR05MB6536;
x-ms-traffictypediagnostic: BYAPR05MB6536:
x-ms-exchange-purlcount: 3
x-microsoft-antispam-prvs: <BYAPR05MB6536D30A6515F32BA1B687FEAE300@BYAPR05MB6536.namprd05.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:10000;
x-forefront-prvs: 0029F17A3F
x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(346002)(39860400002)(376002)(136003)(366004)(396003)(189003)(199004)(66066001)(25786009)(6436002)(9326002)(6506007)(53546011)(99286004)(64756008)(66556008)(66946007)(66476007)(73956011)(66446008)(86362001)(5660300002)(229853002)(486006)(7696005)(52536014)(14454004)(186003)(6246003)(8936002)(68736007)(76176011)(606006)(33656002)(71190400001)(4326008)(26005)(102836004)(478600001)(7736002)(54906003)(9686003)(54896002)(74316002)(6306002)(236005)(476003)(6916009)(446003)(8676002)(81166006)(53936002)(316002)(3846002)(6116002)(790700001)(55016002)(71200400001)(966005)(11346002)(81156014)(2906002)(256004)(76116006); DIR:OUT; SFP:1102; SCL:1; SRVR:BYAPR05MB6536; H:BYAPR05MB4245.namprd05.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1;
received-spf: None (protection.outlook.com: juniper.net does not designate permitted sender hosts)
x-ms-exchange-senderadcheck: 1
x-microsoft-antispam-message-info: zTOeW4ypvKv2Q+rCSdiWjTUad5XyzU19QfVIyhp964PWUg2wdHi7LuwdGXHFOsetmWTOEfNLv4hIh3i8SIy4jtiobf6TSQwxn9rVWoNGFk467d4zIy2+MrIC07NAbHEOlSQV5yOp04po4TsgKOJx8lgc0ZrJuXgpmVr4VGeSTl2UxtBDVq+odxQeH6oJf6c5EkNBtEsO0fA+q0FA/+KmWuPC8DjUkVH+oibzcff2NfMNpR3VV3/q3UD3t8Nzf3UNPBxx18rr305w4Bv/+xjNfGWWtB0quPU3V1UgYRVBEu/GXKc+zicKIs7r6MhBXy4il6IC+xE/zvyYabKvQBreGXGT2Puc+4+AIGT3bOIstWFdM4oHcWWIw6v1ivwJ0RwPdNi4xJLYPba9noYxw744KcXl24tGNtlyLJEnzYOBUKc=
Content-Type: multipart/alternative; boundary="_000_BYAPR05MB424526FE142B3319366622DFAE300BYAPR05MB4245namp_"
MIME-Version: 1.0
X-OriginatorOrg: juniper.net
X-MS-Exchange-CrossTenant-Network-Message-Id: 1333bb73-5f5b-4a4c-7061-08d6d1ccbaec
X-MS-Exchange-CrossTenant-originalarrivaltime: 06 May 2019 02:44:15.7725 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: bea78b3c-4cdb-4130-854a-1d193232e5f4
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-Transport-CrossTenantHeadersStamped: BYAPR05MB6536
X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:, , definitions=2019-05-06_02:, , signatures=0
X-Proofpoint-Spam-Details: rule=outbound_spam_notspam policy=outbound_spam score=0 priorityscore=1501 malwarescore=0 suspectscore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1015 lowpriorityscore=0 mlxscore=0 impostorscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1810050000 definitions=main-1905060021
Archived-At: <https://mailarchive.ietf.org/arch/msg/spring/7EiR_UYgbROFDhGAbSdiQ9uAedI>
Subject: Re: [spring] SRv6 Network Programming: ENH = 59
X-BeenThere: spring@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "Source Packet Routing in NetworkinG \(SPRING\)" <spring.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/spring>, <mailto:spring-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/spring/>
List-Post: <mailto:spring@ietf.org>
List-Help: <mailto:spring-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/spring>, <mailto:spring-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 06 May 2019 02:44:22 -0000

Hi Tom,

Ethernet Over IP (97) was created by RFC 3378. It indicates that the next header is an Ethernet over IP encapsulation header (see Figure 1 of RFC 3378). That is different from an actual Ethernet header.

In SRv6, the next header is an Ethernet header.

                                                            Ron



Juniper Internal
From: Tom Herbert <tom@herbertland.com>
Sent: Sunday, May 5, 2019 9:11 PM
To: Ron Bonica <rbonica@juniper.net>
Cc: SPRING WG <spring@ietf.org>; 6man <ipv6@ietf.org>
Subject: Re: SRv6 Network Programming: ENH = 59


On Sun, May 5, 2019, 5:47 PM Ron Bonica <rbonica=40juniper.net@dmarc.ietf.org<mailto:40juniper.net@dmarc.ietf.org>> wrote:
Folks,

According to Section 4.4 of draft-ietf-spring-srv6-network-programming-00, when processing the End.DX2 SID, the Next Header must be equal to 59. Otherwise, the packet will be dropped.

In the words of the draft, "We conveniently reuse the next-header value 59 allocated to IPv6 No Next Header [RFC8200].  When the SID corresponds to function End.DX2 and the Next-Header value is 59, we know that an Ethernet frame is in the payload without any further header."

According to Section 4.7 RFC 8200, " The value 59 in the Next Header field of an IPv6 header or any  extension header indicates that there is nothing following that header.  If the Payload Length field of the IPv6 header indicates the presence of octets past the end of a header whose Next Header field contains 59, those octets must be ignored and passed on unchanged if the packet is forwarded."

Does the WG think that it is a good idea to reuse the Next Header value 59? Or would it be better to allocate a new Next Header value that represents Ethernet?

Tom,

There's already ETHERIP number (97). Why not use that?

Tom


                                                          Ron


Juniper Internal

--------------------------------------------------------------------
IETF IPv6 working group mailing list
ipv6@ietf.org<mailto:ipv6@ietf.org>
Administrative Requests: https://www.ietf.org/mailman/listinfo/ipv6<https://urldefense.proofpoint.com/v2/url?u=https-3A__www.ietf.org_mailman_listinfo_ipv6&d=DwMFaQ&c=HAkYuh63rsuhr6Scbfh0UjBXeMK-ndb3voDTXcWzoCI&r=Fch9FQ82sir-BoLx84hKuKwl-AWF2EfpHcAwrDThKP8&m=VHfLHsRn-F8Sn5PP4Vafdu1dtqICcokvsJR7LpaTyEA&s=LUmcAoIURT-jloWOvQ-hF5toj17pXSOaS8EnbCx5CHs&e=>
--------------------------------------------------------------------