Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
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 ( #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
Node Status?
node history
Node Type: note [id://68514]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (6)
As of 2014-12-29 11:12 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (186 votes), past polls