This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Renew DHCP Adress

How can I force an DHCP - configured Interface on Astaro  to renew its Adress?  (On Windows, it would be ipconfig /renew)

I want to force Astaro to fetch the new IP from the Modem and restarting during testing sucks... isnt there a faster way to update the dhcp (client?) adress via console?

The webinterface is not very useful, because its slow (my hardware... i know *g*) and doesnt allow to bring that interface down because of some nat rules as it says....

So... is there a way to force a dhcp renewal for an interface (lets say eth2)?  If yes, which shellcommands?


This thread was automatically locked due to age.
  • ifdown eth2
    ifup eth2

    _might_ work.
    (as root)

    Barry
  • Yep... should work. My problem was a result of a misconfiguration of my ISP... so really not my fault. At least [:)]

    Thats why i was wondering why ifconfig eth2 up / down didnt work...
    But by the way: How can I change my MAC adress permanently?

    ifconfig eth2 hw ether [MAC]  works only to the next reboot... and the configfile /etc/itfhw.conf doesnt seem to influence the initialisation on bootup (even when changing that file manually you will get the "real" MAC)

    So - any ideas?
  • Hi,

    dont think you can override the autodiscover of the boot sequence.
    By the way, why the hell do you want to change your mac  .

    Chris