Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
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??


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
    One thing I wanted to add, different companies support different mib variables, even though there is a standard. Bay Networks (Nortel Networks now) puts most of their stuff in the private enterprise variables, so the above information may need to be modified.

    riffraff

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://68518]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others about the Monastery: (8)
As of 2024-04-23 09:52 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found