We are running a number of ex4200-24f running 9.5R2.7. Two of the ex4200's are acting as BGP route reflectors the other two peer with them and also with a couple of routers from an external AS this gives us two links out of our network. We can see the same routes across both links and wish to load balance traffic across them. To this end we have set with in BGP the multipath option on the route reflectors.
The BGP config is contained with in a routing instance along with the routing option statement exporting the load balancing policy into the forwarding table.
There is a policy statement that contains the routes we wish to load balance and a 'then' statement that contains the load balance command we have added the per packet option. How exactly will this actually load balance.
I have read that this depends on the type of asic the router contains, obviously we want the load balancing to be per flow so as to ensure that there is no packet reordering.
There is an example of some config below.
routing-options {
forwarding-table {
export load-balance-policy;
policy-options {
policy-statement load-balance-policy {
from {
route-filter x orlonger;
route-filter x orlonger;
route-filter x orlonger;
}
then {
load-balance per-packet;
}
}
}