in reply to Re: Re: How can I find a MAC address from aremote IP ?
in thread How can I find a MAC address from aremote IP ?
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.
snmpwalk <switchname> <communityname> IpNetToMediaEntry
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
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Re: Re: Re: How can I find a MAC address from aremote IP ?
by riffraff (Pilgrim) on Mar 31, 2001 at 02:23 UTC |
In Section
Seekers of Perl Wisdom