Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

IP Discovery tool?? 2

Status
Not open for further replies.
Aug 6, 2003
83
US
Anyone know of a good FREE (the keyword here is FREE) network discovery tool that will do the following:

1. Scan a subnet or range of IP addresses and return the IP address, and machine name.

2. Able to export to an excel spreadsheet or comma/tab delimited format.

I have already used up and tried Solarwinds, NetworkView and a few others that are limited.

Regards,

Bristol


 
if your purpose is just to do what you say perjaps running a code like this could help :
Code:
cpt=1
while [ $cpt -lt 254 ]
do
        cpt2=1
        while [ $cpt2 -lt 254 ]
        do
                ping  -c2  213.102.$cpt.$cpt2 > toto
                if [ $? -eq 0 ]
                then
                        onename=`nslookup 213.102.$cpt.$cpt2 2>/dev/null | grep 
name | awk '{print($4)}'`
                        echo "213.102.$cpt.$cpt2 , $onename"
                fi
        let cpt2=$cpt2+1
        done
let cpt1=$cpt1+1
done

I'm sure someone have a better script to do that or can optimize this one.

bye.
 
raztouble's contribution is impressive, but unfortunately a Perl script.
A recent example of pure DOS/Windows scripting:

### START SCRIPT
@echo off
set MY_NET=192.168.101.
echo Just wait....

FOR /L %%i IN (1,1,254) DO echo . && ping -n 1 -w 30 %MY_NET%%%i > tmp.out
arp -a
### END


 
hi !
it wasn't Perl but shell script, you can do nearly the same in Perl to make it works for windows and unix.

Nice script bcastner! but if i understand well you ping the subnet to "food" the arp table so what if bristolxyz try to discover a subnet from another subnet ?


 
robertjo24 amd everyone else that responded,

Thanks a lot. I looked at:
Angry IP Scanner

Looks like it's just what I'm looking for. Thanks everyone for your help. Once again :)

Bristol


MIS/IT Management
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top