Gateway to local area network routing issue
Can someone help me with this problem? I have the following ip address:
eth1 External IP = 18.104.22.168 (ISP provided)
eth0 GW = 10.0.5.1/24
Internal IP address = 10.0.5.0/24
OS = Redhat Linux 4.0
i can surf the internet using the LAN computers. On the other way, I can connect to the eth1 (22.214.171.124) thru ssh. From eth1, i can ping the gateway (eth0 with ip address 10.0.5.1/24). Here comes the problem...., i am tring to ping the internal ip addresses such as 10.0.5.x/24, but "Destination cannot be reached".
from the server, i tried to do :
route add -net 10.0.5.0 netmask gw 10.0.5.1 netmask 255.255.255.0
but i still not able to ping the 10.0.5.0/24 clients (LAN), from 10.0.5.1. Can you tell me what should be the proper solution for this?...