Route map issue on cisco routers

Hi experts,

I have a odd situation,  have a cisco 1841 router which has a wic1-adsl card connected, currently my default route for all internet traffic isout of the dialer interface associated with the wic card.

However conenncted to one fa 0/0 is a connection to another subnet which has a 2801 router and another wic-1dsl card in which is used for ftp traffic.

What I want to do send all ftp traffic from the 1841 router across to the 2801 router and use that dsl but all other www traffic to go out of the local 18411841 router, so to recap everything to go out of the 1841 router except ftp traffic which.

I understand a route map is the answer but not sure.

I hope an expert can help

Thanks

Andy ..
webleyaxsorAsked:
Who is Participating?
 
ffleismaConnect With a Mentor Senior Network EngineerCommented:
!
ip access-list standard any_filter
 permit any
!
ip access-list extended ftp_filter
 permit tcp any eq ftp any
!
route-map ftp permit 10
 match ip address ftp_filter
 set ip next-hop 2.2.2.2
!
route-map ftp permit 20
 match ip address any_filter
!
!
interface FastEthernet0/0
 ip policy route-map ftp


next-hop of 2.2.2.2 is the `2801 ip address of the interface connected to router1

composed of three parts. ACL, route-map, policy on 1841 interface facing the internal LAN.

basically the route-map says that match ACL "ftp_filter" and point that to router2, anything else, let it be.

of coarse router1 and router2 has only default routes pointing to ISP. consider also running internal routing protocol, so as router 2 knows where to point to get to internal network.

hope this makes sense!
0
 
webleyaxsorAuthor Commented:
Thanks I will be configuring it today, will let you knowhow I get on
andy ..
0
 
webleyaxsorAuthor Commented:
Hi, Thanks worked a treat, had to fiddle with the ftp-filter and bit , i had to add control and data 20 +21,

Andy
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.