finding mac addresses
- From: Tzafrir Cohen <tzafrir.cohen (at) xorcom.com>
- Date: Mon, 19 Jun 2006 21:36:09 +0300
On Mon, Jun 19, 2006 at 01:52:39PM -0400, Alexander Lopez wrote:
> If they are on the same network you can do the following:
>
> arp -a | grep $IPADDRESS |awk '{print $4}'
grep before awk?
arp -n | awk '/^IPADDRESS / {print $3}'
--
Tzafrir Cohen sip:tzafrir (at) local.xorcom.com
icq#16849755 iax:tzafrir (at) local.xorcom.com
+972-50-7952406
tzafrir.cohen (at) xorcom.com http://www.xorcom.com
_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --
Asterisk-Users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users