Cisco Systems Need to route SMTP traffic through static interface (not default route)

Bookmark this page:  YahooMyWeb Yahoo!  Google Google  Windows Live Favorites Windows Live  del.icio.us del.icio.us  digg digg  Add to Netscape Netscape
Subject Author Date
Need to route SMTP traffic through static interface (not default route) perimere 03-27-07
Posted by perimere on March 27, 2007, 5:19 pm
Please log in for more thread options
Hi,

Apologies if this has a solution on the NG but I had a search, and
couldn't quite work it out.

I have a Cisco 2610 with a ADSL WIC and a FE module. There are 2 x
internet connections: static IP on the ADSL, and a cable modem into
Eth0/0. The Static is a metered line so all traffic goes out over
cable. I have NAT rules directing mail from outside to an SMTP server
internally. This all works fine.

Due to more cases of outbound SMTP traffic getting refused connections
because its originating from a dynamic IP source (the cable
connection) I need to route all SMTP outbound traffic via the Dialer0
interface.

After some searching on here and Google I thought a route-map might do
the trick, but it doesn't appear to be (or my implementation!).

I tried the following:
access-list 103 permit tcp 192.168.0.0 0.0.0.255 any eq smtp
route-map smtp-redirect permit 10
match ip address 103
match route-type internal
set interface Dialer0

And then on the FastEth1/0 interface (my LAN):
ip policy route-map smtp-redirect

I've also tried applying the policy to the Eth0/0 interface to no
avail.

I did notice that a show route-map (when configured on fasteth1/0)
showed packet matches against the map but no mail arrived at the other
end?

Does anyone have constructive feedback or a better way of solving
this?

Thanks in advance.

Cheers

Perimere


Similar ThreadsPosted
Need to route SMTP traffic through static interface (not default route) March 27, 2007, 5:19 pm
What is the default precedence: local-route, static-route, OSPF-route? August 4, 2008, 3:00 am
question for static route -- default route April 1, 2009, 12:03 am
question for static route -- default route April 1, 2009, 12:04 am
C876 route-map smtp traffic to one ISP, can you check my config for faults? April 29, 2008, 8:55 am
Can't set default route to outside interface May 29, 2008, 10:12 pm
Re: How to prevent propagation of a static default route in EIGRP June 24, 2005, 11:29 pm
Re: How to prevent propagation of a static default route in EIGRP June 24, 2005, 9:11 pm
Re: How to prevent propagation of a static default route in EIGRP June 28, 2005, 2:19 pm
learning destination MAC if default route uses interface and not next-hop IP September 20, 2005, 11:19 am
static route, next hop vs interface question. January 15, 2006, 6:17 pm
PIX 515E 7.01 static route in the same interface May 16, 2006, 11:20 am
how to route traffic from server via specific static IP? May 1, 2008, 8:55 pm
Route voip traffic to different interface October 19, 2007, 12:15 pm
Can netwrok run static route and dynamic route the same time? December 1, 2005, 1:18 pm
Residential Cabling Guide

Home Cabling Guide

Finally, an instantly downloadable book that saves you thousands in home improvement dollars! Enjoy living in 21st century technology-advanced home while increasing its selling value and competitive advantage on the real estate market. Whether your cabling is for home office or high-tech leisure, you can wire your home yourself or learn "wirish" to speak with your cabling contractors in their language!

Learn More