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?

[Webinar] Streamline your web hosting managementRegister Today

x
 
schells082999Connect With a Mentor Commented:
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
 
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
Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

 
schells082999Commented:
Ok, what is your subnet mask?
Also, what IP addresses are you using for the two lan network cards?
0
 
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
 
4dm1nAuthor Commented:
Thank you very much, but I figured it out before you answered it. And yes that was what fixed it.
0
All Courses

From novice to tech pro — start learning today.