LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-24-2009, 10:54 AM   #1
jogl_z_8
Member
 
Registered: Oct 2005
Location: SW Ontario Canada
Distribution: Debian
Posts: 138

Rep: Reputation: Disabled
How to find MAC addresses


I knew how to do it before and now I cannot for the life of me remember.

Can I use Nmap to get the addresses for everything on my LAN / WLAN?

What about ARP?

How do I find the MAC of the NIC of the machine that I am on?

Thanks,
JP.
 
Old 02-24-2009, 10:58 AM   #2
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,529

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
Quote:
Can I use Nmap to get the addresses for everything on my LAN / WLAN?
Code:
nmap 10.0.0.*
Quote:
How do I find the MAC of the NIC of the machine that I am on?
Code:
ifconfig | grep HWaddr
 
Old 02-24-2009, 11:07 AM   #3
jogl_z_8
Member
 
Registered: Oct 2005
Location: SW Ontario Canada
Distribution: Debian
Posts: 138

Original Poster
Rep: Reputation: Disabled
Thanks again!

Good Day,
JP.
 
Old 02-24-2009, 11:17 AM   #4
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Northeast Ohio
Distribution: linuxdebian
Posts: 7,249
Blog Entries: 5

Rep: Reputation: 191Reputation: 191
arpwatch is another option..

http://en.wikipedia.org/wiki/Arpwatch
 
Old 02-24-2009, 11:24 AM   #5
jogl_z_8
Member
 
Registered: Oct 2005
Location: SW Ontario Canada
Distribution: Debian
Posts: 138

Original Poster
Rep: Reputation: Disabled
Hey Farslayer, thanks.

We've talked before, I'm straight across the lake from you.

JP.
 
Old 02-24-2009, 01:24 PM   #6
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Northeast Ohio
Distribution: linuxdebian
Posts: 7,249
Blog Entries: 5

Rep: Reputation: 191Reputation: 191
Aren't you supposed to end every sentance with 'Ehh' ? j/k (that's what the McKenzie brothers would have us believe )

Hope all is going well for you.
 
Old 02-24-2009, 06:44 PM   #7
jogl_z_8
Member
 
Registered: Oct 2005
Location: SW Ontario Canada
Distribution: Debian
Posts: 138

Original Poster
Rep: Reputation: Disabled
Yup, in real life I do say ehh a lot. And I call people hosers and tell them to take off (especially my kids).

When I was a kid I thought that I lived in Cleveland because the Cleveland TV stations were what we watched on TV. Channel 43 was our fav. It was a sad day when Fox got the Big League contract and WUAB quit broadcasting the Tribe's games. VERY sad!

As my kids like to say; good times.

Take care,
JP.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Binding 2 NICs (MAC addresses) to 2 IP Addresses in same Subnet RedHat EL4.0 skhira Linux - Networking 13 02-24-2008 08:16 PM
Binding 2 NICs (MAC addresses) to 2 IP Addresses in same Subnet RedHat EL4.0 skhira Linux - Networking 1 02-09-2008 07:17 AM
Mapping IP addresses to MAC addresses basilio Linux - Networking 17 09-12-2007 01:48 AM
How to find *hardware* mac addresses on bonded interfaces? TotalDefiance Linux - Software 3 06-06-2006 11:53 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:34 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration