in reply to obtaining MAC address(es)
If you're looking to find the MAC address of all interfaces the box you're running the script on what I'd consider the most cross-platform solution is to use one of perl's SNMP modules to query the ifTable ifPhysAddress entries for all the interfaces on the box. Of course, this assumes that all boxes you're gonnna run this script on have an SNMP daemon/service running on them and that you know the community string.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: obtaining MAC address(es)
by deprecated (Priest) on Jan 26, 2001 at 03:56 UTC |