Redhat 6.0 Routing

I have set up a machine running Redhat 6.0. The machine contains three different network cards, each with a different address. I have a number of different clients running windows 95 and NT with their gateway pointing to this machine. Basically I am trying to make the three different networks become one. I can't get any services to go throught the Redhat box including ping or telnet. Does anyone have a solution?
4dm1nAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

schells082999Commented:
First, you need to make sure you have the interfaces up.  What are the interfaces (eth0, lo, etc..) listed when you type in the command:

ifconfig

at the command prompt? (you must be logged in as root)

You also need to make sure IP forwarding is turned on.  What is the content of your /etc/sysconfig/network file?

There is one more step, but let's make sure these two are correct first.

-schells
0
4dm1nAuthor Commented:
All interfaces are enabled and ip forwarding is enabled.
0
schells082999Commented:
Ok, what is your subnet mask?
Also, what IP addresses are you using for the two lan network cards?
0
Cloud Class® Course: Microsoft Exchange Server

The MCTS: Microsoft Exchange Server 2010 certification validates your skills in supporting the maintenance and administration of the Exchange servers in an enterprise environment. Learn everything you need to know with this course.

4dm1nAuthor Commented:
My subnet mask on all networks is 255.255.255.0 . Note, when I originally set up my two internal networks I did not understand ip fully, therefore my two sets of addresses aren't private and they should be. But for now I don't have time to change them on all client machines. The address on the cards belonging to my two local networks are 223.166.89.8 and 172.16.140.52 . The third card is connected to our parent company who we should be getting internet access through. They gave me a address of 38.241.47.8 to use on the card connected to them.
0
schells082999Commented:
Ok, type in the following commands (as superuser):

ipchains -P forward DENY
ipchains -A forward -s 223.166.89.8/24 -j MASQ
ipchains -A forward -s 172.16.140.52/24 -j MASQ

that should work,
-schells
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
4dm1nAuthor Commented:
Thank you very much, but I figured it out before you answered it. And yes that was what fixed it.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Linux Networking

From novice to tech pro — start learning today.