Click to See Complete Forum and Search --> : Simple Question
linuxluis
11-07-2001, 06:39 PM
Hello folks,
I have just finished setting up my linux box rd 7.0 for a server setup my firewall, plus I use my linux box as a router.
now my question is I have 2 win boxs that I would also like to have internet access.
In my linux box i have 2 nic card I have the dsl line coming into one of the nic cards, the other nic card has cable is going to a hub .
Would it be better to setup my box for dhcp or just a regaul static ip address.
Plus where do I find howto on setting up a home network that I could understand
thank you guys
Bishop
Sorry so long
:cool:
bdg1983
11-07-2001, 06:56 PM
Hey bud,
Since you only have a few computers to hook up and you want to learn how the do some networking I suggest you network using static ip's.
You can always go back and install a dhcp server later to check out how to do that, but you'll probably learn more by doing it manually.
You can check out the NHF's (Newbie Help Files) on the main page...under the Networking section and you'll find info to get you up and running.
Let us know how you made out !
GL Willy
linuxluis
11-07-2001, 07:15 PM
Willy ---
Thanks for the help. I will go and check it out. Also I plan on setting up my linux box as a http server,
Do i need to config DNS for hosting a site on my server with my static ip address that I have
bishop :cool:
m3rlin
11-07-2001, 08:29 PM
Hi! Yes you should use static ip's, and you can use ipchains to route the pakdges, is quite simple realy, just need to do something like
ipchains -A input -i eth0 -p -s 0/0 tcp -d <your ip> -j ACCEPT, is not quite this i think. Once i used a script to route to my win machines, and it woked just fine. If you wish you can be a little more specific about your internal network and how do you what it, and i could make a script for you.
Hope i helped.
bdg1983
11-07-2001, 09:11 PM
Luis
When you say DNS do you mean your want to get a domain name and run an Internet web server like
WWW.LinuxLuis.com (http://WWW.LinuxLuis.com)
and have people connect from the internet to your local webserver box ??
Willy
Direwolf_ts
11-08-2001, 07:15 AM
Here's the Home Network how-to I used when setting mine up. Worked like a charm.
http://www.linuxdoc.org/HOWTO/mini/Home-Network-mini-HOWTO.html
--Direwolf