Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 01-09-2004, 12:22 PM   #1
Registered: Aug 2003
Posts: 55

Rep: Reputation: 15
home network howto?

i would like to create a network similar to the microsoft internet sharing network. with one computer sharing its internet connection. i like this setup because there is no proxy bits to work with, no firewall to care about. ive heard about doing a dhcp server, but i still know nothing about it. is this a good idea? or is there something better i could do? the only computer i can do it with is an old 600 mhz celeron. i would be grateful for any ideas, thank you.
Old 01-09-2004, 12:31 PM   #2
Senior Member
Registered: Dec 2003
Location: Brasil
Distribution: Arch
Posts: 1,037

Rep: Reputation: 46
did you try samba?
try to use the search engine: "samba" ....
i think you will find really useful information there...
Old 01-09-2004, 01:59 PM   #3
Registered: Sep 2003
Posts: 240

Rep: Reputation: 30
DHCP refers to the automatic assigning of IP addresses (unique computer id numbers used to address infomation on a network - think of it as a postal address for a house) in a large business environment, and would be a terrible choice for a 2 computer home network.

What you are trying to accomplish will require a lot of study/learning/etc, but can be done relatively easily. You will def need to do some reading on basic computer networking and TCPIP to get off the ground. Basically, you need to:

-computer #1 (assuming you have DSL/broadband of some kind) install a 2nd network card in the computer that is connected to the internet. Assign an ip address to the 2nd (newly installed) net adapter (the first net card will use an ip address assigned by your isp) and enable ip forwarding between the two interfaces. this is where a basic conceptual knowledge of TCPIP is critical - you must chose an ip scheme and understand it... if you are completely lost, use ip add with a subnet mask of

- configure the network card of computer #2 with a different ip address (suggestion: and set the default gateway to the ip address assigned to the second (newly installed) network adapter on computer #1 ( if you used my suggestion above)... sub mask

connect the two computers with a special "crossover" lan cable - ordinarly cable will not work unless you are using a hub. use IP utilities (PING, TRACERT, etc) to verify connectivity, etc.

did I leave anything out guys?

Last edited by t3___; 01-09-2004 at 02:03 PM.
Old 01-09-2004, 02:01 PM   #4
Registered: Sep 2003
Posts: 240

Rep: Reputation: 30
oh... and based on the questions you are asking, I would strongly suggest going cover to cover thru a couple of "basic computer networking" books before attempting what I outline above... you are likely to find lots of frustration if you dont at least have a basic conceptual knowledge of what is going on...

good luck!
Old 01-09-2004, 02:07 PM   #5
Senior Member
Registered: Jan 2004
Location: Oregon, USA
Distribution: Slackware
Posts: 1,246

Rep: Reputation: 59
iptables is the packet filtering tool you need to familiarize yourself with. It handles the IP MASQUERADING and such. Aside from the physical set up, this is the only tool that you need to learn about. There are a ton of already-built HOWTOs on this. Try a google search on something like 'iptables masquerading network'.

Your celeron 600MHz should be more than enough of a beast for this purpose.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Linux Home Server HOWTO Butt-Ugly Fedora 55 01-21-2007 05:27 AM
HowTo set up a home network purefan Linux - Networking 3 04-08-2005 12:39 PM
howto have the client home dir on a server green-ears Linux - Networking 7 09-25-2003 08:17 PM
IMAP on home network - HOWTO? debest Linux - General 4 08-22-2003 08:52 AM
vsFTPd: howto keep a user in his home directory jonnyz Linux - Networking 1 06-20-2003 03:06 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:31 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration