Control inbound / outbound traffic based on prefix or ASN

Hey Guys,

Here is our setup, i need to know the following, that i cant seem to figure out from reading other posts.

We have 2 RB1000’s both with 2 peers (see attach.). Im only concerned with one RB1000 at a time though, but if the fact that we have 2 routers connected makes a difference im mentioning it.
Ill be the first to admit that im not very good with the mechanics of BGP, we have it setup and it is running giving us fault tolerance. But now i would like to get a bit more sofisticated.

I would like to control which peer sends and more importently receives data from certain prefixes or ASN’s, if at all possible.

Senario: We have cheap bandwidth and we have expensive bandwidth. We love the expensive bandwidth because it gives us great connectivity to Hong Kong and Asia in general, i like the cheap bandwidth because for domestic purposes it has good routing and … its cheap.

Now i would like Youtube to send all data to my cheap peer. Both providers are peering with youtube directly, but by default the expensive provider looks to be a better connection to our ASN, so they send the data over that peer. How can i tell youtube (or make it look like) that my cheap BGP peer is better.

From what i can gather i create a route filter and apply it to the peer, but what does the config look like, there are too many handles that can be tweeked for trial and error.

Appriciate your help.

Regards,

Martin Madsen
Bel Air Internet
ebgp setup.JPG

Find the theory how BGP is selecting routes, you can start with wikipedia
http://en.wikipedia.org/wiki/Border_Gateway_Protocol#Route_selection

then set up routing filters and then start playing with as-path and local-pref
http://wiki.mikrotik.com/wiki/Routing_filters