Sometimes I need to locate quickly a computer in the buidling and
the only information I have at first, is the IP address (and
most of the time, it's a DHCP IP address, so there is many
places possible it could be).
in reply to Re: How can I find a MAC address from aremote IP ?
in thread How can I find a MAC address from aremote IP ?
With the MAC address, it's easy to locate on which port of
a switch it is plugged. And when i know on which port of
the switch it is plugged, I know where in the building the
computer is. There's many switchs and routers, so I wanted to have a little
perl script which would quickly gather all the informations
on a machine.
I think my problem is more how to use SNMP to get what
I want than a Perl one. Net::SNMP seems the way to do it. I just
need to find how, but that's not a perl issue now :)