LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (http://www.linuxquestions.org/questions/linux-networking-3/)
-   -   RedHat Linux 9 as a internal Router (http://www.linuxquestions.org/questions/linux-networking-3/redhat-linux-9-as-a-internal-router-701854/)

shaqa 02-03-2009 04:59 AM

RedHat Linux 9 as a internal Router
 
Dear All,

I have a problem from last four days, is there any one to help me to solve this problem.

I have to different network address scheme

1. 192.168.0.0/24
2. 192.168.1.0/24

I want to use redhat 9 to act as a router for these two network.
Following are steps which I have done.

1. installed 2 NICs
2. one ip is 192.168.1.1 netmask 255.255.255.0
3. seconds ip is 192.168.0.1 netmask 255.255.255.0
4. enabled ip forwarding. echo "1" > /proc/sys/net/ipv4/ip_forward.

client machines form both networks can ping both ips of this router but

it can not access any other computer on other network.

I need all traffic should route with its real ip. I mean dont want to configure nat (masquarding).

----end----

dorian33 02-03-2009 05:19 AM

which are the IPs of the client hosts (for both sides of the router)?
which is routing table in the client hosts?

shaqa 02-10-2009 12:03 AM

One side === 192.168.0.1 - 192.168.0.255

other side === 192.168.1.1 - 192.168.1.255


All times are GMT -5. The time now is 11:25 PM.