RE: MAC route with IP

Jakob Heitz <jakob.heitz@ericsson.com> Tue, 13 May 2014 16:37 UTC

Return-Path: <jakob.heitz@ericsson.com>
X-Original-To: l2vpn@ietfa.amsl.com
Delivered-To: l2vpn@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id B1A8D1A0087 for <l2vpn@ietfa.amsl.com>; Tue, 13 May 2014 09:37:42 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.9
X-Spam-Level:
X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, SPF_PASS=-0.001] autolearn=ham
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 JiDxVLypySE3 for <l2vpn@ietfa.amsl.com>; Tue, 13 May 2014 09:37:39 -0700 (PDT)
Received: from usevmg20.ericsson.net (usevmg20.ericsson.net [198.24.6.45]) by ietfa.amsl.com (Postfix) with ESMTP id 0AECB1A00B2 for <l2vpn@ietf.org>; Tue, 13 May 2014 09:37:29 -0700 (PDT)
X-AuditID: c618062d-f79c96d000001cfc-af-5371faead35d
Received: from EUSAAHC005.ericsson.se (Unknown_Domain [147.117.188.87]) by usevmg20.ericsson.net (Symantec Mail Security) with SMTP id A9.22.07420.AEAF1735; Tue, 13 May 2014 12:58:50 +0200 (CEST)
Received: from EUSAAMB109.ericsson.se ([147.117.188.126]) by EUSAAHC005.ericsson.se ([147.117.188.87]) with mapi id 14.03.0174.001; Tue, 13 May 2014 12:37:17 -0400
From: Jakob Heitz <jakob.heitz@ericsson.com>
To: Antoni Przygienda <antoni.przygienda@ericsson.com>, "Ali Sajassi (sajassi)" <sajassi@cisco.com>, "l2vpn@ietf.org" <l2vpn@ietf.org>
Subject: RE: MAC route with IP
Thread-Topic: MAC route with IP
Thread-Index: Ac9tnTVAaQfHHQKqR0C1MGMVDrT48///65IA///deaCAACfogP//2UcQgALDCwCAAEC5AIAAd5lA
Date: Tue, 13 May 2014 16:37:15 +0000
Message-ID: <2F3EBB88EC3A454AAB08915FBF0B8C7E03055F87@eusaamb109.ericsson.se>
References: <2E4BB27CAB87BF43B4207C0E55860F1812B4DF@eusaamb103.ericsson.se> <CF970326.D3932%sajassi@cisco.com> <2E4BB27CAB87BF43B4207C0E55860F1812BC4E@eusaamb103.ericsson.se>
In-Reply-To: <2E4BB27CAB87BF43B4207C0E55860F1812BC4E@eusaamb103.ericsson.se>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [147.117.188.10]
Content-Type: multipart/alternative; boundary="_000_2F3EBB88EC3A454AAB08915FBF0B8C7E03055F87eusaamb109erics_"
MIME-Version: 1.0
X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFnrPLMWRmVeSWpSXmKPExsUyuXRPuO6rX4XBBs9/WVs8/naI3eLd2WYW ByaPKb83snosWfKTKYApissmJTUnsyy1SN8ugSvjQ+MLpoLlyxgrpl9Zz97AeH4CYxcjJ4eE gIlE49f1TBC2mMSFe+vZuhi5OIQEjjJKPJhznQUkISSwnFGi80gkiM0moCPx7XoXM0iRiEAH o8TCh9PBJgkLyEl87jgKNklEQF6i8cdaVgg7SqJnwxN2EJtFQFXi+OtGoA0cHLwCvhJ9k8oh lm1ilGjubgCr4RTwkThwfyEziM0IdNH3U2vAZjILiEvcejIf6lIBiSV7zjND2KISLx//Y4Ww lSQmLT3HClGfL9HZvRvM5hUQlDg58wnLBEaRWUhGzUJSNgtJGURcR2LB7k9sELa2xLKFr5lh 7DMHHjMhiy9gZF/FyFFanFqWm25ksIkRGEPHJNh0dzDueWl5iFGAg1GJh3fB7IJgIdbEsuLK 3EOM0hwsSuK8BV9ig4UE0hNLUrNTUwtSi+KLSnNSiw8xMnFwSjUwrng7W+Z9AKfqR8VbezKY o6ccaV6TKGMsuJVPW+2745zslTLc+lICIiVlV2R66oKeNjDfNJ2Y0Pdu1+dU+xkPaxl/iAZ/ 2JcaxHXhWKT1FMu7V+sjvnbMqlQ+f0Olo05uxmQp4+NFrbaTJKb+e2M72UX/mb7DM4GIu9kF l74sWccwL/5+efQ9JZbijERDLeai4kQAHOYE6oICAAA=
Archived-At: http://mailarchive.ietf.org/arch/msg/l2vpn/5b7v2LuyKOGSczsBlgsONOH5VJ8
X-BeenThere: l2vpn@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Layer 2 Virtual Private Networks <l2vpn.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/l2vpn>, <mailto:l2vpn-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/l2vpn/>
List-Post: <mailto:l2vpn@ietf.org>
List-Help: <mailto:l2vpn-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/l2vpn>, <mailto:l2vpn-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 13 May 2014 16:37:42 -0000

