Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re: (tye)Re: MAC Address and NIC Device on Network.

by jepri (Parson)
on Jun 27, 2001 at 10:19 UTC ( #91842=note: print w/ replies, xml ) Need Help??


in reply to (tye)Re: MAC Address and NIC Device on Network.
in thread MAC Address and NIC Device on Network.

Works if you have arp. Why go outside Perl when there's a nice module that does what you want? The interface is nicer too.

Finally arp will only return the IP number of the interface, whereas you can get so much more information with a little bit of sniffing.

____________________
Jeremy
I didn't believe in evil until I dated it.


Comment on Re: (tye)Re: MAC Address and NIC Device on Network.
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (14)
As of 2014-10-20 09:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (74 votes), past polls