Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Static Route from Router to Proxy

Status
Not open for further replies.

Bavesh

IS-IT--Management
Jun 18, 2003
5
MU
I already have a Cisco 2514 router connected to my intranet which has around 25 frame relay to remote sites.
Lately i took a new Cisco 805 router to be used with internet access over frame relay again.
So what i did from my 2514 router i just added the line

ip route 0.0.0.0 0.0.0.0 192.168.0.100

where .100 is the Cisco 805 E0 port

The problem now is that i want to reconfigure it as i have a proxy running on my Win 2k server IP 192.168.0.200.
I want to divert only from the Cisco 2514 router received to that proxy. Whats the best way to do that.

Hardware / Software definition
Cisco 2514 IOS 11.2
Cisco 805 IOS 12.0

On my network the gatewat is 192.168.0.222 which is the E0 port of my Cisco 2514.

All trafic passes through the Cisco 2514

I hope you get the point and please help.
Everything is working fine just i want to divert the direct traffic between the two router and put a cache proxy in between as the internet connection is slow.
I do not want the users to know that there is any change in the network.

Regards
Appo
 
Appo,
you can do that by using Policy Routing to redirect all the http request to your proxy.
here u have sample config..

First, creat access list to catch HTTP traffic and exclude the traffic coming from the Proxy server:
access-list 110 deny tcp any any neq www
access-list 110 deny tcp host 192.168.0.200 any
access-list 110 permit tcp any any

create Route-map to tell the router where to send the traffic:
route-map PROXY permit 120
match ip address 110
set ip next-hop 192.168.0.200

Enable the Policy route on the Ethernet interface:
interface Ethernet 0
ip policy route-map PROXY
ip route-cache policy
ip route-cache same-interface

Hope this help..

 
The command
ip route-cache policy does not exist

Can you explain the use of the access list cause i tried the configuration and still not working

What does the
route-map PROXY permit 120 does ?

Anyway the configuration is not working
If its possible or simpler please try to give a configuration to divert all traffic to network 0.0.0.0 to 192.168.0.200 that is the Win2k Proxy server.
By traffic i mean FTP,
 
first u need to make sure the 2514 router support Policy Routing, next make sure your proxy server support transparent proxy..

route-map tells the router what to catch and where to send the traffic..
 
I have a similar question that fits this thread... I am trying to do a transparent Proxy redirect also. I tried the commands above with my routers to my ISA server, but it was not working. The ISA server is set to listen for outgoing connections on port 80. I have software release 11.1(19). I'm sure this needs to be updated, but it is what is there for now. Can someone give me a varient of the above from beggo that will work? Basically, I cannot do Fast-Switched PBR (ip route-cache policy)

Thanks!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top