How do we write code for the receiver if it receives different labels on the different MAC routes?
Say we receive, in order:
MAC1/IP1 Label1
MAC1/no-IP Label2
MAC1/IP2 Label1

The sender might have sent, in order:
MAC1/IP1 Label1
MAC1/IP2 Label1
MAC1/no-IP Label2

A route reflector can reflect routes in a different order than it received them.
Which label should the receiver program?

Thanks,
Jakob.


From: Antoni Przygienda
Sent: Tuesday, May 13, 2014 9:06 AM
To: Ali Sajassi (sajassi); Jakob Heitz; l2vpn@ietf.org
Subject: RE: MAC route with IP

inline

From: Ali Sajassi (sajassi) [mailto:sajassi@cisco.com]
Sent: Tuesday, May 13, 2014 8:45 AM
To: Antoni Przygienda; Jakob Heitz; l2vpn@ietf.org<mailto:l2vpn@ietf.org>
Subject: Re: MAC route with IP

Antoni,

From: Antoni Przygienda <antoni.przygienda@ericsson.com<mailto:antoni.przygienda@ericsson.com>>
Date: Sunday, May 11, 2014 11:23 PM
To: Cisco Employee <sajassi@cisco.com<mailto:sajassi@cisco.com>>, Jakob Heitz <jakob.heitz@ericsson.com<mailto:jakob.heitz@ericsson.com>>, "l2vpn@ietf.org<mailto:l2vpn@ietf.org>" <l2vpn@ietf.org<mailto:l2vpn@ietf.org>>
Subject: RE: MAC route with IP

Ali,

there are at least two cases when receiving updates from peers which are tad hairy given the encoding:


1.       We receive a MAC/no-IP  & a set of MAC/IP routes & then someone just withdraws the MAC/no-IP.  It does not seem very logical that the MAC/IP routes are still valid to me or at least that could be emphasized in the draft that they do (i.e. all routes are truly independent).

MAC/IP routes will be independent from MAC-only route. If both are advertised, then withdrawing the MAC/IP route should clean up the ARP table but not remove the entry in the MAC-VRF.
[Tony said] ack, I understood that & the draft read carefully states that in ARP/ND procedures. I would mildly suggest to explicitly state what you write in the draft prominently since this question will come up persistently and misinterpretation of that clause will cause hard-to-track interop problems.


2.       Since we have mac based disposition there is nothing that prevents a neighbor to advertise multiple MAC/IP routes with different labels.  It should obviously not imply that we have to lookup the IP address on the packet (if we even have one) to decide which label is needed.  Should all this labels be considered pointing to the same MAC & equivalent ? Such a condition considered invalid transient and MAC labels for this MAC ignored completely ?  What if we get one route with the label & another without ? We use the label nevertheless for the same MAC ?

The label represents the MAC address in case of label per MAC advertisement. So, even when you advertise multiple IP addresses for the same MAC, they all should use the same label.
[Tony said] the 'should' will not help resolve the possible issue. I would suggest for the draft to clearly state a 'SHOULD' and specify desired behavior when this clause is violated, as in: SHOULD/MAY log an error and MAY use any of the advertised labels.

And my final interesting observation:

               A single primary/single backup case would be simple & easy, the way the protocol spec stands today, I don't think there is anything that prevents it from operating in  multiple-primaries, multiple-backup mode  (as in two guys clear the single-active bits & all other set them) [unless I misunderstood something massively].   Do we load balance the primaries until both fail & then either flood (multiple backups) or fail back on the secondary ?

For a given ES, all PEs should advertise the same redundancy group mode (either all-active or single-active mode) for that ES. Otherwise, an error should be logged.
[Tony said] Again, a 'SHOULD' in the draft would be good as well: "An error MUST be logged"  would be very desirable.

So, I agree with all you say, Ali, it's just I think this things deserve explicit statements in the draft due to potential of causing hard-to-track deployments bugs and therefore easing up the life of the operators chasing stuff like this (e.g. the last one could be a genuine hard-to-track misconfig).