Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
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.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://91842]
help
Chatterbox?
[marto]: good morning all, TCIF

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (8)
As of 2017-03-24 07:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Should Pluto Get Its Planethood Back?



    Results (297 votes). Check out past polls.