Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

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

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

I am in domain, I want to ping a computer not in the domain by name, it is not working
Please advise
0
Ihab
Asked:
Ihab
5 Solutions
 
Aditya AroraNetwork & Hardware Commented:
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
 
Andy MIT Systems ManagerCommented:
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
 
pierrejeanesCommented:
Can you post the command you are using
0
Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

 
Aditya AroraNetwork & Hardware Commented:
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
 
Jason WatkinsIT Project LeaderCommented:
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
 
BasheerptCommented:
- 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

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

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