1. A Master node interconnected with one or more border nodes located at an edge of a computer network, the Master node comprising: a processor, a memory storing instructions which are executable by the processor, at least a portion of the instructions for implementing an optimized edge routing (OER) process configured to: generate a message that instructs at least one of the border nodes to dynamically acquire (â€œlearnâ€) address prefixes of a plurality of data flows entering or exiting the network through the border nodes, the learned address prefixes corresponding to data flows matching a predetermined set of criteria that specify a known set of packet-header field values; and, receive the learned address prefixes matching the predetermined set of criteria that specify a known set of packet-header values at the Master node from the at least one of the border nodes.