Linux Networking--Newbie level

Posted on 2000-03-20
Medium Priority
Last Modified: 2013-11-13
I have Redhat 6.1 on two computers with ethernet cards and a little hub. I want to make one of the them a server and one a workstation.  When I install the server version the system didn't seem to look any different than a workstation.  Is there one place I can go to get the info on networking two boxes (networking seems to be TCP/IP and other stuff?!?) and setting up the on box as a server.
When that's all done, I want to use Samba to allow my two Win9x boxes to talk to the Linux server.
Just answering the Linux networking issue for now would be a great help.
I'm offering more points for this because I'm looking for the step-by-step stuff on getting the network going.
Question by:spstrong

Expert Comment

ID: 2636301
I know it sounds simple, but look in /usr/doc/howto there is a document called networking-howto (or something like that).
It also describes the setup of a network.

Accepted Solution

alien_life_form earned 800 total points
ID: 2636528

A first word of advice (or maybe two):


These are the two commands you'll use the most (logged in as root) to get almost all of the basic networking stuff going. Networking is mostly TCP/IP on linux (though there is solid support for IPX, AppleTalk and SMB),and having your adresses distributed correctly is the first step. You'll need a net number (usually 192.168.0, a private class) a netmask (usually a gateway address for all your clients (this would be the device connected to the "outside" world, assuming you have one) and a different IP number for every machine. Having a nemeserver for name resoultion is also useful, though for starters you might be able to get away on /etc/hosts.

As for the server/client issue:
you should state what tasks should the server perform vs. the workstation.

It is mostly a matter of which application you install on which box that makes the difference - structurally, each box is capable of acting as both.

So it goes like this:

Web serving: install apache

Mail serving: install an MTA (maybe sendmail),ipop3d  and perhaps fetchmail on the server box, on the client a pop3 capable client (such as kmail, or Nescape communicator) and maybe fetchmail.

Name resolution: bind on the server, nothing on the client.

File serving: NFS/Samba (server side) on the server, the corresponding client stuff on the client.

DHCP: dhcpd server side, pump or other on the client.

Routing, firewalling and NAT: ipchains, server side.

[Note that most of these apps are already installed on one (or both your machine). To learn about them, use the rpm command (man rpm) or, assuming you installed KDE, you can use kpackage, which is a GUI interface to rpm.]

I could go on, but the bottom line is that, whatever server task, it will be performed by any Linux box with the appropriate app and attending configuration: the lattest is the part that will require the most attention,and will actually define your server environment.

Each area I mentioned has its own particulare setup needs, and it would be impractical to cover them all (even if I could), so you'll have to focus your question.

Since you mention samba, heed the fact that samba now ships with a web interface (swat) which is muche easier to use for initial configuration than the usual mucking around in smb.conf.

HTH & cheers,


Author Comment

ID: 2638950
Thank you.  I know it's simple, but there are some things you just need spelled out.

Thanx again

Featured Post

A proven path to a career in data science

At Springboard, we know how to get you a job in data science. With Springboard’s Data Science Career Track, you’ll master data science  with a curriculum built by industry experts. You’ll work on real projects, and get 1-on-1 mentorship from a data scientist.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

This article will show you step-by-step instructions to build your own NTP CentOS server.  The network diagram shows the best practice to setup the NTP server farm for redundancy.  This article also serves as your NTP server documentation.
This article explains how to use the rsync command to create backups and sync data across hosts. Rsync is a very useful command that is often used to copy data, make backups, migrate hosts, and bridge the gap between site staging and production envi…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

587 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question