Having been having issues with getting on internet with my ISP lately and am testing a couple of ADSL modems and swapping them over. Unfortunately at this stage I can't get them to use the same IP addresses (and actually don't want to), but when I swap them, I want to be able to renew the eth1 DHCP lease as both modems have different gateway IP's. I have tried /etc/init.d/network restart
but that doesn't renew it. Have tried ifconfig eth1 down/up
too but no good.
End up having to reboot the server.
Is there an equivalent to windows ipconfig /release /renew ?