Is this possible

Lee HLee H Member Posts: 1,135
Hi

Imagine, yer am talking about me, you have the name of a PC and you can ping it.

Is it possible to obtain the MAC address of that PC without having to look on the DHCP server

Any help is great

Lee H
.

Comments

  • tierstentiersten Member Posts: 4,505
    If they're on the same subnet as you then yes. Otherwise no.

    Run "arp -a" after doing something that tries to talk to that IP e.g. ping.
  • dynamikdynamik Banned Posts: 12,312 ■■■■■■■■■□
    >ping 192.168.0.1
    
    Pinging 192.168.0.1 with 32 bytes of data:
    Reply from 192.168.0.1: bytes=32 time=2ms TTL=64
    Reply from 192.168.0.1: bytes=32 time=11ms TTL=64
    Reply from 192.168.0.1: bytes=32 time<1ms TTL=64
    Reply from 192.168.0.1: bytes=32 time<1ms TTL=64
    
    Ping statistics for 192.168.0.1:
        Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
    Approximate round trip times in milli-seconds:
        Minimum = 0ms, Maximum = 11ms, Average = 3ms
    
    >arp -a
    
    Interface: 192.168.0.184 --- 0xb
      Internet Address      Physical Address      Type
      192.168.0.1           00-13-46-88-fe-45     dynamic
    
    Edit: or what Tiersten said icon_lol.gif
  • meadITmeadIT Member Posts: 581 ■■■■□□□□□□
    Lee H wrote: »
    Hi

    Imagine, yer am talking about me, you have the name of a PC and you can ping it.

    Is it possible to obtain the MAC address of that PC without having to look on the DHCP server

    Any help is great

    Lee H

    Have you tried arp?

    edit: Or what them two said.
    CERTS: VCDX #110 / VCAP-DCA #500 (v5 & 4) / VCAP-DCD #10(v5 & 4) / VCP 5 & 4 / EMCISA / MCSE 2003 / MCTS: Vista / CCNA / CCENT / Security+ / Network+ / Project+ / CIW Database Design Specialist, Professional, Associate
  • Lee HLee H Member Posts: 1,135
    Thanks Guys

    It works great >arp -a

    The one I first tried must have been a laptop cos it returned 3 mac address's
    .
  • JDMurrayJDMurray Admin Posts: 13,089 Admin
    What about the good 'ole ipconfig /all command? icon_wink.gif
  • tierstentiersten Member Posts: 4,505
    JDMurray wrote: »
    What about the good 'ole ipconfig /all command? icon_wink.gif
    He isn't on the PC he's trying to find the MAC address of.
Sign In or Register to comment.