From: mani poopal (mani_ccie@yahoo.com)
Date: Sun May 15 2005 - 07:57:14 GMT-3
Hi,
The requirement is achivable using PBR. Assume your LAN interface is e 0 and WAN interfaceses are serial 0 and serial 1 and with a gateway ip of 200.1.1.1(for s 0) and gateway ip of 150.1.1.1(for s 1). Now you want to send your www traffic through s0 and all others through s 1. Now you need policy routing. Yes policy routing understand L4 routing information.
===================================
access-list 121 permit tcp any any eq www
route-map BBB permit 10
match ip address 121
set ip next-hop 200.1.1.1
route-map BBB permit 20
set ip next-hop 150.1.1.1
interface e 0
ip policy route-map BBB
================================
PS:As you know if you want to make router generated packets to include in this process, you need one additional policy map, is local policy[(config)#ip local-policy route-map BBB]. And policy routing is always applied in the inbound direction. Guys try to undestand the difference between, set ip next hop and set ip default next hop commands.
Mani
Security Candidate <doubleccie@yahoo.com> wrote: hi folks
I have a question about PBR , I have a router with 2 WAN interfaces
what i want to do is to direct the WWW traffic on the first interface while all other traffic on the other interface ... my question is that ..can this be done using PBR ? i mean does it understand L4 information in the route-map match and take routing decision based on that .
thanks
This archive was generated by hypermail 2.1.4 : Fri Jun 03 2005 - 10:11:58 GMT-3