TRILL WG RadiaInternet Engineering Task Force (IETF) R. PerlmanInternet-DraftRequest for Comments: 8384 Dell EMCIntended status:Category: Standards TrackFangweiF. HuExpires: September 12, 2018ISSN: 2070-1721 ZTE CorporationDonaldD. EastlakeTing3rd T. Liao Huawei TechnologiesMar 11,July 2018TRILLTransparent Interconnection of Lots of Links (TRILL) Smart Endnodesdraft-ietf-trill-smart-endnodes-11.txtAbstract Thisdraftdocument addresses the problem of the size and freshness of the endnode learning table in edgeRBridges,Routing Bridges (RBridges), by allowing endnodes to volunteer for endnode learning and encapsulation/decapsulation. Such an endnode is known as a "Smart Endnode". Only the attached edge RBridge can distinguish a "Smart Endnode" from a "normal endnode". The Smart Endnode uses the nickname of the attached edge RBridge, so this solution does not consume extra nicknames. The solution also enablesFine Grainedendnodes that are Fine-Grained Labelaware endnodes.(FGL) aware. Status of This Memo ThisInternet-Draftissubmitted in full conformance with the provisions of BCP 78 and BCP 79. Internet-Drafts are working documentsan Internet Standards Track document. This document is a product of the Internet Engineering Task Force (IETF).Note that other groups may also distribute working documents as Internet-Drafts. The listIt represents the consensus ofcurrent Internet- Drafts is at https://datatracker.ietf.org/drafts/current/. Internet-Drafts are draft documents validthe IETF community. It has received public review and has been approved fora maximumpublication by the Internet Engineering Steering Group (IESG). Further information on Internet Standards is available in Section 2 ofsix monthsRFC 7841. Information about the current status of this document, any errata, and how to provide feedback on it may beupdated, replaced, or obsoleted by other documentsobtained atany time. It is inappropriate to use Internet-Drafts as reference material or to cite them other than as "work in progress." This Internet-Draft will expire on September 12, 2018.https://www.rfc-editor.org/info/rfc8384. Copyright Notice Copyright (c) 2018 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. Table of Contents 1. Introduction . . . . . . . . . . . . . . . . . . . . . . . . 2 2. ConventionsusedUsed inthis documentThis Document . . . . . . . . . . . . . . 3 2.1. Terminology . . . . . . . . . . . . . . . . . . . . . . . 3 2.2. Requirements Language . . . . . . . . . . . . . . . . . . 4 3. Solution Overview . . . . . . . . . . . . . . . . . . . . . . 4 4. Smart-Hello Mechanism between Smart Endnode and RBridge . . . 5 4.1. Smart-Hello Encapsulation . . . . . . . . . . . . . . . . 6 4.2. Edge RBridge's Smart-Hello . . . . . . . . . . . . . . . 7 4.3. Smart Endnode's Smart-Hello . . . . . . . . . . . . . . . 7 5.Data PacketProcessing Data Packets . . . . . . . . . . . . . . . . . . . 9 5.1.Data PacketData-Packet Processing for SmartEndnodeEndnodes . . . . . . . . 9 5.2.Data PacketData-Packet Processing for Edge RBridge . . . . . . . . . 10 6.Multi-homingMultihoming Scenario . . . . . . . . . . . . . . . . . . . . 11 7. Security Considerations . . . . . . . . . . . . . . . . . . . 12 8. IANA Considerations . . . . . . . . . . . . . . . . . . . . . 13 9.AcknowledgementsReferences . . . . . . . . . . . . . . . . . . . . . . . . . 1310.9.1. Normative References . . . . . . . . . . . . . . . . . . 13 9.2. Informative References . . . . . . .13 10.1. Informative References .. . . . . . . . . . 15 Acknowledgements . . . . . .13 10.2. Normative References. . . . . . . . . . . . . . . . . .1415 Authors' Addresses . . . . . . . . . . . . . . . . . . . . . . . 15 1. Introduction The IETF TRILL (Transparent Interconnection of Lots of Links) protocol [RFC6325] [RFC7780] provides optimal pair-wise data frame forwarding without configuration, safe forwarding even during periods of temporary loops, and support for multipathing of both unicast and multicast traffic. TRILL accomplishes this by using IS-IS [IS-IS] [RFC7176] link state routing and encapsulating traffic using a header that includes a hop count. Devices that implement TRILL are called "RBridges" (Routing Bridges) or "TRILL Switches". An RBridge that attaches to endnodes is called an "edge RBridge" or "edge TRILL Switch", whereas one that exclusively forwards encapsulated frames is known as a "transit RBridge" or "transit TRILL Switch". An edge RBridge traditionally is the one that encapsulates a native Ethernet frame with a TRILLheader,header or that receives aTRILL-encapsulatedTRILL- encapsulated packet and decapsulates the TRILL header. To encapsulate efficiently, the edge RBridge must keep an "endnode table" consisting of(MAC,(Media Access Control (MAC), Data Label, TRILL egress switch nickname) sets, for those remote MAC addresses in Data Labels currently communicating with endnodes to which the edge RBridge is attached. These table entries might be configured, received fromESADIEnd Station Address Distribution Information (ESADI) [RFC7357], looked up in a directory [RFC7067], or learned from decapsulating received traffic. If the edge RBridge has attached endnodes communicating with many remote endnodes, this table could become very large. Also, ifone of thea MACaddresses andaddress / DataLabelsLabel pair in the tablehashave moved to a different remote TRILL switch, it might be difficult for the edge RBridge to notice thisquickly,quickly; and because the edge RBridge is encapsulating to the incorrect egress RBridge, the traffic will get lost. 2. ConventionsusedUsed inthis documentThis Document 2.1. Terminology BUM: Broadcast, Unknown unicast, and Multicast. Edge RBridge: An RBridge providing endnode service on at least one of its ports. It is also called an edge TRILL Switch. Data Label: VLAN or FGL. DRB: Designated RBridge [RFC6325]. ESADI: End Station Address Distribution Information [RFC7357]. FGL:Fine GrainedFine-Grained Label [RFC7172]. IS-IS: Intermediate System to Intermediate System [IS-IS]. LSP: Link State PDU. PDU: Protocol Data Unit. RBridge: Routing Bridge, an alternative name for a TRILL switch. Smart Endnode: An endnode that has the capability specified in this document including learning and maintaining (MAC, Data Label,Nickname)nickname) entries and encapsulating/decapsulating TRILL frame. Transit RBridge: An RBridge that exclusively forwards encapsulated frames. It is also called a transit TRILL Switch. TRILL: Transparent Interconnection of Lots of Links [RFC6325][RFC7780]. TRILL ES-IS: TRILL End System to Intermediate System, is a variation of TRILL IS-IS designed to operate on a TRILL link among and between one or more TRILL switches and end stations on thatlink[RFC8171].link [RFC8171]. TRILL Switch: a device that implements the TRILL protocol; an alternative term for an RBridge. 2.2. Requirements Language The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "NOT RECOMMENDED", "MAY", and "OPTIONAL" in this document are to be interpreted as described in BCP 14 [RFC2119] [RFC8174] when, and only when, they appear in all capitals, as shown here. 3. Solution Overview The Smart Endnode solution defined in this document addresses the problem of the size and freshness of the endnode learning table in edge RBridges. An endnode E, attached to an edge RBridge R, tells R that E would like to be a "Smart Endnode", which means that E will encapsulate and decapsulate the TRILL frame, using R's nickname. Because E uses R's nickname, this solution does not consume extra nicknames. Take Figure 1 as the example Smart Endnode scenario: RB1,RB2RB2, and RB3 are the RBridges in the TRILLdomain,domain and SE1 and SE2 are the Smart Endnodeswhichthat can encapsulate and decapsulate the TRILL packets. RB1 is the edge RBthatto which SE1 and SE2 haveattached to.attached. RB1 assigns one of its nicknames to be used by SE1 and SE2. Each Smart Endnode, SE1 and SE2, uses RB1's nickname whenencapsulating,encapsulating and maintains an endnode table of (MAC,label,Data Label, TRILL egress switch nickname) for remote endnodes that it (SE1 or SE2) is corresponding with. RB1 does not decapsulate packets destined for SE1 orSE2,SE2 and does not learn (MAC,label,Data Label, TRILL egress switch nickname) for endnodes corresponding with SE1 or SE2, but RB1 doesdecapsulate,decapsulate and does learn (MAC,label,Data Label, TRILL egress switch nickname) for any endnodes attached to RB1 that have not declared themselves to be Smart Endnodes. Just as an RBridge learns and times out (MAC,label,Data Label, TRILL egress switch nickname), Smart Endnodes SE1 and SE2 also learn and time out endnode entries. However, SE1 and SE2 might also determine, through ICMP messages or other techniques that an endnode entry is not successfully reaching the destination endnode, and it can be deleted, even if the entry has not timed out. If SE1 wishes to correspond with destination MAC D, and no endnode entry exists, SE1 will encapsulate the packet as an unknown destination, orconsultingconsult a directory [RFC7067] (just as an RBridge would do if there was no endnode entry). +----------+ |SE1(Smart | |Endnode1) | \ +------------------------------+ +----------+ \ / \ \ /+------+ +------+ +-----+ \ +-----------+ /-+-| RB 1 |---| RB2 |----| RB3 |-----+--|Endnode3 | / | +------+ +------+ +-----+ | |MAC=D | +----------+ / \ / +-----------+ |SE2(Smart | \ / | Endnode2)| +------------------------------+ +----------+ Figure11: Smart Endnode Scenario The mechanism in thisdraftdocument is that the Smart Endnode SE1 issues a Smart-Hello, indicating SE1's desire to act as a Smart Endnode, together with the set of MAC addresses and Data Labels that SE1 owns. The Smart-Hello is used to announce the Smart Endnode capability and parameters (such as MAC address, DataLabelLabel, etc.). The Smart-Hello is a type of TRILL ES-IS PDU, which is specified insectionSection 5 of [RFC8171]. The detailed content for a Smart Endnode's Smart-Hello is defined insectionSection 4. If RB1 supports having a Smart Endnodeneighborneighbor, it also sends Smart- Hellos. The Smart Endnode learns from RB1's Smart-Hellos what RB1's nickname is and which trees RB1 can use when RB1 ingresses multi- destination frames. Although Smart Endnode SE1 transmits Smart- Hellos, it does not transmit or receiveLSPsLink State PDUs (LSPs) orE-L1FS FS-LSPsExtended Level 1 Flooding Scope (E-L1FS) FS LSPs [RFC7780]. Since a Smart Endnode can encapsulate TRILL Data packets, it can cause theInner.LableInner.Label to be aFine GrainedFine-Grained Label[RFC7172], thus[RFC7172]; thus, this method supportsFGL awareFGL-aware endnodes. When and how a Smart Endnode decides to use the FGL instead of VLANs to encapsulate the TRILL Data packet is out of scope in this document. 4. Smart-Hello Mechanism between Smart Endnode and RBridge The subsections below describe Smart-Hello messages. 4.1. Smart-Hello Encapsulation Although a Smart Endnode is not an RBridge, does not send LSPs or maintain a copy of the link state database, and does not perform routing calculations, it is required to have a "Hello" mechanism (1) to announce to edge RBridges that it is a Smart Endnode and (2) to tell them what MAC addresses it is handling in what Data Labels. Similarly, an edge RBridge that supports Smart Endnodes needs a message (1) to announce that support, (2) to inform Smart Endnodes what nickname to use for ingress and what nickname(s) can be used as egress nickname in a multi-destination TRILL Data packet, and (3) the list of Smart Endnodes it knows about on that link. The messages sent by Smart Endnodes and by edge RBridges that support Smart Endnodes are called "Smart-Hellos". The Smart-Hello is a type of TRILL ES-IS PDU, which is specified in [RFC8171]. The Smart-Hello Payload, both for Smart-Hellos sent by Smart Endnodes and for Smart-Hellos sent byEdgeedge RBridges, consists of TRILL IS-IS TLVs as described in the following twosub-sections.subsections. Thenon- extendednon-extended format is used so TLVs, sub-TLVs, and APPsub-TLVs have an 8-bit size and type field. Both types of Smart-Hellos MUST include aSmart-ParametersSmart- Parameters APPsub-TLV as follows inside a TRILL GENINFO TLV: +-+-+-+-+-+-+-+-+- |Smart-Parameters| (1 byte) +-+-+-+-+-+-+-+-+- | Length | (1 byte) +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Holding Time | (2 bytes) +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Flags | (2 bytes) +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Figure2 Smart Parameters2: Smart-Parameters APPsub-TLV o Type: APPsub-TLV type Smart-Parameters, value isTBD1.22. o Length: 4. o Holding Time: A time in seconds as an unsigned integer. It has the same meaning as the Holding Time field in IS-IS Hellos [IS-IS]. A Smart Endnode and anEdgeedge RBridge supporting Smart Endnodes MUST send a Smart-Hello at least three times during their Holding Time. If no Smart-Hellosisare received from a Smart Endnode orEdgeedge RBridge within the most recent Holding Time it sent, it is assumed that it is no longer available. o Flags: At thistimetime, all of the Flags are reserved and MUST besendsent as zero and ignored on receipt. o If more than oneSmart ParametersSmart-Parameters APPsub-TLV appears in a Smart- Hello, the first one is used and any following ones are ignored. If noSmart Parameters APPsub-TLV appearsSmart-Parameters APPsub-TLVs appear in a Smart-Hello, thatSmart- HelloSmart-Hello is ignored. 4.2. Edge RBridge's Smart-Hello The edge RBridge's Smart-Hello contains the following information in addition to the Smart-Parameters APPsub-TLV: o RBridge's nickname. The nickname sub-TLV, specified insectionSection 2.3.2 in [RFC7176], is reused here carried inside a TLV 242 (IS-IS router capability) in a Smart-Hello frame. If more than one nickname appears in the Smart-Hello, the first one is used and the following ones are ignored. o Trees that RB1 can use when ingressing multi-destination frames. The Tree IdentifiersSub-TLV,sub-TLV, specified insectionSection 2.3.4 in [RFC7176], is reused here. o Smart Endnode neighbor list. The TRILL Neighbor TLV, specified in section 2.5 in [RFC7176], is reused for this purpose. o An Authentication TLV MAY also be included. 4.3. Smart Endnode's Smart-Hello A new APPsub-TLV (Smart-MAC TLV)is definedfor use by Smart Endnodes is as defined below. In addition, there will be a Smart-ParametersAPPsub-TLVAPPsub- TLV and there MAY be an Authentication TLV in a Smart EndnodeSmart-Hello.Smart- Hello. If there are several VLANs/FGL Data Labels for that Smart Endnode, the Smart-MAC APPsub-TLV is included several times in the Smart Endnode's Smart-Hello. This APPsub-TLV appears inside a TRILL GENINFO TLV. +-+-+-+-+-+-+-+-+ |Type=Smart-MAC | (1 byte) +-+-+-+-+-+-+-+-+ | Length | (1 byte) +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ |F|M| RSV | VLAN/FGL Data Label | (4 bytes) +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-...+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | MAC (1) (6 bytes) | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-...+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | ................. | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-...+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | MAC (N) (6 bytes) | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-...+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Figure33: Smart-MAC APPsub-TLV o Type: TRILL APPsub-TLV Type Smart-MAC, value isTBD2.23. o Length: Total number of bytes contained in the value field of the TLV, that is, the sum of the length of the F/M/RSV/FGL Data Label fields and6six times the number of MAC addresses present. So, if there are n MAC addresses, this is 4+6*n. o F: 1 bit. If it is set to 1, it indicates that the endnode supports FGLdata labelsData Labels [RFC7172], and that this Smart-MACAPPsub- TLVAPPsub-TLV has an FGL in the following VLAN/FGL field. Otherwise, theVLAN/ FGLVLAN/FGL Data Label field is a VLANID.(SeeID. (See below for the format of the VLAN/FGL Data Label field). o M: 1 bit. If it is set to 1, it indicatesmulti-homing(Seemultihoming (see Section 6). If it is set to 0, it indicates that the Smart Endnodes are not usingmulti-homing.multihoming. o RSV: 6bits, isbits; reserved for the future use. o VLAN/FGL Data Label:24bits.24 bits. If F is 1, this field is a 24-bit FGL Data Label for all subsequent MAC addresses in thisAPPsub-TLV.APPsub- TLV. Otherwise, if F is 0, the lower 12 bitsisare the VLAN of all subsequent MAC addresses in this APPsub-TLV, and the upper 12 bitsisare notused(sentused (sent as zero and ignored on receipt). If there is no VLAN/FGLdata labelData Label specified, the VLAN/FGL Data Label is zero. o MAC(i): This is a 48-bit MAC address reachable in the Data Label sent by the Smart Endnode that is announcing this APPsub-TLV. 5.Data PacketProcessing Data Packets The subsections below specify the processing of Smart Endnode datapacket processing.packets. All TRILL Data packets sent to or from Smart Endnodes are sent in the Designated VLAN [RFC6325] of the local link but do not necessarily have to be VLAN tagged. 5.1.Data PacketData-Packet Processing for SmartEndnodeEndnodes A Smart Endnode does not issue or receive LSPs or E-L1FSFS-LSPsFS LSPs or calculate topology. It does the following: o A Smart Endnode maintains an endnode table of (the MAC address of remote endnode, Data Label, the nickname of the edge RBridge's attached) entries of end nodes with which the Smart Endnode is communicating. Entries in this table are populated the same way that an edge RBridge populates the entries in its table: * learning from (source MAC address ingress nickname) on packets it decapsulates. * by querying a directory [RFC7067]. * by having some entries configured. o When Smart Endnode SE1 wishes to send unicast frame to remote node D, if the (MAC address of remote endnode D, Data Label, nickname) entry is in SE1's endnode table, SE1 encapsulates the ingress nickname as the nickname of theRBridge(RB1),RBridge (RB1), egress nickname as indicated in D's table entry. If D is unknown, SE1 either queries a directory or encapsulates the packet as a multi-destination frame, using one of the trees that RB1 has specified in RB1's Smart-Hello. The mechanism for querying a directory is given in [RFC8171]. o When SE1 wishes to send aBUMBroadcast, Unknown Unicast, and Multicast (BUM) packet to the TRILL campus, SE1 encapsulates the packet using one of the trees that RB1 has specified. If the Smart Endnode SE1 sends a multi-destination TRILL Data packet, the destination MAC of the outer Ethernet is the All-RBridges multicast address. The Smart Endnode SE1 need not send Smart-Hellos as frequently as normal RBridges. These Smart-Hellos could be periodically unicast to the Appointed Forwarder RB1. In case RB1 crashes and restarts, or the DRB changes and SE1 receives the Smart-Hello without mentioning SE1, SE1 SHOULD send a Smart-Hello immediately. If RB1 is Appointed Forwarder for any of the VLANs that SE1 claims, RB1 MUST list SE1 in its Smart-Hellos as a Smart Endnode neighbor. 5.2.Data PacketData-Packet Processing for Edge RBridge The attached edge RBridge processes and forwards TRILL Data packets based on the endnode property rather than for encapsulation and forwarding the native frames the same way as the traditional RBridges. There are several situations for the edge RBridges as follows: o If receiving an encapsulated unicast TRILL Data packet from a port with a Smart Endnode, with RB1's nickname as ingress, the edge RBridge RB1 forwards the frame to the specified egress nickname, as with any encapsulated frame. However, RB1 SHOULD filter the encapsulation frame based on the inner source MAC and Data Label as specified for the Smart Endnode. If the MAC (or Data Label)areis not among the expected entries of the Smart Endnode, the frame would be dropped by the edge RBridge. If the edge RBridge does not perform this check, it makes it easier for a rogue end station to inject bogus TRILL Data packets into the TRILL campus. o If receiving a unicast TRILL Data packet with RB1's nickname as egress from the TRILL campus, and the destination MAC address in the enclosed packet is a MAC address that has been listed by a"Smart Endnode",Smart Endnode, RB1 leaves the packet encapsulated to that Smart Endnode. The outer Ethernet destination MAC is the destination Smart Endnode's MAC address, the inner destination MAC address is either the Smart Endnode's MAC address or some other MAC address that the Smart Endnode advertised in its Smart Hello, and the outer Ethernet source MAC address is the RB1's port MAC address. The edge RBridge still decreases the Hop count value by 1, for there is one hop between the RB1 and Smart Endnode. o If receiving a multi-destination TRILL Data packet from a port with a Smart Endnode, RBridge RB1 forwards the TRILL encapsulation to the TRILL campus based on the distribution tree indicated by the egress nickname. If the egress nickname does not correspond to a distribution tree, the packet is discarded. If there are any normal endnodes(i.e, non-Smart(i.e., endnodes that are not Smart Endnodes) attached to the edge RBridge RB1, RB1 decapsulates the frame and sends the native frame to these ports possibly pruned based on multicast listeners, in addition to forwarding themulti-destinationmulti- destination TRILL frame to the rest of the campus. o If RB1 receives a native multi-destination data frame, which is sent by an endnode that is not anon-SmartSmart Endnode, from a port, including hybrid endnodes (Smart Endnodes andnon-Smartendnodes that are not Smart Endnodes), RB1 will encapsulate it as multi-destination TRILL Datapacket ,packet, and send the encapsulated multi-destination TRILL DataPacketpacket out that same port to the Smart Endnodes attached to the port, and also send the encapsulated multi- destination TRILL DataPacketpacket to the TRILL campus through other ports. o If RB1 receives a multi-destination TRILL Data packet from a remote RBridge, and the exit port includes hybridendnodes(Smartendnodes (Smart Endnodes andnon-Smartendnodes that are not Smart Endnodes), it sends two copies of multicast frames out the port, one as native and the other asTRILL encapsulateda TRILL-encapsulated frame. When a Smart Endnode receives a multi-destination TRILL Data packet, it learns the remote (MAC address, Data Label,Nickname)nickname) entry. A SmartEndnodesEndnode ignores native data frames. A normal (non-Smart)Endnodeendnode receives the native frame and learns the remote MAC address and ignores the TRILLdataData packet. This transit solution may bring some complexity for the edge RBridge and waste network bandwidth resource, so avoiding the hybrid endnodes scenario by attaching the endnodes that are SmartEndnodesand non-SmartEndnodesto different ports is RECOMMENDED. 6.Multi-homingMultihoming ScenarioMulti-homingMultihoming is a common scenario for the Smart Endnode. The Smart Endnode is on a link attached to the TRILL domain in two places:toedgeRBridgeRBridges RB1 and RB2. Takethe figure belowFigure 4 as an example. The Smart Endnode SE1 is attached to the TRILL domain by RB1 and RB2 separately. Both RB1 and RB2 could announce their nicknames to SE1. . ..................... . +------+ . . | RB1 | . . /+------+ . +----------+ ./ +-----+ . +----------+ |SE1(Smart |/. | RB3 |......| Smart | | Endnode1)| .\ +-----+ . | Endnode2 | +----------+ . \ . +----------+ . +-----+ . . | RB2 | TRILL . . +-----+ Domain . ....................... Figure4 Multi-homing4: Multihoming Scenario Smart Endnode SE1 can choose either the nickname of RB1 orRB2's nickname,RB2 when encapsulating and forwarding a TRILLdataData packet. If the active- active load balance is considered for themulti-homingmultihoming scenario, the Smart Endnode SE1 could use both the nickname of RB1 andRB2's nicknameRB2 to encapsulate and forward TRILL Data packet. SE1 uses RB1's nickname when forwarding throughRB1,RB1 and RB2's nickname when forwarding through RB2. This will cause MACflip-flopping(seeflip-flopping (see [RFC7379]) of the endnode table entry in the remote RBridges (or Smart Endnodes). The solution for the MAC flip-flopping issue is to set amulti- homingmultihoming bit in the RSV field of the TRILLdataData packet. When remote RBridge RB3 or Smart Endnodesreceivesreceive a data packet with themulti-homedmultihomed bit set, the endnode entries (SE1's MAC address, label, RB1's nickname) and (SE1's MAC address, label, RB2's nickname) will coexist as endnode entries in the remote RBridge. (An alternative solution would be to use the ESADI protocol to distribute multiple attachments of a MAC address of amulti-homing group,multihoming group. The ESADI is deployed among the edge RBridges(See section(see Section 5.3 of[RFC7357])).[RFC7357]). 7. Security Considerations Smart-Hellos can be secured by using Authentication TLVs based on [RFC5310]. If they are not secured, then it is easier for a rogue end station that does not posses the required keying material to be falsely recognized as a valid Smart Endnode. For general TRILL Security Considerations, see [RFC6325]. As stated there, since end stations are connected to edge RBridge ports by Ethernet, those ports MAY require end stations to authenticate themselves using [IEEE802.1X] and authenticate and encrypt traffic to/from the RBridge port with [IEEE802.1AE]. If they misbehave, Smart Endnodes can forge arbitrary ingress and egress nicknames in the TRILLHeadersheaders of the TRILL Data packets they construct. Decapsulating at egress RBridges or remote Smart Endnodes that believe such a forged ingress nickname would send future traffic destined for theinner sourceinner-source MAC address of the TRILLDatadata frame to the wrong edge RBridge ifdata planedata-plane learning is in use. Because of this, an RBridge port should not be configured to support Smart Endnodes unless the end stations on that link are trusted or can be adequately authenticated. As with any end station, Smart Endnodes can forge the outer MAC addresses of packets they send(See(see Section 6 of [RFC6325].) Because they encapsulate TRILL Data packets, they can also forge inner MAC addresses. The encapsulation performed by Smart Endnodes also means they can send data in any DataLabelLabel, which means they must be trusted in order to enforce a security policy based on Data Labels. The TRILL-Hello is a type of TRILLES-IS,ES-IS and is defined in [RFC8171]. Receiving and processing TRILL-Hello for RBridges and Smart Endnodes would not bring more security and vulnerability issues than the TRILL ES-IS security defined in [RFC8171]. For added security against the compromise of data due to itsmis- deliverymisdelivery for any reason, including the above, end-to-end encryption and authentication should be considered; that is, encryption and authentication from source end station to destination end station. The mechanism described in this document requires Smart Endnodes to be aware of the MAC address(es) of the TRILL edge RBridge(s) to which they are attached and the egress RBridge nickname from which the destination of the packets is reachable. With that information, Smart Endnodes can learn a substantial amount about the topology of the TRILL domain. Therefore, there could be a potential security risk when the Smart Endnodes are not trusted or are compromised. 8. IANA Considerations IANAis requested to allocatehas allocated APPsub-TLV type numbers for theSmart- MACSmart-MAC and Smart-ParametersAPPsub-TLVs from the range below 256 and update theAPPsub-TLVs. The "TRILL APPsub-TLV Types underIS-ISIS- IS TLV 251 Application Identifier 1" registry has been updated as follows.+-----------+-------------------+------------------++-----------+-------------------+------------+ | Protocol | Description | Reference |+-----------+-------------------+------------------++-----------+-------------------+------------+ |TBD122 | Smart-Parameters |[this document]RFC 8384 | |TBD223 | Smart-MAC |[this document]RFC 8384 |+-----------+-------------------+------------------++-----------+-------------------+------------+ Table 1 9.Acknowledgements The contributions of the following persons are gratefully acknowledged: Mingui Zhang, Weiguo Hao, Linda Dunbar, Kesava Vijaya Krupakaran and Andrew Qu. 10.References10.1. Informative References [IEEE802.1AE] "IEEE Standard for Local and metropolitan area networks-- Media Access Control (MAC) Security.", 2006. [IEEE802.1X] "IEEE Standard for Local and metropolitan area networks-- Port-Based Network Access Control", 2010. [RFC7067] Dunbar, L., Eastlake 3rd, D., Perlman, R., and I. Gashinsky, "Directory Assistance Problem and High-Level Design Proposal", RFC 7067, DOI 10.17487/RFC7067, November 2013, <https://www.rfc-editor.org/info/rfc7067>. [RFC7379] Li, Y., Hao, W., Perlman, R., Hudson, J., and H. Zhai, "Problem Statement and Goals for Active-Active Connection at the Transparent Interconnection of Lots of Links (TRILL) Edge", RFC 7379, DOI 10.17487/RFC7379, October 2014, <https://www.rfc-editor.org/info/rfc7379>. 10.2.9.1. Normative References [IS-IS]ISO/IEC 10589:2002, Second Edition,, "IntermediateInternational Organization for Standardization, "Information technology -- Telecommunications and information exchange between systems -- Intermediate System to Intermediate SystemIntra-Domain Routing Exchange Protocolintra-domain routeing information exchange protocol for use inConjunctionconjunction with theProtocolprotocol forProvidingproviding theConnectionless-mode Network Serviceconnectionless-mode network service (ISO 8473)", ISO/IEC 10589:2002, Second Edition, 2002. [RFC2119] Bradner, S., "Key words for use in RFCs to Indicate Requirement Levels", BCP 14, RFC 2119, DOI 10.17487/RFC2119, March 1997, <https://www.rfc-editor.org/info/rfc2119>. [RFC5310] Bhatia, M., Manral, V., Li, T., Atkinson, R., White, R., and M. Fanto, "IS-IS Generic Cryptographic Authentication", RFC 5310, DOI 10.17487/RFC5310, February 2009, <https://www.rfc-editor.org/info/rfc5310>. [RFC6325] Perlman, R., Eastlake 3rd, D., Dutt, D., Gai, S., and A. Ghanwani, "Routing Bridges (RBridges): Base Protocol Specification", RFC 6325, DOI 10.17487/RFC6325, July 2011, <https://www.rfc-editor.org/info/rfc6325>. [RFC7172] Eastlake 3rd, D., Zhang, M., Agarwal, P., Perlman, R., and D. Dutt, "Transparent Interconnection of Lots of Links (TRILL): Fine-Grained Labeling", RFC 7172, DOI 10.17487/RFC7172, May 2014, <https://www.rfc-editor.org/info/rfc7172>. [RFC7176] Eastlake 3rd, D., Senevirathne, T., Ghanwani, A., Dutt, D., and A. Banerjee, "Transparent Interconnection of Lots of Links (TRILL) Use of IS-IS", RFC 7176, DOI 10.17487/RFC7176, May 2014, <https://www.rfc-editor.org/info/rfc7176>. [RFC7357] Zhai, H., Hu, F., Perlman, R., Eastlake 3rd, D., and O. Stokes, "Transparent Interconnection of Lots of Links (TRILL): End Station Address Distribution Information (ESADI) Protocol", RFC 7357, DOI 10.17487/RFC7357, September 2014, <https://www.rfc-editor.org/info/rfc7357>. [RFC7780] Eastlake 3rd, D., Zhang, M., Perlman, R., Banerjee, A., Ghanwani, A., and S. Gupta, "Transparent Interconnection of Lots of Links (TRILL): Clarifications, Corrections, and Updates", RFC 7780, DOI 10.17487/RFC7780, February 2016, <https://www.rfc-editor.org/info/rfc7780>. [RFC8171] Eastlake 3rd, D., Dunbar, L., Perlman, R., and Y. Li, "Transparent Interconnection of Lots of Links (TRILL): Edge Directory Assistance Mechanisms", RFC 8171, DOI 10.17487/RFC8171, June 2017, <https://www.rfc-editor.org/info/rfc8171>. [RFC8174] Leiba, B., "Ambiguity of Uppercase vs Lowercase in RFC 2119 Key Words", BCP 14, RFC 8174, DOI 10.17487/RFC8174, May 2017, <https://www.rfc-editor.org/info/rfc8174>. 9.2. Informative References [IEEE802.1AE] IEEE, "IEEE Standard for Local and metropolitan area networks -- Media Access Control (MAC) Security", IEEE 802.1AE. [IEEE802.1X] IEEE, "IEEE Standard for Local and metropolitan area networks -- Port-Based Network Access Control", IEEE 802.1X. [RFC7067] Dunbar, L., Eastlake 3rd, D., Perlman, R., and I. Gashinsky, "Directory Assistance Problem and High-Level Design Proposal", RFC 7067, DOI 10.17487/RFC7067, November 2013, <https://www.rfc-editor.org/info/rfc7067>. [RFC7379] Li, Y., Hao, W., Perlman, R., Hudson, J., and H. Zhai, "Problem Statement and Goals for Active-Active Connection at the Transparent Interconnection of Lots of Links (TRILL) Edge", RFC 7379, DOI 10.17487/RFC7379, October 2014, <https://www.rfc-editor.org/info/rfc7379>. Acknowledgements The contributions of the following persons are gratefully acknowledged: Mingui Zhang, Weiguo Hao, Linda Dunbar, Kesava Vijaya Krupakaran, and Andrew Qu. Authors' Addresses Radia Perlman Dell EMC 176 South Street Hopkinton, MA 01748USAUnited States of America Phone: +1-206-291-367 Email: radiaperlman@gmail.com Fangwei Hu ZTE Corporation No.889 Bibo Rd Shanghai 201203 China Phone: +86 21 68896273 Email: hu.fangwei@zte.com.cn Donald Eastlake Huawei Technologies155 Beaver Street Milford, MA 01757 USA1424 Pro Shop Court Davenport, FL 33896 United States of America Phone: +1-508-634-2066 Email: d3e3e3@gmail.com Ting Liao Huawei Technologies Nanjing, Jiangsu 210012 China Email: liaoting1@huawei.com