03-23-2006 12:10 AM - edited 03-03-2019 12:09 PM
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.
03-23-2006 12:15 AM
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
03-23-2006 12:37 AM
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
03-23-2006 02:21 AM
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
03-23-2006 12:17 AM
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
03-23-2006 01:07 AM
The Config That Paresh Had Posted;Work 100%
PS Rate To Paresh
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide