Do you know where your variables are? | |
PerlMonks |
Re: Re: Re: How can I find a MAC address from aremote IP ?by riffraff (Pilgrim) |
on Mar 31, 2001 at 02:00 UTC ( [id://68518]=note: print w/replies, xml ) | Need Help?? |
On the other hand, there is a mac address to ip address mapping
in snmp mib variables (as long as your switch supports it). Without
looking it up, it might be something like PhysAddrToInetAddr.
....
Nope, wait, after just looking it up, ip.ipNetToMediaTable.ipNetToMediaEntry.* is what you want.
Will list all (I believe) ports, which ip address is on that port, and which mac address is associated with that ip address. That could help, I guess. riffraff
In Section
Seekers of Perl Wisdom
|
|