Click to See Complete Forum and Search --> : First time setting up a internal network


Jorge
02-25-2001, 10:27 PM
Hi. I have never done alot of networking and at the present I have the following things to do.

I have a machine running Windows 95 in one room of the house and another one running Debian Linux 2.2 kernel 2.2.17. I need the Windows 95 machine just for viewing web pages and downloading files mostly. The Debian 2.2 machine will run a httpd server on it. I have one cable modem, three nics and one five port hub. The cable modem and hub will be in one room with the Debian 2.2 machine. I have never setup a internal network keep in mind much the less done any real networking. Is there a good paper on doing something like this or could someone possibly shed some light on how to accomplish this? Links to papers or anything else would be VERY appreciated! Thanks to anyone in advance. So far I know I need to have Windows 95 machine set as a 192. block and have Debian watch the data and push the data out as my 65.32. network. Again all help is welcome =)

Tyr-7BE
02-25-2001, 11:51 PM
I don't have any specific links, but there should be some NHF's which will point you in the right direction. Any linux site will have a networking section. Sorry that this isn't very helpful...more like encouragement :p

manual_overide
02-26-2001, 12:31 AM
Do a forum search for iptables, IPforwarding, and NAT.

Here's a quick and dirty:

connect the cable modem to a network card in the Debian box. We'll call this card eth0.

Connect the in port on the hub to the other network card in the debian box. We'll call this card eth1.

Connect the Windows box to the hub.

Configure eth0 to use the external network, probably w/ DHCP.

Give eth1 an IP. Probably 192.68.1.1 or whatever.

Configure IPForwarding on the Debian box.

Give the Windows box an IP. Say 192.68.1.5 Make the Gateway on the Win box whatever IP you gave eth1, in this case 192.68.1.1

Viola! Home network! It's really easy to set up in OpenBSD ;)

triplehex
02-26-2001, 12:35 PM
Don't forget to setup the route for the eth1 card.

Spiff
02-26-2001, 08:37 PM
Heres a very good link that I used to setup my home network, thanks to... whoever wrote it, I cant remeber at the time, but anyways, its great.
http://www.fandelem.com/nhf.html :D

manual_overide
02-26-2001, 10:01 PM
http://www.openbsd.org/faq/faq6.html

gotta love BSD :)