RE: MAC route with IP
Antoni Przygienda <antoni.przygienda@ericsson.com> Tue, 13 May 2014 16:49 UTC
Return-Path: <antoni.przygienda@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 780641A0170
for <l2vpn@ietfa.amsl.com>; Tue, 13 May 2014 09:49:54 -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 gRXKyEIjHvAh for <l2vpn@ietfa.amsl.com>;
Tue, 13 May 2014 09:49:45 -0700 (PDT)
Received: from usevmg20.ericsson.net (usevmg20.ericsson.net [198.24.6.45])
by ietfa.amsl.com (Postfix) with ESMTP id C5CA51A0167
for <l2vpn@ietf.org>; Tue, 13 May 2014 09:49:40 -0700 (PDT)
X-AuditID: c618062d-f79c96d000001cfc-df-5371fdcb67da
Received: from EUSAAHC005.ericsson.se (Unknown_Domain [147.117.188.87])
by usevmg20.ericsson.net (Symantec Mail Security) with SMTP id
15.D2.07420.BCDF1735; Tue, 13 May 2014 13:11:07 +0200 (CEST)
Received: from EUSAAMB103.ericsson.se ([147.117.188.120]) by
EUSAAHC005.ericsson.se ([147.117.188.87]) with mapi id 14.03.0174.001; Tue,
13 May 2014 12:49:30 -0400
From: Antoni Przygienda <antoni.przygienda@ericsson.com>
To: "Ali Sajassi (sajassi)" <sajassi@cisco.com>, Jakob Heitz
<jakob.heitz@ericsson.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//9X0YAACFF1AA==
Date: Tue, 13 May 2014 16:49:29 +0000
Message-ID: <2E4BB27CAB87BF43B4207C0E55860F1812BCE4@eusaamb103.ericsson.se>
References: <2F3EBB88EC3A454AAB08915FBF0B8C7E03055F87@eusaamb109.ericsson.se>
<CF9798C1.D39C0%sajassi@cisco.com>
In-Reply-To: <CF9798C1.D39C0%sajassi@cisco.com>
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_2E4BB27CAB87BF43B4207C0E55860F1812BCE4eusaamb103ericsso_"
MIME-Version: 1.0
X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFnrHLMWRmVeSWpSXmKPExsUyuXRPuO7pv4XBBku36lk8/naI3eLd2WYW
ByaPKb83snosWfKTKYApissmJTUnsyy1SN8ugSvj8b8TLAVd05kqDnWvYW9gbPjB2MXIySEh
YCKx6PZ3NghbTOLCvfVANheHkMBRRomvPW2sIAkhgeWMEm92hoPYbAIWEpe/PWUGsUUEaiQW
fnsPViMsICfxueMoE0RcXqLxx1pWCDtL4tnZx+wgNouAqsStmUdZQGxeAW+Jv2t7GSHmF0n0
/vgDFucU0JdYerQfrJ4R6KDvp9aAzWQWEJe49WQ+E8ShAhJL9pxnhrBFJV4+/scKYStJTFp6
jhWiPl9i3byTbBC7BCVOznzCMoFRZBaSUbOQlM1CUgYR15FYsPsTG4StLbFs4WtmGPvMgcdM
yOILGNlXMXKUFqeW5aYbGWxiBEbQMQk23R2Me15aHmIU4GBU4uFdMLsgWIg1say4MvcQozQH
i5I4b8GX2GAhgfTEktTs1NSC1KL4otKc1OJDjEwcnFINjDVTavq4PytIKudMdH/91n+F0Cu3
2U7TbZ+p1F2VXdpxYPUG45U/C9+s+JDxMOS2/kPHNpvbQiEXDQR0zhTO3PlLqy776iLGwiOm
aeavJXhmri84rdvfdOzIjJ/qn0yuL3gvs2lDc9NZVflpc4My12jH3RYRT+fev9jwslPb0lQp
GZO/ilpWZ5VYijMSDbWYi4oTAUoH/mCBAgAA
Archived-At: http://mailarchive.ietf.org/arch/msg/l2vpn/3NmW9108bpjJwEYJWoDnKr70PLg
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:49:55 -0000
Ali, as far I saw, small 'shoulds' never prevented a protocol from doing stuff like this intentionally or unintentionally once enough people took a stab @ it. In my experience, the price in a spec of dense, non-orthogonal encodings like this one is certain amount of verbiage necessary to resolve the collisions or behavior intended on some such. I concur with Jakob as to clarification of this verbosely as well as the MAC, MAC/IP route advertisements. I spoke up, chiming out now. Again, I think it's a great spec of high importance, otherwise I wouldn't be thinking through the possible implications of remaining corner-cases ;-) --- tony From: Ali Sajassi (sajassi) [mailto:sajassi@cisco.com] Sent: Tuesday, May 13, 2014 9:43 AM To: Jakob Heitz; Antoni Przygienda; l2vpn@ietf.org Subject: Re: MAC route with IP The labels should all be the same. In case of EVI-based disposition, the label identifies the EVI and a MAC lookup is performed based on the MAC. Thus, the order of routes in which they are received, doesn't matter. Cheers, Ali From: Jakob Heitz <jakob.heitz@ericsson.com<mailto:jakob.heitz@ericsson.com>> Date: Tuesday, May 13, 2014 9:37 AM To: Antoni Przygienda <antoni.przygienda@ericsson.com<mailto:antoni.przygienda@ericsson.com>>, Cisco Employee <sajassi@cisco.com<mailto:sajassi@cisco.com>>, "l2vpn@ietf.org<mailto:l2vpn@ietf.org>" <l2vpn@ietf.org<mailto:l2vpn@ietf.org>> Subject: RE: MAC route with IP 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<mailto: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).
- MAC route with IP Jakob Heitz
- Re: MAC route with IP Ali Sajassi (sajassi)
- RE: MAC route with IP Jakob Heitz
- Re: MAC route with IP Ali Sajassi (sajassi)
- RE: MAC route with IP Jakob Heitz
- RE: MAC route with IP Antoni Przygienda
- Re: MAC route with IP Ali Sajassi (sajassi)
- RE: MAC route with IP Antoni Przygienda
- Re: MAC route with IP Ali Sajassi (sajassi)
- RE: MAC route with IP Jakob Heitz
- Re: MAC route with IP Ali Sajassi (sajassi)
- Re: MAC route with IP Ali Sajassi (sajassi)
- RE: MAC route with IP Jakob Heitz
- Re: MAC route with IP Ali Sajassi (sajassi)
- RE: MAC route with IP Jakob Heitz
- RE: MAC route with IP Jakob Heitz
- RE: MAC route with IP Antoni Przygienda
- Re: MAC route with IP Ali Sajassi (sajassi)
- RE: MAC route with IP Jakob Heitz
- Re: MAC route with IP Rabadan, Jorge (Jorge)
- RE: MAC route with IP Jakob Heitz
- Re: MAC route with IP Ali Sajassi (sajassi)
- Re: MAC route with IP Rabadan, Jorge (Jorge)
- RE: MAC route with IP John E Drake
- RE: MAC route with IP John E Drake
- Re: MAC route with IP Ali Sajassi (sajassi)
- Re: MAC route with IP Rabadan, Jorge (Jorge)
- Re: MAC route with IP Aldrin Isaac
- Re: MAC route with IP Ali Sajassi (sajassi)
- RE: MAC route with IP Jakob Heitz
- Re: MAC route with IP Aldrin Isaac
- Re: MAC route with IP Ali Sajassi (sajassi)
- Re: MAC route with IP Jakob Heitz
- Re: MAC route with IP Ali Sajassi (sajassi)
- Re: MAC route with IP Jakob Heitz
- Re: MAC route with IP Aldrin Isaac
- Re: MAC route with IP Aldrin Isaac
- RE: MAC route with IP Jakob Heitz
- RE: MAC route with IP Linda Dunbar