Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 504
  • Last Modified:

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!
0
JameMeck
Asked:
JameMeck
  • 4
  • 3
1 Solution
 
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
0
 
Chris MillardCommented:
Also, can Com2 ping Com3 and can Com3 ping Com2?
0
 
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!
0
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.

 
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
0
 
Ashok DewanCommented:
Please tell also which subnet mask are you using and have you placed any router ?
0
 
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!
0
 
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>
0
 
JameMeckAuthor Commented:
Thanks! I got it.
0

Featured Post

Has Powershell sent you back into the Stone Age?

If managing Active Directory using Windows Powershell® is making you feel like you stepped back in time, you are not alone.  For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why.

  • 4
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now