Discussion Locked

implementing two or more leased lines?

0 helpful
5 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

hi to you all,
i?m involved in a project for a school.the target is to implement two or three leased l?nes to have mulitple ways to the net.but i guess this could lead to routing problems as traffic has to be routed out the network the same direction it came in. my question is, if someone has a little advise or tutorials for me as i?m not sure how to implement this.

5 replies

by bhaney

There are multiple ways to support this. Honestly, under normal circumstances you don't need to have the traffic returning the same way it went out. There are certain circumstances that will require this (NAT, certain applications, etc). However, multiple paths is usually not the best option.

1. Routing protocols: EIGRP, OSPF, etc. Anything that is link-state so that the router will know when a certain link goes down. A good routing protocol will run an algorithm on the links to find the best option (most bandwidth, lowest latency, etc) in order to choose the 1st, 2nd and 3rd option. This is probably the best solution but needs to be coordinated with your ISPs (normally) -- which isn't difficult. They're use to this stuff.

2. Higher cost routing statements. If you have a core router you can set a 2nd and 3rd default route by adding a higher cost. In this case, when a certain link goes down or is over-saturated the backup link will take over.

3. Backup interfaces. Many routers support backup interfaces. This is normally implemented with a dedicated link such as a T1 as the primary and a link such as ISDN as the backup. When the router senses that the T1 has gone down, the ISDN will establish a link to the ISP and begin routing. This is a great solution to keep costs down if you have a per-minute charge on your ISDN line.

If you are using Cisco equipment, I would read up on EIGRP and decide if that is an option. It usually is and it is usually the most viable.

by ebob

There a couple of reasons WHY you might want to do this.

If your intention is to provide a backup route in case the primary route goes down then the previous answer covers it pretty well. Another area to look into (at least on Cisco gear) is HSRP= Hot Standby Routing Protocol. With HSRP you put one of your "leased line interfaces" into standby mode, and tell it to come up is it sees your other leased line interface go down.

I suspect that what you are after is really to share the bandwidth. If your leased lines all go to the same ISP, you and your ISP can generally tell your network gear to "bind" the lines and use the aggregate bandwidth as if it was one fatter pipe. Your ISP can help with that. If your leased lines go to differentproviders then you need to try a different approach. Some modern network boxes have provisions for this, so discuss this with your hardware provider and ISPs. Or you can DIY by playing with routing. For example, you can split your users up into 2 groups (A and B), and have 2 routes to the Internet (Y and Z). Configure group A to use link Y and group B to use link Z. Connect the 2 groups. In group A's config, you can configure a lower priority route to the Internet using link Z. Normally, A users would use link Y, but if it became unavailable, they would use Z.

In order to get inbound connections for email you would have to play similar tricks with prioritising MX records in the DNS.

You have a concern about inbound packets knowing which interface to use. Think of this scenario:

- user on A using link Y to surf the Web
- HTTP returns packets to Y to deliver to user on A
- no problem
- link Y goes down
- user A re-establishes connection to website through link Z
- website now returns packets to Z for delivery to A
- no (real) problem, other than the need for user to re0establish connection, which just means "refresh" in the browser

Good Luck

This discussion is closed to new replies.