Re: [spring] SRv6 Network Programming and Link Local Source Addresses

Bob Hinden <bob.hinden@gmail.com> Sun, 01 December 2019 22:50 UTC

Return-Path: <bob.hinden@gmail.com>
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 6970412011A for <spring@ietfa.amsl.com>; Sun, 1 Dec 2019 14:50:57 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.999
X-Spam-Level:
X-Spam-Status: No, score=-1.999 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, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=unavailable autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com
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 MqICQxmUDfnW for <spring@ietfa.amsl.com>; Sun, 1 Dec 2019 14:50:54 -0800 (PST)
Received: from mail-wm1-x336.google.com (mail-wm1-x336.google.com [IPv6:2a00:1450:4864:20::336]) (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 7979B120116 for <spring@ietf.org>; Sun, 1 Dec 2019 14:50:54 -0800 (PST)
Received: by mail-wm1-x336.google.com with SMTP id y23so9395271wma.0 for <spring@ietf.org>; Sun, 01 Dec 2019 14:50:54 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:message-id:mime-version:subject:date:in-reply-to:cc:to :references; bh=kDDmZcYQht1M925EiaG+xmYGwPzoWTKB+YO2zgvGpOg=; b=MlYl1WYrfzuSIBlE8+CixyGAkHwwYJl3GsaGIt6GYBJeIKbJ5RJQKbJCD4ocCy0Bn3 q9SxgWdjGb/6UX8+ac2gqQ5KAm1KV94gt5KYlpEpU3H4XbVZZGHMzf80fXFUz160LfOD iCJ+aecPu9Vc1sTCnuJU3Fwwd3KxFz9sa+Dg+BT6yACLcH2GQzyVY1Vb2nOEag1TlRKy XAre2QDlrI1R7GixRk9fw3DhxfeoSbagR+B8VEo7zlTQSF8Mk1SjGrNqHsuBkb+YMHCr yt4yZXV5SHC/1qIBHvrKft0RFkqICXjWzV4Out3LE+0C03c21uGFqVzmlMDMiwlPi+9+ t4kA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:message-id:mime-version:subject:date :in-reply-to:cc:to:references; bh=kDDmZcYQht1M925EiaG+xmYGwPzoWTKB+YO2zgvGpOg=; b=H2NPfjiXUbSCePtNe+Uq/A6uFdwQiSkGmBf3yqy02OKg9+Z8xUy8V1YMF/Cp1COqVN rcNpaPEkTM5YkxCE6Xs9E9HTl2650fY+RpLWY8mgPKotk/MfOTn+DGzVINoBt1Ml71sB FqjKMXZklrtSwdFhiaWgwV2f8YKkOS895mGhbvvo3QGKokaTaxsRcQk0llgAs6YNG+B0 95PjYPXgg08GEbskg+XDeXig+quhNHnCX/qCcBE1D3NBmE0dxtzsDT2N7fyvyKPpvWNE l/krPjunaxGEDa3SdzL2v/VDTaSix/l8b9/QC+8tzv99DAhp/U86ebZVfy0ps3JiTQJ3 6AoQ==
X-Gm-Message-State: APjAAAXTtMoA1K0cip2uy5S0S7K5X/THzNXkniYPFDT3N0026Yu5tM4I x8yRhYwpxnFwLi/PxbDBQoA=
X-Google-Smtp-Source: APXvYqxn7E4tAr8pTRWbsmK2WAyijl99INh00qCykgtJHJzlxfCQIHtKupL+du+AQ2ncDX4UsXxCEg==
X-Received: by 2002:a05:600c:10cd:: with SMTP id l13mr22800524wmd.102.1575240652760; Sun, 01 Dec 2019 14:50:52 -0800 (PST)
Received: from ?IPv6:2601:647:5a00:ef0b:9c6f:f973:cf79:914d? ([2601:647:5a00:ef0b:9c6f:f973:cf79:914d]) by smtp.gmail.com with ESMTPSA id m1sm36803218wrv.37.2019.12.01.14.50.50 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 01 Dec 2019 14:50:51 -0800 (PST)
From: Bob Hinden <bob.hinden@gmail.com>
Message-Id: <4DB1F409-CE21-425F-88D3-8C9B753958C4@gmail.com>
Content-Type: multipart/signed; boundary="Apple-Mail=_9372D419-2FE0-4BA1-AC7F-ABB4F0031624"; protocol="application/pgp-signature"; micalg="pgp-sha512"
Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.11\))
Date: Sun, 01 Dec 2019 14:50:48 -0800
In-Reply-To: <CAO42Z2zv9D7cncX2EfS=Amkbx9cbqNrRytZPdj5YP+h4DsSMGg@mail.gmail.com>
Cc: Bob Hinden <bob.hinden@gmail.com>, Ron Bonica <rbonica=40juniper.net@dmarc.ietf.org>, SPRING WG <spring@ietf.org>
To: Mark Smith <markzzzsmith@gmail.com>
References: <BN7PR05MB5699A179E7206F3899564234AE410@BN7PR05MB5699.namprd05.prod.outlook.com> <F42D9CF3-DB62-4402-86B6-B48843959A84@gmail.com> <CAO42Z2zv9D7cncX2EfS=Amkbx9cbqNrRytZPdj5YP+h4DsSMGg@mail.gmail.com>
X-Mailer: Apple Mail (2.3445.104.11)
Archived-At: <https://mailarchive.ietf.org/arch/msg/spring/lQPVXgYzznpOYtQD9RbkZX58FGE>
Subject: Re: [spring] SRv6 Network Programming and Link Local Source Addresses
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: Sun, 01 Dec 2019 22:50:57 -0000


> On Dec 1, 2019, at 2:30 PM, Mark Smith <markzzzsmith@gmail.com> wrote:
> 
> 
> 
> On Mon, 2 Dec 2019, 08:35 Bob Hinden, <bob.hinden@gmail.com> wrote:
> Ron,
> 
> > On Nov 30, 2019, at 12:36 PM, Ron Bonica <rbonica=40juniper.net@dmarc.ietf.org> wrote:
> >
> > Pablo,
> >
> >
> >
> > Consider the packet (SA,DA) (S3, S2, S1; SL) where:
> >
> >
> >
> >       • SA is link-local (fe80)
> >       • DA, S3, S2, and S1 are all END.X
> >
> >
> > Section 4.2 suggests that this packet will be delivered over multiple hops to its destination, regardless of its link-local source address.
> 
> I would think that RFC2460 Section 2.5.6. "Link-Local IPv6 Unicast Addresses” covers this:
> 
>    Link-Local addresses are for use on a single link.  Link-Local
>    addresses have the following format:
> 
>    |   10     |
>    |  bits    |         54 bits         |          64 bits           |
>    +----------+-------------------------+----------------------------+
>    |1111111010|           0             |       interface ID         |
>    +----------+-------------------------+----------------------------+
> 
>    Link-Local addresses are designed to be used for addressing on a
>    single link for purposes such as automatic address configuration,
>    neighbor discovery, or when no routers are present.
> 
>    Routers must not forward any packets with Link-Local source or
>    destination addresses to other links.
> 
> I think that's RFC4291.

Sorry, of course, it RFC4291.

Thanks,
Bob

> 
> RFC4007, "IPv6 Scoped Address Architecture" does too, more generally and probably more formally, in particular section 9, "Forwarding".
> 
> Regards,
> Mark.
> 
> 
> 
> Bob
> 
> 
> >
> >
> >
> > Is this the case?
> >
> >
> >
> >                                                              Ron
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> > Juniper Business Use Only
> > _______________________________________________
> > spring mailing list
> > spring@ietf.org
> > https://www.ietf.org/mailman/listinfo/spring
> 
> _______________________________________________
> spring mailing list
> spring@ietf.org
> https://www.ietf.org/mailman/listinfo/spring