Patent ID: 11863445
Assignee: JUNIPER NETWORKS, INC.
Field: Digital communication (Electrical engineering)
Classification: CPC H | IPC H

Claim 15:
16. A non-transitory computer-readable medium storing instructions, the instructions comprising:
one or more instructions that, when executed by one or more processors, cause the one or more processors to:
generate a policy for mapping respective network address prefixes, having ordered positions within a range of network address prefixes, to respective identifiers having corresponding ordered positions within a corresponding range of sequential identifiers,
wherein each network address prefix, of the network address prefixes, has a unique ordered position within the range of network address prefixes, and
wherein each respective identifier, of the respective identifiers, has a unique ordered position within the corresponding range of sequential identifiers;

discover a device associated with a network address having a network address prefix at an ordered position within the range of network address prefixes;
map, based on the policy, the network address prefix to an identifier having an ordered position within the corresponding range of sequential identifiers,
wherein the ordered position within the corresponding range of sequential identifiers corresponds to the ordered position within the range of network address prefixes,
wherein the one or more instructions, that cause the one or more processors to map the network address prefix to the identifier, cause the one or more processors to:
determine whether the network address prefix is within the range of network address prefixes based on a length of the network address prefix, and
determine an index of the network address prefix within the range of network address prefixes based on a first sum of a base index and an index offset,
 wherein the base index is defined based on the length of the network address prefix, and
 wherein the index offset is defined based on the length of the network address prefix;

advertise, to one or more neighbor nodes, the mapping of the network address prefix to the identifier;
receive, from a neighbor node of the one or more neighbor nodes, a data packet comprising the identifier; and
forward, based on the data packet comprising the identifier, the data packet toward the device associated with the network address.