Koozali.org: home of the SME Server
Obsolete Releases => SME Server 7.x => Topic started by: axessit on October 22, 2010, 11:00:39 AM
-
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 ?
-
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.
AFAIK that should work, are you sure you set the configuration of eth1 to be DHCP?
What is the output of the following command?
db configuration getprop ExternalInterface Configuration
-
sv t /service/wan
-
sv t /service/wan
Cheers Charlie, that worked.