Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
New Member

need to do load sharing on 2 isps

hi, i have got a single router with 2 seperate links by 2 different

ISP,s.

i want to configure my network such that mine smtp traffic goes through one link and www traffice through the other one.i want to make both the links redundant to each other.

kindly let me know, how too achieve it.

Thanks in advance.

5 REPLIES
Purple

Re: need to do load sharing on 2 isps

You need to use Policy-Based routing to achieve that. A sample config would look like the following:

int ethernet 0

ip address ....

ip policy route-map PBR

!

int serial0

ip address x.x.x.x y.y.y.y

!

int serial1

ip address x.x.x.x y.y.y.y

!

route-map PBR permit 10

! send SMTP traffic out serial0

match ip address 101

set interface serial0

!

route-map PBR permit 20

! send WWW traffic out serial1

match ip address 102

set interface serial1

!

ip route 0.0.0.0 0.0.0.0 serial0

ip route 0.0.0.0 0.0.0.0 serial1

!

access-list 101 permit tcp any eq 25 any

access-list 101 permit tcp any any eq 25

access-list 102 permit tcp any eq www any

access-list 102 permit tcp any any eq www

!

Hope that helps - pls rate the post if it does.

Paresh

New Member

Re: need to do load sharing on 2 isps

hi,

thanks for the response.

will this take care for redundancy as well.

lets say my 1 link goes down, i want the traffic from same to be transported by other one .

kindly brief.

Thanks in advance

Purple

Re: need to do load sharing on 2 isps

Absolutely .. the two static default routes ensure that both links are available for use. If the preferred link for HTTP traffic goes down, it will fall back to the other link. The same will also applyto the link used for WWW traffic.

Hope that helps - pls rate the post if it does.

Paresh

Re: need to do load sharing on 2 isps

Hi Gaurav,

You need to implement Policy Base Routing where you need to cofnigure an accesslist which can classify the www and smtp traffic and call that access list in your policy also in your policy define match interface serial so that it can confirm if that serial is up or not.

If the serial is up it will check the accesslist and as per the classified traffic it will take the next hop.

See of this link can help you

http://www.cisco.com/univercd/cc/td/doc/product/software/ios122/122cgcr/fqos_c/fqcprt1/qcfpbr.htm

You can define youe next hop in your policy when you traffic is classified by an accses list

HTH, if yes please rate the post.

Ankur

New Member

Re: need to do load sharing on 2 isps

The Config That Paresh Had Posted;Work 100%

PS Rate To Paresh

110
Views
11
Helpful
5
Replies
CreatePlease to create content