cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
4202
Views
5
Helpful
4
Replies

DHCP option for proxy server ip address and port number

Hi

 

I need your advise if we can provide proxy ip address and port number through DHCP server that is configured on Cisco routers and switches to our users

 

or it isn't doable and better to relay the DHCP to a windows DHCP server that could do this

 

Thanks

 

4 Replies 4

balaji.bandi
Hall of Fame
Hall of Fame

No its is not possible via DHCP.

 

You hve 2 options

 

1. using WCCP to redirect traffic to Proxy

2. PAC or WPAD File confiue with End user device to use proxy server.

 

Let me know any other information required.

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

Hi Balaji

Thanks a lot for your valuable info
I searched and found that I can use this option under DHCP
option 252 ascii "http://1.1.1.1:8080/wpad.dat"
I need your help to complete this
What is 1.1.1.1 ? is it a normal webserver on the LAN that have this wpad.dat in its root
Please provide a sample for wpad.dat to use it to provide the proxy and port number

Thanks
Haitham

here is sample WPAD file and example :

 

https://www.davidpashley.com/articles/automatic-proxy-configuration-with-wpad/

 

1.1.1.1 where you host the WPAD file where the clients can acess and download automatically to PC. this should reachable to all the IP address in the LAN, 8080 (this can be any port) - You host this File in Apache or IIS or any ngix server.

 

in case like to Microsft document :

 

https://docs.microsoft.com/en-us/windows/win32/winhttp/winhttp-autoproxy-support

 

Do you have proxy running in your environmet ?

 

so change the variables in the WPAD  proxy details and port the proxy running ( some environment run 8080 or 3128 or 80 - based on the requirement)

 

Hope this helps you, let me know any help.

 

 

 

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

Hello


@Hythim Ali El Hadad wrote:

Hi

 

I need your advise if we can provide proxy ip address and port number through DHCP server that is configured on Cisco routers and switches to our users

 

or it isn't doable and better to relay the DHCP to a windows DHCP server that could do this


You could have a first hop redundency vip (hsrp/vrrp/glbp) in the dhcp pools for your clients if thats what you mean?


Please rate and mark as an accepted solution if you have found any of the information provided useful.
This then could assist others on these forums to find a valuable answer and broadens the community’s global network.

Kind Regards
Paul