Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

How can I check an ip address of a computer through CMD which is on the same LAN as I am without any third party software?

I'm fully aware of pinging the PC name, but what would this problem below indicate?

C:\Users\Storage>ping malan-pc

Pinging Malan-PC [fe80::5cba:e518:d8df:ac30%12] with 32 bytes of data:
Reply from fe80::5cba:e518:d8df:ac30%12: time<1ms
Reply from fe80::5cba:e518:d8df:ac30%12: time<1ms
Reply from fe80::5cba:e518:d8df:ac30%12: time<1ms
Reply from fe80::5cba:e518:d8df:ac30%12: time<1ms

Ping statistics for fe80::5cba:e518:d8df:ac30%12:
    Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
    Minimum = 0ms, Maximum = 0ms, Average = 0ms
share|improve this question
1  
the address is not a MAC address but an ipv6 one. Try to force the ping on ipv4 (ping hostname -4) –  petrus Aug 2 '12 at 17:28
    
Drop the junk after the % sign and you have a perfectly valid IP address which you can use to connect to the remote system. IPv4 is going away sooner or later, so you may as well get used to IPv6 now. :) –  Michael Hampton Aug 3 '12 at 6:06
add comment

migrated from serverfault.com Aug 3 '12 at 5:07

This question came from our site for professional system and network administrators.

2 Answers

up vote 4 down vote accepted

You have the IPv6 address. If you want the IPv4 address you need add -4 to the ping command.

ping -4 malan-pc
share|improve this answer
    
Thanks and again sorry for posting in wrong category :) –  BaasGZA Aug 2 '12 at 17:30
add comment

This question really isn't for ServerFault, but I'll answer anyway

If DNS is working properly then simply "ping" the computer and look at the resolved IP.

I.e.

ping computername

And it should return something like

Pinging computername [172.16.0.1] with 32 bytes of data:
share|improve this answer
    
I'm fully aware of what you stated above. See the following and please inform me of what the problem can be. –  BaasGZA Aug 2 '12 at 17:22
    
The OP actually followed your advice, but didn't then understand the output it gave him. (Since it returned an IPV6 address) –  Bob Aug 2 '12 at 18:45
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.