I have a LAN at home with my desktop and my laptop. IP addresses are allocated dynamically to both, so the IP number keep changing.
I try to connect from one to the other using places->Server, and in there if I put the correct IP address I connect without any issues. But if I put the hostname, it doesn't recognize. Same thing if I try to ping the hostname v/s the IP address.
The funny thing is that I can see the hostnames if I go to places->network. So basically ubuntu has got a way of telling what are the machines connected to the network and what are their names, I wonder how can I exploit this to keep an up-to-date routing table that map the hostname to the correct IP address.
PS, both desktop and laptop are running Ubuntu. I'm using version 10.04 and 10.10
Thanks