To refer to a Layer 3 DLEP Destination, the DLEP session participant adds a Link Identifier Data Item (
Section 3.2) to the relevant Destination Message and (as usual) includes a MAC Address Data Item. When paired with a Link Identifier Data Item, the MAC Address Data Item
MUST contain the MAC address of the Gateway Node.
As only modems are initially aware of Layer 3 DLEP Destinations, Link Identifier Data Items referring to a new link
MUST first appear in a DLEP Destination Up Message from the modem to the router. Once a link has been identified in this way, Link Identifier Data Items may be used by either DLEP participant during the lifetime of a DLEP session. Because of this, a router
MUST NOT send a DLEP Destination Announce Message containing a Link Identifier Data Item referring to a link that has not been mentioned in a prior DLEP Destination Up Message. If a modem receives such a message, it
MUST terminate the session by issuing a Session Termination Message containing a Status Data Item with status code set to 131 ('Invalid Destination') and transition to the Session Termination state. If a router receives a Destination Up Message specifying a Link Identifier that has already been used, the router
MUST respond with a Destination Up Response Message containing a Status Data Item with status code set to 130 ('Invalid Data') and transition to the Session Termination state.
Because the MAC address associated with any DLEP Destination Message containing a Link Identifier Data Item is not the Layer 2 address of the final destination, all DLEP Destination Up Messages containing a Link Identifier Data Item
MUST contain Layer 3 information. In the case of modems that provide Layer 3 wide area network connectivity between devices, this means one or more IPv4 or IPv6 Address Data Items providing the Layer 3 address of the final destination. When referring to some upstream backbone network infrastructures, this means one or more IPv4 or IPv6 Attached Subnet Data Items, for example: '0.0.0.0/0' or '::/0'. This mechanism allows the DLEP peer router to understand the properties of the link to those routes. The address or addresses in the IPv4 or IPv6 Address Data Items
MUST be the addresses in use on the public side of any Network Address Translation.
When the DLEP peer router wishes to route packets to the Layer 3 DLEP Destination, the MAC address associated with the Gateway Node
MUST be used as the Layer 2 destination of the packet if it wishes to use the modem network to forward the packet.
As routers populate their Routing Information Base with the IP address of the next-hop router towards a destination, implementations supporting this extension
SHOULD announce at least one valid IPv4 or IPv6 addresses of the Gateway Node; this removes the need for the router to use an additional IP address resolution protocol before adding the route to its Routing Information Base.
A Link Identifier is, by default, 4 octets in length. If a modem wishes to use a Link Identifier of a different length, it
MUST be announced using the Link Identifier Length Data Item (
Section 3.1) contained in the DLEP Session Initialization Response Message sent by the modem to the router.
During the lifetime of a DLEP session, the length of Link Identifiers
MUST remain constant, i.e., the Length field of the Link Identifier Data Item
MUST NOT differ between destinations.
The method for generating Link Identifiers is a modem implementation matter and out of scope of this document. Routers must not make any assumptions about the meaning of Link Identifiers or how Link Identifiers are generated.
Within a single DLEP session, all Link Identifiers
MUST be unique per MAC address. This means that a Layer 3 DLEP Destination is uniquely identified by the pair: {MAC Address,Link Identifier}.
Link Identifiers
MUST NOT be reused, i.e., a {MAC Address,Link Identifier} pair that has been used to refer to one Layer 3 DLEP Destination
MUST NOT be used again within the lifetime of a single DLEP peer-to-peer session.
To use this extension, as with all DLEP extensions, the extension
MUST be announced during DLEP session initialization. A router advertises support by including the value 3 ('Link Identifiers') (
Section 5), in the Extension Data Item within the Session Initialization Message. A modem advertises support by including the value 3 ('Link Identifiers') in the Extension Data Item within the Session Initialization Response Message. If both DLEP peers advertise support for this extension, then Link Identifier Data Items can be included in DLEP Messages.
If a modem requires support for this extension in order to describe destinations and the router does not advertise support, then the modem
MUST NOT include a Link Identifier Data Item in any DLEP Message. However, the modem
SHOULD NOT immediately terminate the DLEP session; rather, it
SHOULD use a combination of DLEP Session Messages and DLEP Attached Subnet Data Items to provide general information.