Go Premium for a chance to win a PS4. Enter to Win


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

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

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

This article will explain how to establish a SSH connection to Ubuntu through the firewall and using a different port other then 22. I have set up a Ubuntu virtual machine in Virtualbox and I am running a Windows 7 workstation. From the Ubuntu vi…
The purpose of this article is to demonstrate how we can use conditional statements using Python.
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Suggested Courses
Course of the Month7 days, 9 hours left to enroll

824 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