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

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

NewsGroups | Search | Tools
 comp.dcom.sys.cisco  Post an article  get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content  add this group's latest topics to your Google content  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-2007
Posted by perimere on March 27, 2007, 5:19 pm
If you were  Registered and logged in, you could reply and use other advanced 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
What is the default precedence: local-route, static-route, OSPF-route? August 4, 2008, 3:00 am
C876 route-map smtp traffic to one ISP, can you check my config for faults? April 29, 2008, 8:55 am
Default route using interface not next-hop on LAN March 2, 2005, 6:39 am
Can't set default route to outside interface May 29, 2008, 10:12 pm
How to prevent propagation of a static default route in EIGRP June 24, 2005, 10:54 am
pix 501 6.3 default route on a stub network on the outside interface December 16, 2004, 7:43 pm
learning destination MAC if default route uses interface and not next-hop IP September 20, 2005, 8:19 am
IOS: Static Route on Interface December 14, 2004, 9:00 pm
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

other useful resources:
The Federal Communications Commission (FCC)
Telecommunications Industry Association
Electronic and Software Security Products and Services
International Telecommunication Union

Custom CGI Perl and PHP programming by 1-Script.com

Contact Us | Privacy Policy
The site map in XML format XML site map