Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

Re: Re: Re: How can I find a MAC address from aremote IP ?

by lhoward (Vicar)
on Mar 31, 2001 at 01:51 UTC ( [id://68514]=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 ?

Sounds to me like you have 2 possible angles to attack this problem:
  • use SNMP to query the switches to see which IP is on which port. Its been a long time since I've written an SNMP poll for a switch, but if I remmember right I think the info you want is in the Bridge MIB.
  • The static IP's should be pretty easy to locate. For the dynamics you could query the DHCP server(s) to see what MAC a particular IP is assigned to. This may or may not be doable (and may or may ont be doable via SNMP), it depends on the capability of your DHCP server.
  • Comment on Re: Re: Re: How can I find a MAC address from aremote IP ?

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others goofing around in the Monastery: (6)
As of 2024-04-23 17:43 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found