Solved

How to ping a pc by computer name not in the domain?

Posted on 2014-02-03
6
1,092 Views
Last Modified: 2014-02-05
I am in domain, I want to ping a computer not in the domain by name, it is not working
Please advise
0
Comment
Question by:Ihab
6 Comments
 
LVL 6

Expert Comment

by:Aditya Arora
ID: 39829332
Hi,

There is no difference between pinging system in domain or out of domain. check firewall setting of system you are pinging.

to enable ping you can run below command in command promt it required system.

netsh firewall set icmpsetting 8 enable
0
 
LVL 13

Assisted Solution

by:Andy M
Andy M earned 100 total points
ID: 39829340
Hi

When you say it's not working can you provide any further information? Does it come back with time out? Destination host not found? Unable to find host?

Providing both computers are on the same network and the computer you are trying to ping is listed in the DNS entries on your DHCP server (and it's firewall allows it) you should be able to ping it.

If it's not resolving the name to an IP then that would indicate a DNS issue.

If you can provide more details (or a screenshot) it will help us to establish what to try from your end.
0
 
LVL 2

Assisted Solution

by:pierrejeanes
pierrejeanes earned 100 total points
ID: 39829348
Can you post the command you are using
0
Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

 
LVL 6

Assisted Solution

by:Aditya Arora
Aditya Arora earned 100 total points
ID: 39829349
or you can do it as below

Start – Control Panel – System and Security – Windows Firewall – Advanced Settings

Windows Firewall with Advanced Security

This will bring up the Windows Firewall with Advanced Security Screen.

Click on Inbound Rules

The easy way to allow Ping is to enable the existing ICMP rules.

Enable ICMP (PING) Existing Rule(s)

    You could scroll down and select File and Printer Sharing (Echo Request – ICMPv4-in) – Right Click and Select Enable Rule (Notice you will have one for multiple networks, you can enable the only the Domain network if you are in a domain environment or enable both if you want to enable on private networks also.

    Notice there are ICMPv4 and ICMPv6.  you can enable it there


You could also Create a Rule from Scratch but if you do that the default action will be to enable all ICMP traffic instead of just enabling echo requests.  If you want to do that… Create a new rule click on New Rule in the Actions pane (upper right corner) or right click on Inbound Rule and select New Rule.  Select Custom – All Programs – for Protocol select ICMPv4. If you only want to do Echo Requests you will have to click on Customize, select Specific ICMP Types and Enable only Echo Request.  Scope leave at Any Action Leave at Allow the connection. Profile Select the networks you want to have it enabled and turn off the ones you do not want to have (usually public). Finally on the Name page of the wizard give it a name like (Allow Ping) and click Finish. -
0
 
LVL 27

Assisted Solution

by:Jason Watkins
Jason Watkins earned 100 total points
ID: 39829400
Can you ping it by IP address? That needs to come first. If it cannot be reached by IP, then a firewall rule must be opened to allow ICMP communication.

http://kb.iu.edu/data/aopy.html

To ping by name, you need to be able to resolve that name to an IP address somewhere. You have a domain, which has to have a DNS server. Is the out-of-domain client using that DNS server along with all of your domain clients? If it is, and if DNS is set up to automatically created (A) HOST records for clients, then you should be able to ping it by computername.domain.com.

If the computer is not using your DNS server, then you are left with broadcast-based resolution. Simply pinging the NetBIOS name of the computer may provide a return. If not, a WINS server can be used to focus the broadcast name resolution traffic in your network.
0
 
LVL 5

Accepted Solution

by:
Basheerpt earned 100 total points
ID: 39829419
- Disable the firewall in the destination computer. Then try pinging by its IP address
- If not success, do a tracert command. Eg: tracert <ipAddress>
This will tell you at which point your request drops.
0

Featured Post

Migrating Your Company's PCs

To keep pace with competitors, businesses must keep employees productive, and that means providing them with the latest technology. This document provides the tips and tricks you need to help you migrate an outdated PC fleet to new desktops, laptops, and tablets.

Question has a verified solution.

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

When you start your Windows 10 PC and got an "Operating system not found" error or just saw  "Auto repair for startup" or a blinking cursor with black screen. A loop for Auto repair will start but fix nothing.  You will be panic as there are no back…
On some Windows 7 (SP1) computers, Windows Update becomes super slow even the computer is reasonably fast.  There's one solution that seemed to have worked well for me (after trying a few other suggested solutions).
This Micro Tutorial will teach you how to change your appearance and customize your Windows 7 interface to your unique preference. This will be demonstrated using Windows 7 operating system.
This Micro Tutorial will give you a basic overview of Windows Live Photo Gallery and show you various editing filters and touches to photos you can apply. This will be demonstrated using Windows Live Photo Gallery on Windows 7 operating system.

786 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