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
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
  • 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 ?
Why Off-Site Backups Are The Only Way To Go

You are probably backing up your data—but how and where? Ransomware is on the rise and there are variants that specifically target backups. Read on to discover why off-site is the way to go.


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

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: -- 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

 [eBook] Windows Nano Server

Download this FREE eBook and learn all you need to get started with Windows Nano Server, including deployment options, remote management
and troubleshooting tips and tricks

Question has a verified solution.

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

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…
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…
Visualize your data even better in Access queries. Given a date and a value, this lesson shows how to compare that value with the previous value, calculate the difference, and display a circle if the value is the same, an up triangle if it increased…

630 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