On my local DHCP network I have different PC's that I need to access remotely. Problem is that their IP's change. Sometimes I plug my laptop and netbook into other people's DHCP networks.
My current solution is to upate the
/etc/hosts file everytime the target IP's change.
/etc/hosts file looks like this:
# <ip-address> <hostname.domain.org> <hostname> 127.0.0.1 localhost.localdomain localhost laptop 192.168.1.14 desktop.localdomain desktop 192.168.1.12 netbook.localdomain netbook
Is there a way to bypass all that admin? :)
For example, could my computers broadcast their IPs on the LAN? or something like that. Windows does something like that, which allows you to refference a computer on the network with "\\COMPUTER_NAME"