Hi! I have a cable modem connected to my Linux Red Hat6.0 with alomost static IP address. (Although it is supposed to use DHCP to get an IP, I never seen it changing to a different IP. So I put the static IP and it works fine.)
Now, I installed 2 NIC cards and setup one (using IP assigned by the cable company) for the cable modem and the other(22.214.171.124) to communicate with my local network so my PCs can also share the Internet. I have tried to setup the routing table, but I may have done somthing wrong. When I do netstat -rn, it doesn't show my local network gateway (192.168.1.1) When I type, "route add -net 192.168.1.0 netmask 255.255.255.0 dev eth1), it says "SIOCADDRT: Network is down," but when I type ifconfig -a it shows both my eth0 and eth1 as active. I can browse the net on the machine and I can telnet out so the machine sees the router from the cable modem, but the machine doesn't see any local machines.
I would like to start all over. Would someone give me a step-by-step instruction on how to set it up correctly?
Thank you very much!