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

Re: MAC Address of An Interface

by JSchmitz (Canon)
on Sep 08, 2004 at 04:01 UTC ( [id://389272]=note: print w/replies, xml ) Need Help??


in reply to MAC Address of An Interface

did you say Solaris? try something like this:
#!/usr/bin/perl -w use Net::Telnet open(FH, "host_list_file") || die "Yikes $!"; while (<FH>) { $t = new Net::Telnet(Timeout => 2810, Prompt => '/%/', Host => 'ip address' ); $t->login( "user", "password" ); { $t->cmd( "ndd /dev/arp arp_cache_report" ); } $t->close;

happy hunting

Log In?
Username:
Password:

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

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

    No recent polls found