This question already has an answer here:
I have a shared PC at a remote place on LAN. I usually work on that using remote Desktop connection. But sometimes the IP address of the pc gets changed when someone accidentally or intentionally unplug and plug the Ethernet cable. In that case, it is required to reach the PC physically to get the new IP which sometimes is inconvenient for me.
Is there any setting that I can make on the PC so that I can find the new IP address from some other machine? The OS installed is Ubuntu on the shared computer and I have root access to it.