On 04/07/2017 04:45 AM, Freek de Kruijf wrote:
Op donderdag 6 april 2017 23:16:42 CEST schreef Bjoern Voigt:
I tried to change an openSUSE Leap 42.1 server from static IP to DHCP using YaST over SSH and in text mode.
To make it short, this doesn't work. The Server is offline now. I also do this type of changes, but you really need to know what you are doing. So you test such a procedure first in a test environment and carefully document the procedure.
In this case going from a fixed IP address to DHCP, if you have it setup properly, the system will get a new IP address. This means that the current address does not work anymore. So somehow, maybe in your router/DHCP server or somewhere else you find the new address and you make a new ssh connection with that system, provided that there is no firewall blocking that access in your server.
Of course, this raises the question of why a server is using a DHCP address, unless the IP address is mapped to a specific MAC or perhaps used with dynamic DNS. Otherwise, how could anyone reach the server? -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org