Route Add and Ping

I have 3 computers with difference network:

+ Com1: 10.107.101.35
+ Com2: 10.107.11.14
+ Com3: 192.168.59.130

from Com1 I can ping Com2 and Com3
I want to ping from Com2 to Com3 but I cannot, I have run this command in Com2: route add  192.168.59.0 mask 255.255.255.0 10.107.101.35
 
But I still cannot.

Please help me this.

Thanks!
JameMeckAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Chris MillardCommented:
If Com1 is Windows Server 2008 R2, then it does not respond to pings by default - you have to enable this option.

Open a command prompt and type:-

netsh advfirewall firewall add rule name=”ICMP Allow incoming V4 echo request” protocol=icmpv4:8,any dir=in action=allow
Chris MillardCommented:
Also, can Com2 ping Com3 and can Com3 ping Com2?
JameMeckAuthor Commented:
Dear Roy,

I ran your command and get this error:

C:\Users\user>netsh advfirewall firewall add rule name="ICMP Al
low incoming V4 echo request" protocol=icmpv4:8,any dir=in action=allow

A specified value is not valid.

+ Com1: 10.107.101.35 --> Windows 7
+ Com2: 10.107.11.14 --> Windows Server 2008 R2
+ Com3: 192.168.59.130 --> VMWare ESXi 5

Com2 and Com3 cannot ping together, I want to make comunication between them via COM1.

Thanks!
Protecting & Securing Your Critical Data

Considering 93 percent of companies file for bankruptcy within 12 months of a disaster that blocked access to their data for 10 days or more, planning for the worst is just smart business. Learn how Acronis Backup integrates security at every stage

Chris MillardCommented:
Did you TYPE the command, or copy and paste it from this post? If you copied and pasted, try  typing it - and make sure that when you do it, yuo are running command prompt with elevated privilieges
Ashok DewanFreelancerCommented:
Please tell also which subnet mask are you using and have you placed any router ?
JameMeckAuthor Commented:
Dear sir,

I am sure I am running with elevated privilieges, I run it in Windows 7, and additional information that the firewall has been turned off.


Thanks!
Chris MillardCommented:
Sorry - I was mis-reading the question. Your route add command doesn't seem 100% to me. You should be using:-

route add 192.168.59.0. mask 255.255.255.0 <ip of the gateway here - not COM1>

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
JameMeckAuthor Commented:
Thanks! I got it.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Windows 7

From novice to tech pro — start learning today.