Cisco ip to mac address of a device?

What command can I run in CLI, to get a mac address that is associated with a provided ip address?
Context: In order to access wifi, users have to go through a web authentication. Upon submiting their credentials, we are able to see their ip address. We want to query router api with cli or something, to find a mac address based on the ip.
Any pointers?

It is usually not possible for a person to get the MAC address of a computer from its IP address alone. These two addresses originate from different sources. Simply stated, a computer's own hardware configuration determines its MAC address while the configuration of the network it is connected to determines its IP address.
However, computers connected to the same TCP/IP local network can determine each other's MAC addresses. The technology called ARP - Address Resolution Protocol included with TCP/IP makes it possible. Using ARP, each computer maintains a list of both IP and MAC addresses for each device it has recently communicated with.
Most computers allow you to see the list of IP and MAC addresses that ARP has collected there. In Windows, Linux and other operating systems, the command line utility "arp" shows this information. Using "arp," you can in fact determine the MAC address of some computers from their IP address. ARP works only within the small group of computers on a local area network (LAN), though, not across the Internet. ARP is intended for use by system administrators and is not generally useful as a way to track down computers and people on the Internet.

Similar Messages

  • SG200-08 Loosing MAC addresses of connected devices

    I have a SG200-08 Switch that has in the last month been acting up with certain types of traffic.  On June 7, 2013 I installed the 1.0.6.2 firmware upgrading from 1.0.5.1.  Updating the firmware has not helped. 
    Last week Tuesday a server that was connected to that switch disappeared from the network, looking at the trouble I had to reboot the server and traffic began to flow.  After rebooting the server I found only 1 of 2 MAC addresses from the 1 NIC showing up on the port.
    Today I have a Xerox Workcenter connected to the switch on another port and while working on changing settings on the device I stopping being able to reach the device, could not even ping it.  I went into the switch port showed active, but no MAC address found in the dynamic table for that port. After rebooting the switch I could reach the Xerox again.
    I rebooted the switch on Friday near the end of the day and it was doing better till this morning, all MAC addresses for connected devices were showing up OK.  Is the device defective?  It had been working OK previously, it is connected to another switch on port 1, and that shows a proper table of dynamic MAC addresses.  In both cases of loosing a device it was being used not dormant or in any kind of low power mode.

    Dear Michael,
    Thank you for reaching Small Business Support Community.
    Based on the symptoms; SG200 working fine before, it seems to work ok after reboot, and latest firmware already installed.  It seems to me like a hardware failure but still, in order to confirm, it would be a good idea to restore to factory conditions and configure it manually again.  Just in case that does not help I suggest you to contact the Small Business Support Center for further assistance;
    https://www.cisco.com/en/US/support/tsd_cisco_small_business_support_center_contacts.html
    Please let me know if there is anything I can assist you with in the meantime.
    Kind regards,
    Jeffrey Rodriguez S. .:|:.:|:.
    Cisco Customer Support Engineer
    *Please rate the Post so other will know when an answer has been found.

  • How to find MAC-Address of a device using ADF mobile?

    Hi,
    I am developing an mobile application using ADF Mobile. The application necessitates the use of MAC Address for further development.
    Android SDK provides an easy way to find the MAC Address as:
    WifiManager wifiManager = (WifiManager) getSystemService(Context.WIFI_SERVICE);
    WifiInfo wInfo = wifiManager.getConnectionInfo();
    String macAddress = wInfo.getMacAddress();
    Is there a similar way in ADF mobile to retrieve the MAC Address of the device?
    Regards,
    Joseph

    This cant be done.

  • CM7/8.5 - Is MAC address for a device stored any other place other than device name?

    We are interested in obtaining the MAC of a soft phone through a query to the RIS port.  Everything is working fine as long as the MAC address that is written to the device name field by default is not changed by a user to read something else like machine name.  Is there a field other than device name that we should be querying for a device to always be sure to get the MAC address of a device? 
    Currently the XML returned by the RIS port is parsed to get the CmDevices.Name.  The returned MAC address is formed by returning this name minus any occurrence of the string "SEP".

    Hi,
    CNAME resource records are recommended for use in the following scenarios:
    • When a host that is specified in an A resource record in the
    same zone needs to be renamed
    • When a generic name for a well-known server, such as www, must resolve to a group of individual computers (each with individual A resource records) that provide the same
    service, for example, a group of redundant Web servers
    Therefore please try to create your CNNAM record in the same zone and try again.
    The related KB:
    Adding, Changing, and Deleting Resource Records
    http://technet.microsoft.com/en-us/library/cc779020(v=ws.10).aspx
    Hope this helps.
    We
    are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

  • Cisco WLC Client MAC address backup to new Controller & ISE

    Hi All,
    We have an existing 4400 controller with MAC filtering for clients configured. Right Now, we are migrating to 5500 WLC and ISE setup.
    We want to use MAC filtering due to company policies on the new Controller as well as ISE.
    Is there a way (from GUI/CLI) that we can export the client MAC Addresses into an Excel file from existing WLC to new WLC & ISE?
    Thanks,
    CJ

    On the CLI issue a show macfilter summary and then import that into excel or a text editor.
    Sent from Cisco Technical Support iPhone App

  • How to get imei number and mac address of mobile device on adf mobile

    Hi experts,
    I need to get imei number and mac address of device (supposed to be works on both android and iphone) on adf mobile
    bgrds

    Hi,
    Adf mobile support phonegap api. Version must be 2.0(you can check it by below code snippet) You can just reach uuid from both platform via cordova. Espescially, IOS restriction limits you to get device infos that you mentioned, but you can get uuid.
       getCordovaVersion = function ()
            var cordovaVersion = device.cordova;
            return cordovaVersion;
        getDeviceUUID = function ()
            var uuid = device.uuid;
            return uuid;

  • Cisco WLC username/mac address

    Hi
    Im are having problems with editing the User Field in the WCS. The purpose was to enable the ease to identify clients on the wireless network through their names rather than through MAC addresses which are currently the only method of authentication.
    would appreciate it anyone could guide me in any form necessary in providing us to edit these details.

    Just curious as to whether or not you figured out how to make this work. I would also like to get that set up.

  • How do I find the MAC address of a paired bluetooth device?

    I have just connected a bluetooth device to my MacBook.  When it was pairing, it displayed the MAC address of the device, but a few seconds later, the MAC address was replaced with a test description of the device.  I need to figure out what that MAC address was.
    For clarification, this is not an ethernet connection, it is Bluetooth.  The device is a type of headset, it has no use accessable interface, and no the address is not on the device itself.
    Thanks,
    -- JC

    Open System Preferences > Bluetooth
    Select the device on the left.
    Then click the asterick with a downward facing arrow then click More Info.
    The Addrress will show on the right.

  • How to get MAC Address from device?

    Does any one knows, how we can get programmatically the MAC address of Blackberry device?
    Is it possible to get it through BES IT Policy?
    - Thanks

    abel wrote:
    Yeah that is only working for local system, but how to get remote system's MAC ..?
    Thanks for quick reply ...
    Edited by: abel on Jan 28, 2009 12:10 AMIt is my understanding that only one person ever found the holy grail which you seek. But sadly [_he's dead_|http://forums.sun.com/profile.jspa?userID=649366]
    As a curious aside how did you manage to get the list of IPs?

  • Get MAC Address Of Device On The Other End Of Crossover Cable

    If you have a SonicWall UTM available to you, connect to it.  Monitor the logs, if the device is on a different subnet, you'll get a spoofing notification with the IP in question (if the device has an IP already assigned to it).  I believe the MAC address will also show in the logs.  Now I'm guessing that other firewalls/UTMs will also have similar alerting. 

    Hey guys
    So I got a proprietary device which I need the MAC address for in order to set the IP and reset credentials via a weird web UI, and the MAC is not written anywhere. 
    So I connected this device to my laptop via a crossover cable and tried to nmap various common subnets (including the entire private space) to see if it maybe had a static IP. No dice. So how can I get the MAC address of this device using only my laptop, since I can't get into it?
    This topic first appeared in the Spiceworks Community

  • 802.1x and wired dynamic vlans on MAC addresses

    Hi All,
    I would like to setup our new offices with dynamic vlans determined by the MAC address of the device connecting. So I need a database of MAC addresses in groups for which vlan they will go in, with separate vlans for printers and servers and computers and BYOD. If this can work for wireless too then even better.
    I've done some reading but am really struggling to find the information I need.
    We have a Windows domain and brand new 3850 Cisco switches.
    Can anyone steer me in the right direction (or tell me how to do it!) please?
    Thanks for reading.

    Hi, 
    So you need to perform MAB authentication. As you mentioned, you will need to create a DB of MAC entries.
    In order to configure the Windows server (2003 or 2008?) to assign the dynamic VLAN you need to define the Remote Access Policies and create the custom attributes. For example:
    Tunnel-Medium-Type. Select a value appropriate to the previous selections you have made for the policy. For example, if the network policy you are configuring is a wireless policy, select Value: 802 (Includes all 802 media plus Ethernet canonical format).
    Tunnel-Pvt-Group-ID. Enter the integer that represents the VLAN number to which group members will be assigned. 
    Tunnel-Type. Select Virtual LANs (VLAN).
    You can find more information here:
    Configure a Network Policy for VLANs
    VLAN Attributes Used in Network Policy
    802.1X Authentication Services Configuration Guide, Cisco IOS XE Release 3SE (Catalyst 3850 Switches)
    HTH.

  • Obtain MAC Address from 250 iPads

    Hi all,
    I have taken delivery of 250 iPads which I am configuring with OSX Server on a MAC Mini. So far, so good!
    Our wireless network uses MAC Address authentication so I have to add each MAC Address to our Cisco Wireless controller.
    Without having to go to Settings > General > About and write down the MAC Address from every device, is there a way to obtain the MAC Address from either the box using the barcode, or maybe an App that loads up on screen and shows the MAC Address of the device in a barcode format that I can then quickly scan into an Excel spreadsheet and import?
    I feel that i'm about to waste a lot of time going on to each iPad and obtaining the MAC Address
    Thanks in advance
    Regards
    Jim

    If you have the ability to plug them into Apple Configurator, you can connect them with a USB hub and update and supervise them.  This will let you export MAC Addresses and Serial numbers from Configurator to a CSV file that you can use to upload to your wireless controller.  If you need to, be sure to Unsupervise the iPads when you are done.
    The info you're looking for may also be available through GSX, but I'm not familiar with everything you can use it for on your end.

  • Can i capture wireless mac addresses?

    I need to provide our security group the mac address of all devices with wireless capabilities. can this be done? the mac addresses I am able to easily report on is the ethernet nic rather than the wireless nic.

    mrhic wrote:
    > I need to provide our security group the mac address of all devices with
    > wireless capabilities. can this be done? the mac addresses I am able
    > to easily report on is the ethernet nic rather than the wireless nic.
    >
    >
    BTW, they ask for the impossible, as anyone can plug in a USB FiFi
    adapter - or tether their Blackberry - or ... so hopefflly they will not
    be overly picky.
    Sort of... there isn't a hardware category for wireless NICs. However
    most of the descriptions include the word "wireless" so you can create a
    custom report as follows:
    Reports-->Inventory Custom Reports-->Hardware Components-->New
    Then enter a Name for the report, select Type = Hardware Components,
    selecy Focus = LAN Adapter. Hit Continue.
    In the Criteria section [+] add a criteria
    [Product Name] [contains] wireless
    To be more specific, take a look at the descriptions returned without
    any critera, and add any oddballs using OR grouping, so if a specific
    model or the word "WiFi" appears - whatwever - you can catch it.
    Finally select the report columns as needed.
    Run.
    We notice that on machines where the WLAN can be disabled, the MAC
    address is absent ( because at the time of the inventory, there is no
    wireless NIC active, but the enumeration of HW show one. ) However, you
    will still "know" there is a wireless NIC.
    Report looks like:
    Atheros Communications Wireless LAN Adapter AR5212 802.11abg FOOUSER
    F00F00F00482 127.0.0.1 255.0.0.0 1
    Intel Corporation PRO/Wireless LAN 3945ABG FOO2USER F00F00F00D6C
    192.168.1.41 255.255.255.0 1
    Intel Corporation PRO/Wireless LAN 3945ABG ANOTHERFOO ( no MAC )
    ( Works, but I would certainly vote for a more easily to get at
    category, same for broadband interfaces. )
    -- Bob
    Bob Mahar | Work in education?
    Novell Knowledge Partner | http://novell.com/ttp
    - - - - - - - - - - | - - - - - - - -
    Programming is like teaching | http://twitter.com/BobMahar
    a jellyfish to build a house | http://vimeo.com/boborama

  • I have a Linksys WRT54G wireless router that has a MAC address

    A month ago, I could print from my PC and my Mac to my Epson printer over my Linksys WRT54G wireless network.  Now, for some reason, I cannot connect and print from either computer.  An Epson tech asked me to check the MAC address of the Mac and the printer to see if they were the same.  They were not.  He then opined that might be why I couldn't print.
    I don't know what changed a month or so ago or why it changed.  I have not done anything to change the MAC address on either the MAC or the printer.
    The Epson guy said the problem might be fixed by adding my printer's MAC address to my router's MAC address.  Something about "enabling MAC address filtering".  Then he told me that was an issue to pursue with my router manufacturer.  Naturally.
    Speaking of that problem...someone else had it, too...another technician at another site wrote: "...by default, routers don't come with mac address filtering enabled...and if that's the case....then adding the printer's MAC will not solve any issue that you may be having..." 
    So, three qustions:
    (1)  Can I add my Epson Workforce 545 printer's MAC address to my Linksys router?  Is that possible? 
    (2)  If I can do it, how do I do it?  I saw no "add" or "edit" functions on the Linksys WRT54G Status Page.
    (3)  What causes MAC address mismatching to happen?   What is unstable in that assembly?
    Solved!
    Go to Solution.

    Mac addresses with different devices will differ. No two devices will have the same mac address. this is also called the hardware address. This is designed so that it will serve as a unique identifier of your devices in the network which you can check thru the router. Now it is possible that wireless mac filter might be blocking it from connecting to the network. But it would be best to check as well and make sure that the printer is connected to your network and has the same ip address segment as your router.
    How to check if mac filter is enabled:
    Setting up wireless MAC Filtering to permit users to connect to the wireless network on your Linksys...
    Setting up wireless MAC Filtering to prevent users from connecting to the wireless network on your L...

  • Getting the MAC address of the iPhone

    Hi,
    In order for an iPhone (or any other network device) to access or wi-fi network, it needs to be registered. I would like to make it so that they don't have to register it every time and to do that, I need the MAC address of the device. Users will be registering via a webpage using the browser on the phone. Is there any way in the midst of that process that I can query the iPhone for it's Mac address?
    Thanks,
    Rob Tanner
    Linfield College

    You can get the MAC address for your iPhone at Settings > General > About > Wi-Fi address.
    There is not a way to query the iPhone for the MAC address to be entered automatically in the space provided when registering the iPhone's MAC address via the webpage, but it can be written down in advance for manual entry of the address.

Maybe you are looking for