When I did the Ubuntu installation I was asked for a hostname. Here I entered "mypc". When I loging on my router I can see the IP Address given to "mypc" and "mypc" written next to this. If I delete this entry a different IP Address is given to "mypc" and again "mypc" is written next to this. If I change the hostname (let say to "mypc2") and I delete the entry (from router), mypc2 gets a new IP Address with (now) "mypc2" written next to this. So I guess the name is being provided to the router by mypc once a connection is establish (ip provided).
Mine is a small network (4 pc tops) and I am doing this mostly to learn. I could use static ips (either configure this from "mypc" or else the router itself). I had done this in the past. However this time round I would like to be able to access the machines with their name rather then IP Address. You said "setup DHCP reservations and DNS on your router"; To my knowledge DHCP means I get provided an IP Address by the router different each time. This works as I do get an IP Address. DNS means being able to associate a name with that IP Address. This also seems to be working as when I login to the router I can see the name next to the IP Address.
Are there any logs I can look into to see what is going on when I enter "ssh sim085@mypc" to see if for example router is not returning any information or it is a question of my machine not asking the router for this information?
Bookmarks