The present invention provides for controlling incoming traffics on the links
to an autonomous system. Incoming traffic usage for blocks of IP addresses within
an autonomous system and load, congestion and capacity of the links for the incoming
traffic is monitored to determine the optimal link for incoming traffic destined
for a block of IP addresses. Incoming traffic for a block of IP addresses is biased
towards the optimal link by configuring the border routers to announce the block
of IP addresses via Border Gateway Protocol (BGP) across the non-optimal links
with one or more local AS numbers pre-pended, causing the non-optimal links to
look as if they are of a greater routing distance than the optimal link. In addition,
outgoing traffic for a session is separately controlled by tagging the packets
of the session for a specific link, causing the router to send the packet out the
optimal link.