Hey i got couple of PC's on my netowork, and i'd like to have any one of them access the other but names rather than the IP addresses. forinstance
I have following PC's
192.168.1.5
192.168.1.25
192.168.1.35
192.168.1.50 <-- server (has cups printer installed)
now all the meachines can connect to eachother from ip addresses. for eg
from 192.168.1.5 i can type :
ssh 192.168.1.50 -p 23554
and i can ssh into 50. But I would liek to do something like:
ssh server -p 23554
and be able to connect to the server (.50). Any ideas how i can do that?
Temeprarly i have modified my /etc/hosts to add:
192.168.1.35 laptop
192.168.1.50 server
192.168.1.25 bruce
so now i can do ssh server and it connects to 50. But i dont want to do it on all Pc's .. is there a easier way to configure server to hold these entries and my otehr computers can take it from there? I am not sure if DNS will work with this.. will it?
Rohan
Edit: heh.. i m using Redhat 9