11-02-2008 05:46 AM - edited 03-04-2019 12:09 AM
Dear all ,
Is there is any way with Cisco Router , so that the http request from certain IP range will forward to one specific webpage . Is it possible to do this by using a route-map , I don't want to do this by using WCCP
Regards,
Haris
11-02-2008 07:27 AM
PBR (Policy-Based Routing) can only modify the next-hop from a group of IP address. It's not used for HTTP redirection, that's what WCCP is for.
__
Edison.
11-02-2008 08:21 PM
is it possible to do something with nbar ?
As per the below doc , we can enable nbar to match http , whether it's possible to do redirection for the http requests from certain host to some http pages
http://www.cisco.com/en/US/docs/ios/12_4t/qos/configuration/guide/qsnbar1.html
basically we are planning to redirect the http requests from expired DSL accounts (expired DSL accounts will connect with certain range of local IP's ) to a web page showing that your acccount is expired and then to our E-mall site .
Is there is any alternate way to do this ?
Regards
Haris
11-03-2008 06:36 AM
NBAR won't help as the problem is not with protocol/port identification but the problem is what to do with the traffic.
If you want to use PBR, go ahead and test it but PBR was designed to have another router as the next-hop, not an end-device. However, the ip address indicated in the next-hop entry, must be directly connected route in the router performing the PBR.
HTH,
__
Edison.
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