Solved

Rarp Utility

Posted on 1997-02-26
8
3,587 Views
Last Modified: 2013-12-23
Is there a utility for NT/win95 that given a MAC address, will return the ip address??
0
Comment
Question by:v-patcaf
8 Comments
 

Author Comment

by:v-patcaf
ID: 1559276
Adjusted points to 150
0
 

Author Comment

by:v-patcaf
ID: 1559277
Adjusted points to 195
0
 
LVL 1

Expert Comment

by:rasta11
ID: 1559278
Let me know if you find one!
rasta11@voicenet.com
0
What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

 
LVL 1

Expert Comment

by:bcook
ID: 1559279
If you're using DHCP, you can look it up in the active leases - double click on the ip number.

Failing that from the command line type:

ping 192.168.1.4   (Or whatever number you're intersted in)

This will fore an ARP resolution
and then use

arp -a 192.168.1.4   (Or the adress you want)

To display the ARP table

This could easily be turned into a script
or even a GUI tool - Mail me if you would like me to write you one.
0
 

Author Comment

by:v-patcaf
ID: 1559280
I understand this answer, but it requires that the ip address be known ahead of time.  I want to be able to find the ip address using the MAC address only
0
 
LVL 1

Expert Comment

by:bcook
ID: 1559281
OK, I read the question around the wrong way.

Are you looking for a RARP server, which is basically supplies an IP number from a MAC->IP number table set up manually, or are
you looking for a diagnostic tool to determine the IP number of a known ethernet card.

If it's the second case, then I could write you a script along the lines of the example I gave you before, simply by forcing resolution of a range of IP numbers, and then looking at the ARP table to see which one matches the MAC address.
0
 
LVL 5

Accepted Solution

by:
cer earned 190 total points
ID: 1559282
If the networkcard in question is NOT in the same subnet it is impossible. The IP-address is used to decide where the packets should be forwarded to.
If it is on the same subnet and you get packets from that networkcard you can isolate the IP-address by looking inside the packet. But the easiest way is the one suggested by bcook: Ping all IP-adresses in your subnet and create a list.

Again: You can not ping a MAC address. Therefor it is not possible to build this tool you want to have.

BTW: For what reason do you want it?

0
 

Expert Comment

by:spacer052197
ID: 1559283
Just 'ping' the network broadcast address (xxx.xxx.xxx.255 on a class C net), then type "arp -a". This will give you a list of all the IP addresses that responded, along with their MAC address.

You could redirect this to a file and use an editor to sort, search, etc. I do this all the time when someone assigns a duplicate IP address to a system on my net.
0

Featured Post

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

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

Nslookup is a command line driven utility supplied as part of most Windows operating systems that can reveal information related to domain names and the Internet Protocol (IP) addresses associated with them. In simple terms, it is a tool that can …
Are you one of those front-line IT Service Desk staff fielding calls, replying to emails, all-the-while working to resolve end-user technological nightmares? I am! That's why I have put together this brief overview of tools and techniques I use in o…
This Micro Tutorial will give you a basic overview how to record your screen with Microsoft Expression Encoder. This program is still free and open for the public to download. This will be demonstrated using Microsoft Expression Encoder 4.
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…

831 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