This is probably more of a design question. I have two transit providers where I am receiving the full Internet routing table (via BGP) and am also participating in an IX where I am receiving routes from peers within that IX (also via BGP). I then redistribute those routes to the rest of my network through OSPF. I then have a core router which I have connected an end device.
Here's a diagram explaining it all:
All of the Edge devices and the Core router are running Vyatta 6.5. My end device is simply a Linux box that I can perform traceroutes from (to see where my traffic is going).
As you can see, I have different link speeds to my providers. Ideally, I'd prefer for pretty much all the traffic to go through ISP B where I have a 1Gbps connection, and only have ISP A's transit sitting there waiting for ISP. Likewise, if a network is available in the table through my connection to the IX, I would like to preference that network.
At the moment, all of my traffic is going through ISP A.
With Vyatta, how can I go about adding a 'weight' or some kind of preference value to say:
- If the network is available through Edge 3, go there
- Else if the network is available through Edge 2, go there
- Else, go through Edge 1
I hope my question is clear. If it's not or you want some output from any of these routers, please let me know. Thanks for your assistance :)