cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
290
Views
0
Helpful
3
Replies

http rediarection

Haris P
Level 4
Level 4

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

3 Replies 3

Edison Ortiz
Hall of Fame
Hall of Fame

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.

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

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.

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: