Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 07-12-2004, 06:19 PM   #1
Registered: May 2004
Posts: 75

Rep: Reputation: 15
Question name to ip resolution?

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 <-- server (has cups printer installed)

now all the meachines can connect to eachother from ip addresses. for eg
from i can type :
ssh -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: laptop server 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?


Edit: heh.. i m using Redhat 9

Last edited by rohan208; 07-12-2004 at 06:22 PM.
Old 07-12-2004, 06:51 PM   #2
Senior Member
Registered: Mar 2003
Location: Seattle
Distribution: Slackware ?-14.1
Posts: 1,029

Rep: Reputation: 47
you have to setup a DNS server inside your network
Old 07-13-2004, 01:20 AM   #3
Registered: Aug 2003
Location: Portland, Oregon
Distribution: RedHat, Libranet
Posts: 438

Rep: Reputation: 30
For the small number of machines you describe, it would probably be easier to just manually edit the /etc/hosts file on each system to add the ip addresses and host names of all your systems.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
default screen resolution smaller than max. resolution ?? Thoddy Linux - General 2 11-10-2005 01:33 AM
X: using larger resolution for games than default desktop resolution Jamo Linux - Games 2 04-10-2005 03:16 AM
Text Resolution, Graphic resolution. Change from prompt dlublink SUSE / openSUSE 2 01-28-2005 11:50 AM
[resolution 1600 x 1200] Virtual resolution - help! MaicoMedia Linux - Hardware 2 10-15-2004 03:15 AM
seeking a resolution to my resolution troubles! kinbote Linux - General 3 05-11-2004 03:18 PM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 06:18 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration