Find the answer to your Linux question:
Results 1 to 3 of 3
Hi, everybody I have two questions about networking, can you help me? 1. How to get net_device by IP address? 2. How to get MAC address by IP address if ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Jan 2009
    Posts
    8

    questions about networking


    Hi, everybody
    I have two questions about networking, can you help me?
    1. How to get net_device by IP address?
    2. How to get MAC address by IP address if MAC address exist in cache?

    Thanks in advance!

  2. #2
    Linux Enthusiast meton_magis's Avatar
    Join Date
    Oct 2006
    Location
    arizona
    Posts
    699
    I don't know what a net_device is, but I am gonna guess it is your nic card. you can tell that by running
    ifconfig
    if it is active, it will tell you which device belongs to which IP.

    for the mac address, look up `arp`
    New to the internet, technical forums, or the hacker / open source community??
    Read this to learn good posting habits http://www.catb.org/~esr/faqs/smart-questions.html

    RHCE for RHEL version 5
    RHCT for RHEL version 4

  3. #3
    Just Joined! TheBoogyMaster's Avatar
    Join Date
    Apr 2009
    Posts
    51
    Also see for nmap

  4. $spacer_open
    $spacer_close

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •