• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 484
  • Last Modified:

MAC to IP mapping?

Can someone please let me know how can I create MAC to IP mapping ? This is for desktop users. Please let me know. THank you!
0
syseng007
Asked:
syseng007
3 Solutions
 
JohnBusiness Consultant (Owner)Commented:
There is no relationship between MAC and IP. The MAC address is the hardware address of the NIC. It is normally as set by the manufacturer although it can be spoofed.

The IP address is the address acquired by the Operating System (normally from a DHCP source).

So there is no way to do this, short of setting up your own table, which would likely present a maintenance nightmare. .... Thinkpads_User
0
 
CSI-WindowsCommented:
I assume you mean to map it within DHCP?

If so, here is how to do it with Microsoft DHCP:
http://technet.microsoft.com/en-us/library/cc780408(v=ws.10).aspx

If you are using a broadband router for DHCP, it will vary by manufacturer, but if the router can do it, it will be under the DHCP section and usually be called "reservations"

If you mean to do this mapping on a single client, you can add a mapping using "arp" like this (from an elevated command prompt):

arp -a <ipaddress> <MAC address>

Use "arp /?" for help.

Arp just causes a single client to map the address - it does nothing for other clients and is NOT used to assign an ip address to a local or remote machine.
0
 
CSI-WindowsCommented:
Forgot these points on arp:
*) static arp entries should generally be unnecessary - the source problem should be fixed.
*) I don't think entries added by "arp -a" persist through a reboot - should test it if that is needed.
0
Cloud Class® Course: SQL Server Core 2016

This course will introduce you to SQL Server Core 2016, as well as teach you about SSMS, data tools, installation, server configuration, using Management Studio, and writing and executing queries.

 
LeeTutorretiredCommented:
I've requested that this question be closed as follows:

Accepted answer: 168 points for thinkpads_user's comment #37771228
Assisted answer: 166 points for CSI-Windows's comment #37771936
Assisted answer: 166 points for CSI-Windows's comment #37771923

for the following reason:

This question has been classified as abandoned and is closed as part of the Cleanup Program. See the recommendation for more details.
0
 
CSI-Windows_comCommented:
I would like to object that thinkpads_user's comment receives any points as I would consider it misleading.  

Mac to IP mapping can be done in two ways: 1) DHCP reservation AND 2) using arp -a as I have identified in my comments.
0
 
JohnBusiness Consultant (Owner)Commented:
Please take the comments by CSI-Windows_com into account, and then delete these extra comments. The first part of my post is correct, but the second part could be seen as misleading.  I will abide by Moderator's judgement.  .... Thinkpads_User
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Get expert help—faster!

Need expert help—fast? Use the Help Bell for personalized assistance getting answers to your important questions.

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