Hi, so you have your main computer connected to the internet, as well as a HUB right? Then all the other computers connect to the HUB/your computer? I set up a network using a HUB about 6 month ago (just to play with, I use a wireless router for my i-net). I'll try to see if I can find someone of the site that helped me...
This was pretty much all I used I think:
http://www.e-infomax.com/ipmasq/
Your going to have to recompile your kernel. As the site tells you, you need to include "Netfilter" in your kernel (among several other things). In the netfilter config., make sure you also include ip-tables support, and you have to choose some sort of "Matching" support. I chose most of them (why not eh?), also choose REJECT support, cuz I think the script that that site has on it uses REJECT. There is also some other stuff you have to include, can't remember it all right now, looking at my config, I think, MASQUERADE, connection tracking, packet mangling, LOG support, and possbily some other stuff as well.
I think the above site tells you how to do everything but set up a dhcp server. Your going to want to configure your dhcp server (dhcpd),
this is my dhcpd.conf file (/etc/dhcpd.conf (slackware)), I created a script that automatically gets your dns servers and writes em to the conf. file, but if you don't move your computer around a lot then don't worry. If you want it, I can email it to you.
## Start of file
# dhcpd.conf
ddns-update-style none;
default-lease-time 21600;
max-lease-time 90000;
option subnet-mask 255.255.255.0;
option broadcast-address 192.168.0.255;
option routers 192.168.0.1;
#Fill in your domain-name-servers' ip-addies below, I blanked mine out
option domain-name-servers xx.xx.xx.xx, xx.xx.xx.xx;
subnet 192.168.0.0 netmask 255.255.255.0 {
range 192.168.0.10 192.168.0.100;
}
# This is for my laptop, when that MAC logs in (my laptop) it gives it 192.168.0.100
host top {
hardware ethernet 08:00:2b:xx:xx:xx;
fixed-address 192.168.0.100;
}
## end of conf file
You should probably start the firewall you get from the site sometime after you setup your network cards, and before you do anything else with em, and start the dhcpd server anytime after that. Start dhcpd by running: dhcpd ethX (where ethX is the name of your network card)