Computing.Net > Forums > Linux > MAC and IP adresses

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

MAC and IP adresses

Reply to Message Icon

Name: E. A. Murat EREN
Date: March 18, 2002 at 02:50:14 Pacific
Comment:


Hi,

i've got a small LAN. For example, i want
to find a computer's MAC adress, which the
computers ip adress is 192.168.0.2. How can
i find the mac adress of this computer via
a console command on a linux box?

Thanks a lot..




Sponsored Link
Ads by Google

Response Number 1
Name: Yariv Graf
Date: March 18, 2002 at 04:41:11 Pacific
Reply:

Hello there
first try to ping 192.168.0.2
then
arp 192.168.0.2
It should give you the MAC address

Mr Graf


0

Response Number 2
Name: Jake
Date: March 18, 2002 at 13:30:26 Pacific
Reply:

note: I don't know if this is normal, but I need to do arp while I ping, so do something like this: ping 192.168.0.2 > /dev/null & /sbin/arp 192.168.0.2


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Linux Forum Home


Sponsored links

Ads by Google


Results for: MAC and IP adresses

DNS IP Adress?? www.computing.net/answers/linux/dns-ip-adress/28984.html

MAC add blocking by Linux Firewall www.computing.net/answers/linux/mac-add-blocking-by-linux-firewall/22892.html

DHCP and IP Masquerading www.computing.net/answers/linux/dhcp-and-ip-masquerading/8776.html