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

Notices


Reply
  Search this Thread
Old 02-12-2002, 08:16 AM   #1
glj
Member
 
Registered: Jul 2001
Location: London
Distribution: RH 9
Posts: 151

Rep: Reputation: 30
Hostnames


Afternoon all!

I've succesfully set up a DHCP server in my house (it's only serving 5 computers, but twas educational!). Next step is to be able to access the other computers by their hostnames, as well as their IP's.

Is this a samba or a named solution????

Cheers

glj
 
Old 02-12-2002, 09:13 AM   #2
lfslinux
LFS Maintainer
 
Registered: Jan 2002
Location: Canmore, Alberta, Canada
Distribution: Linux From Scratch
Posts: 372

Rep: Reputation: 30
Re: Hostnames

Quote:
Originally posted by glj
Afternoon all!

I've succesfully set up a DHCP server in my house (it's only serving 5 computers, but twas educational!). Next step is to be able to access the other computers by their hostnames, as well as their IP's.

Is this a samba or a named solution????

Cheers

glj
Samba is for connecting to MS Windows shares.
What you can do are two things:
1) you can setup a DNS server on your local LAN - it would be a very educational project for sure.

2) you can add the 5 computers to the /etc/hosts file of each of the 5 computers and make up a hostname for every one of them.

The problem with option #2 is that you'll have to keep the /etc/hosts files synced on 5 computers and if you make a change, you have to make that change on all computers. A real nightmare especially if your network grows in time.

Number 1 is a lot better; just one central server and every one of your computers will use your DNS server for name lookups. Change once, and be done with it.
 
Old 02-12-2002, 09:31 AM   #3
glj
Member
 
Registered: Jul 2001
Location: London
Distribution: RH 9
Posts: 151

Original Poster
Rep: Reputation: 30
Helo!

I mentioned SAMBA because it can act as a WINS server, which seems to be what I want to do!

Having thought, I will want to set-up a DNS server (the hosts file solution is way to quick and dirty ) if for no other reason than just for the experience, but I was wondering if setting up a WINS server will be a quick solution so that the network is up to full functionality (i.e. the peeps won't have to access anything by IP) until I get around to finally doing everything the DNS way! On the other hand, will setting up a WINS server be just as much hassle???

Cheers

glj
 
Old 02-12-2002, 10:04 AM   #4
lfslinux
LFS Maintainer
 
Registered: Jan 2002
Location: Canmore, Alberta, Canada
Distribution: Linux From Scratch
Posts: 372

Rep: Reputation: 30
Quote:
Originally posted by glj
Helo!

I mentioned SAMBA because it can act as a WINS server, which seems to be what I want to do!

Having thought, I will want to set-up a DNS server (the hosts file solution is way to quick and dirty ) if for no other reason than just for the experience, but I was wondering if setting up a WINS server will be a quick solution so that the network is up to full functionality (i.e. the peeps won't have to access anything by IP) until I get around to finally doing everything the DNS way! On the other hand, will setting up a WINS server be just as much hassle???

Cheers

glj
i'm assuming that those 5 machines are running some kind of MS Windows flavour? If so WINS would be something you could use yes. Samba would work too using it's nmbd in that case.
 
  


Reply



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
using windows hostnames JohnLocke Linux - Newbie 7 11-10-2006 07:52 PM
resolving hostnames. bb002 Ubuntu 2 11-15-2005 03:08 PM
Can't ping hostnames Nox UK Linux - Networking 3 04-19-2005 03:07 PM
Can't resolve hostnames....need help shaggystyle Linux - Networking 2 08-28-2004 02:20 AM
hostnames thenewguy05 Linux - Networking 1 07-12-2004 05:08 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

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

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