02-28-2007 05:01 AM - edited 03-03-2019 03:58 PM
Hi,
I have in my company a 2801 router with ADSL(WIC ADSL) and ISDN(WIC 1T)interfaces.
I want to know how we could configure a port redirection.
I want that the 80(www) traffic pass through the ADSL interfaces and FTP,SMTP traffic through the serial(ISDN) interfaces.
In advance Thank you very much
02-28-2007 06:55 AM
Yeah you could.
Use PBR's Policy based routing.
!
route-map PBR permit 10
match ip address 101
set ip next hop x.x.x.x
!
route-map PBR permit 20
match ip address 102
set ip next hop y.y.y.y
!
route-map PBR permit 30
!
access-list 101 extended permit tcp any any eq 80
access-list 102 extended permit tcp any any eq smtp
Apply the ip policy route-map command on the interface connected to your LAN.
Your next hop determines where you want to send traffic through to adsl,isdn etc.
Cheers
Hoogen
Do remember the above configuration is just what came into my mind there might be syntax errors, but you can work that out ;)
02-28-2007 10:15 AM
i try it but it doesn't work
route-map PBR permit 10
match ip address 125
set ip next hop ip@ of the ADSL
route-map PBR permit 20
match ip address 130
set ip next hop ip @ of ISDN
access-list 125 extended permit tcp any any eq 80
access-list 130 extended permit tcp any any eq smtp
interface Fastethernet (LAN)
ip policy route-map PBR
!
ip classless
ip route 0.0.0.0 0.0.0.0 ISDN 0/2/0 permanent
ip route 0.0.0.0 0.0.0.0 ATM0/1/0 permanent
is the route correcte
do have any idea please :)
and how can i know the ip @ that gat the adsl interface (it was configured as easy ip )
02-28-2007 10:20 AM
could you explain more what problem is happening now?
Hoogen
02-28-2007 10:27 AM
when i configure the next hope when i applay the policy to the lan inerface all trafic is stoped we don't have www or anything else
do u think that the default route are configured correctly
and by the way how could i know the ip addresse that get the adsl interface (i was given dynamicly by the ISP)
12-27-2009 10:09 PM
.
12-28-2009 02:40 AM
Hi
i would Recommend you to read the bellow document which will guide you through a configuration example and describe some concepts as well
https://supportforums.cisco.com/docs/DOC-8313
good luck
if helpful Rate
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