Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Bronze

http rediarection

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
Hall of Fame Super Bronze

Re: http rediarection

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.

Bronze

Re: http rediarection

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

Hall of Fame Super Bronze

Re: http rediarection

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.

111
Views
0
Helpful
3
Replies
CreatePlease to create content