Options
Is this possible
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
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
-
Optionstiersten Member Posts: 4,505If 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. -
Optionsdynamik 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 -
OptionsmeadIT Member Posts: 581 ■■■■□□□□□□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 -
OptionsLee H Member Posts: 1,135Thanks Guys
It works great >arp -a
The one I first tried must have been a laptop cos it returned 3 mac address's. -
OptionsJDMurray Admin Posts: 13,031 AdminWhat about the good 'ole ipconfig /all command?
Forum Admin at www.techexams.net
--
LinkedIn: www.linkedin.com/in/jamesdmurray
Twitter: www.twitter.com/jdmurray -
Optionstiersten Member Posts: 4,505What about the good 'ole ipconfig /all command?