cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
213
Views
0
Helpful
2
Replies

load balancing over two serial lines

gentian_hila
Level 1
Level 1

I've got two serial connections to internet, in different networks (different ISP, different subnets). I would like to exploit both these lines, at the same time, to share the load, but also i want to make sure that each of these interfaces will route all the traffic in case the other line goes down.

How can i configure the router in order to make this possible ???

Please, help me, i am in desperate need !!!!

Genti

2 Replies 2

olorunloba
Level 5
Level 5

I think you need 2 default route to point to the serial interfaces i.e

ip route 0.0.0.0 0.0.0.0 s0

ip route 0.0.0.0 0.0.0.0 s1

When the line protocol of a serial interfaces goes down, the route is purged from the routing table, and when both are present, the router load balance between the two route since they have the same distances.

vcjones
Level 5
Level 5

You do not mention how you are currently configured, but the following are a few key considerations: If you are using BGP as a multihomed AS (and if the acronyms are strange, then you are not) then you can get some degree of load balancing by setting up two static routes, one to each serial interface. This only works if link failure is detectable at the link level (point to point T1 or frame relay with end-to-end keepalives).

Assuming you are NOT using BGP, then you have an additional challenge. Each link is associated with a different set of IP addresses identifying you and each link will ONLY route traffic to its set of your addresses to you. So if a link goes down, any connections on the failed link must be reestablished using an IP address from the other ISP. This can be done using NAT, there is an example in chapter 8 of my book (see listings 8-25 & 8-26, also on my website) that you may be able to adapt and there may also be examples on cisco.com if you look hard enough :-) My book also discusses some of the reasons you may not want to take this approach. Keep in mind that just as in the BGP case, you must be able to detect at the link level that a link has failed.

Good luck and have fun!

Vincent C Jones

www.networkingunlimited.com

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: