Linux Networking--Newbie level

Posted on 2000-03-20
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 200 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Setting up Secure Ubuntu server on VMware 1.      Insert the Ubuntu Server distribution CD or attach the ISO of the CD which is in the “Datastore”. Note that it is important to install the x64 edition on servers, not the X86 editions. 2.      Power on th…
The purpose of this article is to show how we can create Linux Mint virtual machine using Oracle Virtual Box. To install Linux Mint we have to download the ISO file from its website i.e. Once you open the link you will see …
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…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

867 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

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now