[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: mac address's

On Sun, 2005-01-30 at 14:05 -0700, Glenn English wrote:
> On Sun, 2005-01-30 at 14:51 -0600, Rodney Richison wrote:
> > How might I find mac address's on all the machine's on my network from 
> > my debian box?
> You could ssh or telnet to them and ifconfig. Ifconfig will give the MAC
> of every configured interface on the machine, no matter which net it's
> on.
> Or ping them, then look at the arp map. Ping will give you the
> hostname/IP mapping; arp will give IP/MAC. 
> 'ping <hostname>' 
> ^C 
> 'arp'
Just be careful using arp if you are on a switched network. I used ssh
and a little script to get me all of the mac addresses from Mac OSX and
Linux boxes. 


> -- 
> Glenn English
> ghe@slsware.com

Reply to: