On Friday 25 March 2005 13:40, Prit Patel wrote: > Hello All,
> Is it possible to redirect request of any port 80 request...
Yes. > from
> specific IP pools...
Yes. > to www.mydoamin.com...
Not sure the Cisco would understand the URL name (unless you are doing L4-L7
filtering stuff), but it will understand the IP address. > using route-map or some other
> way ?
Yes. Policy-based routing or WCCP should be able to solve your problem.
PBR is quick and easy, especially if you're affecting only a very small number
of users and aren't using it for mainstream production, e.g., transparent
caching. A basic configuration would look like so:
ip access-list extended redirect-site
deny tcp host ip.of.box.redirecting_to any eq www
permit tcp n.n.n.n m.m.m.m any eq www !
route-map REDIRECT-SITE permit 10
match ip address redirect-site
set ip default next-hop ip.of.box.redirecting_to !
route-map REDIRECT-SITE permit 20 !
ip policy route-map REDIRECT-SITE
Hope this helps some.
> cisco-nsp mailing list firstname.lastname@example.org
> archive at http://puck.nether.net/pipermail/cisco-nsp/