Page 1 of 1

2 peers, 4 /24 prefix and load balance outbound

Posted: Thu Dec 29, 2011 3:26 pm
by kellogs
Dear Members

I have 2 Peers each with same amount of transit

I have 4 /24 prefix

I would like to configure that for the 4 prefix outbound, it would be round robin on these 2 peers and if one of the peer is down, all 4 prefixes would switch to the survival peer.

Any help is appreciated

Re: 2 peers, 4 /24 prefix and load balance outbound

Posted: Thu Dec 29, 2011 5:15 pm
by mrz
In this case you should use policy routing. A lot of examples can be found in wiki.

Re: 2 peers, 4 /24 prefix and load balance outbound

Posted: Fri Dec 30, 2011 6:40 pm
by guilhermeramires
Keep you balance the way you are doing and you also can announce your /22 in both peers. If one peer goes down all traffic will be redirect to the other peer.

Re: 2 peers, 4 /24 prefix and load balance outbound

Posted: Mon Jan 02, 2012 1:56 pm
by kellogs
I have announced both /22 on both peers and also 4 /24 on both peers

For incoming load sharing, each of the 2 /24 prefix has bgp prepend 4 so incoming is shared equally +-

the problem is with outgoing connection which I think i need to do policy routing. I am looking for the right documentation/wiki

anyone can share a link?

Thanks!

Re: 2 peers, 4 /24 prefix and load balance outbound

Posted: Mon Jan 02, 2012 8:35 pm
by guilhermeramires
Upload is really easy. You need to create a ECMP route with check-gateway enabled. Just add both gateways in the same static route. The traffic will be share using round-robin every time source or destine address change. This way you can reach a good balance. Try it and tell us, ok?