Cannot communicate between 2 machines on different subnets & netmask
Posted on 2002-05-14
I have Linux 7.1 using IPChaines and IP_FORWARDING=on.
I have an external network with the following setup:
Cisco router = 192.168.160.225
Windows 2000 = 192.168.160.226
(NetMask = 192.168.160.240)
The above machines are connected to a switch.
I then connected a network cable from the switch into my linux box via (eth3) I configured eth2 as follows:
Netmask = 192.168.160.240
I am able to ping the Windows 2000 machine from the linux box.
However on my Internal network I cannot ping the Windows 2000 machine but of course I can ping eth2.
My internal network is:
My IP address on that network (192.168.66.91), this is the machine I am using to try and ping the Windows 2000 machine.
I also have a direct internet connection and the router for that internet connection is listed as my default gateway.
Default gateway = 192.168.99.201
Please ask if you need any clarification on the above network.
I know it may make my life easier if I use IP Filtering however I do not have the expertise to get that up and going quickly because I am looking for a solution by today.