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

Claim 7:
8. A network node, comprising:
one or more memories; and
one or more processors to:
receive, from a network device, an indication of a range of network address prefixes, a prefix length range, and a corresponding range of sequential identifiers;
generate a policy for mapping respective network address prefixes, having ordered positions within the range of network address prefixes and having prefix lengths within the prefix length range, to respective identifiers having corresponding ordered positions within the 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 and having a prefix length within the prefix length range;
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 processors, to map the network address prefix to the identifier, are configured 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; and

advertise, to one or more neighbor nodes, the mapping of the network address prefix to the identifier.