Solved

Route Add and Ping

Posted on 2012-03-21
8
490 Views
Last Modified: 2012-04-03
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!
0
Comment
Question by:JameMeck
[X]
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
  • 4
  • 3
8 Comments
 
LVL 17

Expert Comment

by:Chris Millard
ID: 37746371
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
0
 
LVL 17

Expert Comment

by:Chris Millard
ID: 37746373
Also, can Com2 ping Com3 and can Com3 ping Com2?
0
 

Author Comment

by:JameMeck
ID: 37746391
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!
0
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

 
LVL 17

Expert Comment

by:Chris Millard
ID: 37746444
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
0
 
LVL 9

Expert Comment

by:Ashok Dewan
ID: 37746468
Please tell also which subnet mask are you using and have you placed any router ?
0
 

Author Comment

by:JameMeck
ID: 37746477
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!
0
 
LVL 17

Accepted Solution

by:
Chris Millard earned 500 total points
ID: 37746482
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>
0
 

Author Closing Comment

by:JameMeck
ID: 37799839
Thanks! I got it.
0

Featured Post

Problems using Powershell and Active Directory?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Question has a verified solution.

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

Assume you have an outside contractor who comes in seasonally or once a week to do some work in your office, but you only want to give him access to the programs and files he needs and keep all other documents and programs private. Can you do this o…
This article explains how to install and use the NTBackup utility that comes with Windows Server.
This tutorial will walk an individual through the steps necessary to install and configure the Windows Server Backup Utility. Directly connect an external storage device such as a USB drive, or CD\DVD burner: If the device is a USB drive, ensure i…
This Micro Tutorial will go in depth within Systems and Security in Windows 7 and will go into detail regarding Action Center, Windows Firewall, System, etc. This will be demonstrated using Windows 7 operating system.
Suggested Courses

627 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