Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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

1 Answer 1

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

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.