Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions

Help me creating my home network with LINUX !!!

Posted on 2003-12-10
Last Modified: 2010-08-05
I hope you can help me creating my home network. So far this is what I have:

Internet -------------- Ethernet                             --------------- Windows XP
                               Ethernet  --------------- Hub
                                                                        --------------- Windows XP

Explanation: The "Internet" an other LAN, but I do not concider that to be a probem. This "Internet" assigns me a dynamic IP address, though usually it is always the same.

This "Internet" goes to my REDHAT 9 LINUX machine. This machine has 2 network cards. The first one is used to connect this computer to the "Internet/LAN", and the second one is used to connect my LINUX machine to a 16 port - HUB.

From the HUB I have some windows xp computers.

What do I want from this system ?

I would like to start from "0".
1. I would like to know how I could see if my two network cards are recognized by the operating system.
2. I would like to have my windows machines connected to the linux machine. These windows machines should get a   dynamic IP from the LINUX machine.
3. My Linux machine should be my mail server, so all my emails will be saved into the Linux machine. when I check my e-mail in my windows machines, then I will of course go to the LINUX box and get it from there.
4. Other services will be configure in my network, but so far, I would like to start with thse basic ones.

I hope you can help me with some detailed code, so I will understand what I am doing, how I am configuing my gateway, hostname, etc... I am planning to program the whole thing from the shell-bash-sh or how ever you want to call it.

Please if you have the time, then help me at least with one of the points I mentioned before and try to explain to me how to do it.

Thank you for your help.
Question by:probine
  • 5
  • 4

Accepted Solution

_tack earned 50 total points
ID: 9910841
OK, let's start with the first question,
to see if the two cards are recognized by the OS, just do
# ifconfig -a

you should see the two network cards (eth0 and eth1).
Choosing the right IP class for the internal network is important, you have some "private" classes that you can choose from,
you have class 10.x.x.x netmask, class 172.16.x.x-172.31.x.x netmask or class 192.168.x.x netmask

You need to assign a static IP address to internal NIC from one of these classes, just make sure that it will not conflict with the external network. (It must be a different network class)

2. to dynamically assign IP addresses to your windows machines you will need to install a
dhcp server on your linux box (isc dhcp should come with RH9). You might have to configure it.
If you have any question, about configuring DHCP server let me know.

3. in order to use your linux as mail server you will need to install a mail server such as sendmail / exim / qmail, RH should by
default come with sendmail, you will have to modify the configuration, because by default it will be listening on loopback IP only.

To retrieve mail from your linux box you will need either a POP3 server or an IMAP4 server.

PS: you don't need to program, you just have to configure your RH box.
I would suggest you to start installing the Linux box and configuring network on it, if any question arises during this process, come back
and post questions.

Author Comment

ID: 9910930
I will try what you told me today at night. Tomorrow ( Thursday 11-Dec-2003) I will stat poting my questions. So fat thanks for your help.

Author Comment

ID: 9910946
Remember, I would like to run my server without the graphical interface. i only wnat to install it with the text interface. I also have one more question.

If my kinux machine is going to have a FTP server,Mail server, DHCP, Firewall, Samba, file server, etc... should I install REDHAT having the complete packages, only the one called "server", or which one ?
Portable, direct connect server access

The ATEN CV211 connects a laptop directly to any server allowing you instant access to perform data maintenance and local operations, for quick troubleshooting, updating, service and repair.


Expert Comment

ID: 9910963
I don't know how RH packages installations, but the server should be good enough,

In case, you can check at install time that the packages you need will get installed.
(see detailed package list or something similar).

in case it does not install some packages, just put the CD in mount it and install the required
packages with

# rpm -i <packagename>
LVL 12

Expert Comment

ID: 9917872
For installation of software, I personally would like to go for binary/source code install, that's software.version.tar.gz and untar them and run the config by my own.

example : apache

I can config the installation and put apache into /usr/local/apache and apache config file into /etc/apache bla bla bla..

For making a home networking have a check here http://www.siliconvalleyccie.com/

Author Comment

ID: 9948030
Hi _tack.

Can I send you an e-mail explaining what I am doind in my home network ?


Expert Comment

ID: 9948070
I wouldn't do this, I'd rather prefer continuing post questions on this site, so other people could find a solution to a similar
problem by looking at PAQ db.

Anyway, you can find my email address on this page:
http://www.cscs.ch/people/index.html -- look for tack.

Author Comment

ID: 9948390
You are right... I wanted to get your e-mail because I thought you might not be comming back to this site, and just in case I coud continue getting help from you.

Of course, I would also like to keep on posting on this site so everybody will learn a ittle bit more.

I will post more questions about my home network which I want to create and looks like this:

Internet->Linux->Hub->Computer1, Compter2, etc...

I am new to this site, so I do not really know about this points and things like that, but how can I get points ? How can I give points for exampleto _tack ?


Author Comment

ID: 9948557
I just created a web site ( 16th, Deceber, 2003) in which I will be posting my progress in creating this network. I will put time and effort to mak it easy to be understood ( Only if I succeed ) the link is:



Expert Comment

ID: 9948567
have a look at the help page.

To give points, you open a question, and when somebody has given you the right answer, you can accept the answer,
by accepting the answer you give points to the expert that posted the accepted answer.


Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
SFP configuration on a Linux server 8 211
OpenWrt 1 47
apache and php 3 120
Weird Samba Connectivity Issue... 7 51
I have seen several blogs and forum entries elsewhere state that because NTFS volumes do not support linux ownership or permissions, they cannot be used for anonymous ftp upload through the vsftpd program.   IT can be done and here's how to get i…
Note: for this to work properly you need to use a Cross-Over network cable. 1. Connect both servers S1 and S2 on the second network slots respectively. Note that you can use the 1st slots but usually these would be occupied by the Service Provide…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…

765 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