Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17


Cannot communicate between 2 machines on different subnets & netmask

Posted on 2002-05-14
Medium Priority
Last Modified: 2010-03-18

I have Linux 7.1 using IPChaines and IP_FORWARDING=on.

I have an external network with the following setup:
Cisco router =
Windows 2000 =
(NetMask =

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:
eth2 IP=
Netmask =

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 (, 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 =

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.
Question by:MCI_Consultants
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
LVL 40

Expert Comment

ID: 7008428
You've got a routing problem. Right now the machines in the network believe that any destinations other than that network should go to the Cisco, which is the default gateway for that network. There are two possible solutions for that. One is to include a static route on the Cisco telling it that the network is reachable by the gateway at (Linux's eth2 interface). The other solution is to add a static route to the w2k machine and tell it the same thing. With either of those routes in place you should be able to w2k machine as it'll know (either from it's static route or by a redirect from the Cisco) how to get packets back to the Linux box and thus to a client on the inside of the Linux box.

A possible complication is that you've also got a direct Internet connection via the Linux (presumably via eth1). I can't tell how you've set that up, so I don't know if additional routing is needed on Linux. Fix the routing on the 192.168.160 network and see if you can connect to w2k.
LVL 51

Expert Comment

ID: 7010389
echo 1 >/proc/sys/net/ipv4/ip_forward
LVL 16

Expert Comment

ID: 7017984
Please post output of:

ifconfig -a
netstat -nr
cat /proc/sys/net/ipv4/ip_forward


Nothing ever in the clear!

This technical paper will help you implement VMware’s VM encryption as well as implement Veeam encryption which together will achieve the nothing ever in the clear goal. If a bad guy steals VMs, backups or traffic they get nothing.


Expert Comment

ID: 9078488
This old question needs to be finalized -- accept an answer, split points, or get a refund.  For information on your options, please click here-> http:/help/closing.jsp#1 
Post your closing recommendations!  No comment means you don't care.
LVL 12

Expert Comment

ID: 10004248
No comment has been added lately, so it's time to clean up this TA.
I will leave the following recommendation for this question in the Cleanup topic area:

PAQ - no points refunded

Please leave any comments here within the next seven days.

EE Cleanup Volunteer

Accepted Solution

Computer101 earned 0 total points
ID: 10034027
PAQed - no points refunded (of 300)

E-E Admin

Featured Post

Learn by Doing. Anytime. Anywhere.

Do you like to learn by doing?
Our labs and exercises give you the chance to do just that: Learn by performing actions on real environments.

Hands-on, scenario-based labs give you experience on real environments provided by us so you don't have to worry about breaking anything.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I have seen several blogs and forum entries elsewhere state that because NTFS volumes do not support linux ownership or permissions, they cannot be used for anonymous ftp upload through the vsftpd program.   IT can be done and here's how to get i…
Note: for this to work properly you need to use a Cross-Over network cable. 1. Connect both servers S1 and S2 on the second network slots respectively. Note that you can use the 1st slots but usually these would be occupied by the Service Provide…
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…
Add bar graphs to Access queries using Unicode block characters. Graphs appear on every record in the color you want. Give life to numbers. Hopes this gives you ideas on visualizing your data in new ways ~ Create a calculated field in a query: …
Suggested Courses

721 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question