LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 10-14-2001, 01:28 PM   #1
andymay27
LQ Newbie
 
Registered: Oct 2001
Location: Richmond, VA
Distribution: huh?
Posts: 1

Rep: Reputation: 0
LANs


I've recently gotten a cable modem for my home. I'd like to set up a LAN for my daughter's desktop, my wife's lap top and and my lap top. We've all got Ethernet cards and my son gave me a "AOpenHub 528" hub. Since he recently joined the Navy and left home I am clueless about how to achieve my goal above. Help!
 
Old 10-14-2001, 03:14 PM   #2
Steave
Member
 
Registered: Jul 2001
Location: Braunschweig, Germany
Distribution: Suse 7.2
Posts: 184

Rep: Reputation: 30
OK. First to the basic stuff:

You first want to physically build up you LAN:

just plug the computers into the HUB. you should have some cables that fit into the ethernet-cards and the hub. Otherwise get them.

I assume your other machines are running windows? You need to set up the ethernet-cards according to the manual. Shouldn't be that big of a problem.

Now you should actually already be able to "see" the other computers on the network. Have a look at the network neighbourhood..
I would recommend setting up a tcp-ip network with static ip-addresses, though. I'll explain that in the following:

Afterwards you need to check the properties of your network (right-click on your desktops network icon)
If not already done, install the tcp/ip protocol for the ethernet-adapter. You can also delete all other protocols, since they won't be used...

It will speed up things a bit if you assign static ip-addresses within your LAN. To do this, go to the properties of the tcp-ip-protocol and fill in the information...
use addresses in the form of 192.168.0.x where x is a number from 1 to 254 the addresses have to be unique within the network!
Set the subnet-mask to 255.255.255.0

Now you should be able to ping the computers in your LAN. Try going to a dosprompt and typing ping 192.168.0.x where x is a number you assigned to a computer on the network, which is up.
You probably first want to try the address of the computer you're on.
You should get an output like

answer from 192.168.0.1: Bytes = 32 ...

Now try the other ones. If you get this far: congratulations, you just set up a windows LAN! If not, look through the previous steps and read some in the windows manual. Or post any problems here.

Now to internet connection sharing:
You will need some part of hardware that is connected to the cable modem and lets its internet be used by the other computers. You can use a PC or a hardware-router to do this task.
If you use a PC you can use the windows ICS which comes with Win98SE and later. This makes it pretty easy to share your internet-connection with others. For this, you only need to hook up your windows-machine to the internet and to the LAN as above, then install ICS and follow the wizards to share your internet-connection!
Or you may use a linux-box as router. In this case you will have to hook up a linux-computer to the cable modem as well as to the LAN and first, get your cable-modem to run and then set up some routing stuff.
If you feel like using some old PC as router, you probably want to look at preconfigured Linux-based routers that fit on one disk such as from
BBIagent NET You just need to fill in some basic information and it will most likely work.

You will then have to set the standard-gateway of the computers of the LAN to the ip-address of the computer sharing the internet-connection. And it should work.

This is pretty basic. Hopefully it got you on the way some.

Steave.
 
  


Reply


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
Problem in routing between two LANs burrito Linux - Networking 2 07-03-2005 09:33 PM
Setting up wireless lans JonChristmas Linux - Wireless Networking 15 06-03-2004 07:14 PM
Routing through 2 LANs LeifWiderberg Linux - Networking 3 03-12-2004 12:00 PM
Linux distributions and LANS Stimz Linux - Newbie 8 03-09-2004 03:58 AM
iptables and ftp from the LANs fddi1 Linux - Networking 4 10-17-2001 01:19 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 06:57 AM.

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