I am sure this has been asked a million times on this newsgroup, but I
scoured the internet looking for the information I need but I couldn't find
it. Not that I would even know the right information if I found it.
Obviously I am a linux newbie. Although I have spent several hours over the
past few weeks getting acquainted with it. Here's the question:
I have a cable modem that runs into an "uplink" port on a cheep 5 port 10mb
hub. Connecting to the hub I have 3 machines (2 windows and a linux box).
What I would like to do is run the cable modem into my linux box (into eth0)
have my linux box directly connected to my ISP through DHCP. This I can do
fine. Then I want run my linux box (from eth1) to the hub which will then
share the internet connection to the rest of the machines on the hub as well
as assign them a private class ip address (192.168.0.8 for example).
My linux box is running red hat 8. What do I need to do all this? Is
iptables what I am looking for? Does anyone know where I could find a how-to
or some documentation that walks me through how to do exactly this? I am
sure there are tons of them out there. Anyway, any input or guidance is
greatly appreciated.
Cheers,
-D