Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a Squid proxy server on my network that is connected to the DHCPd server (commodity router) through a commodity switch. If there is a break in the connection (eg router needs to be rebooted) I always have to reboot the proxy server as well as the device seems to lose its IP address and will not get a new one until it is rebooted. Not (necessarily) a function of the proxy server as a previous machine that fulfilled this function (on the same wired connection) had the same problem. So, is this sort of behaviour common? Would the switch filter packets in this way? Any clues as to what the real problem is?

share|improve this question
    
Please update question with the "DHCP lease time", you can check that on your "squid system" (cat /var/lib/dhcp3/dhclient.ethX.leases or similar). – kubanczyk Nov 18 '12 at 12:17
    
Running dhclient should obtain a new lease without a reboot. – Ansgar Wiechers Nov 18 '12 at 12:54
    
It appears this might have something to do with how the proxy server software (it's a Raspberry Pi) is set up: raspberrypi.stackexchange.com/questions/3332/… – adrianmcmenamin Nov 18 '12 at 17:09
    
By which I mean the software on the proxy server, not the proxy server software. – adrianmcmenamin Nov 18 '12 at 22:47

Usually when an IP address changes you need to restart your Squid.

If your Squid server does not survive a reboot of the dhcp server, you really need to extend your lease time.

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .