01-17-2006 12:41 AM - edited 03-03-2019 01:27 AM
hi
i have a problem . i had got two isp's which are connected through my cisco 1700 series router running ios 12.2. i want to redirect my mail traffic to ISP1 and all other traffic to ISP2.
Please tell me how to do it.
01-17-2006 12:55 AM
Hi Diptanshu,
You have to configure Policy Base Routing (PBR) on your router which will check the incoming traffic and if it classified as Mail Traffic checking the ports numbers via access list it will go out via the ISP you choose and configure next hop as.
Your config should look something like this
access-list 100 permit tcp any any eq SMTP
!
interface ethernet 1
ip policy route-map POLICY-TEST
!
route-map POLICY-TEST permit 10
match ip address 100
set ip next-hop
!
route-map POLICY-TEST permit 20
set ip next-hop
Read this link for more details
HTH
Ankur
01-17-2006 01:03 AM
Hi
You can explore the possibilities in deploying policy based routing ,but do revert what kinda mail traffic you are talking about is it something related to web mased mail traffic (yahoo,hotmail) or between your locations ?
regds
01-17-2006 04:57 AM
hi
we have a exchange server which uses pop id's to retreive the mail server which is located outside the network . then it redistribute the mails to the network.i want this exchange mail traffic to be redirected to one isp and all other internet traffic to the other ISP.
01-17-2006 05:13 AM
hi
If thats the case you can configure as per the post done by Ankur,in case of any difficulties you can very well get back here...
regds
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