- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- network scanning
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-28-2005 02:46 AM
тАО05-28-2005 02:46 AM
network scanning
is there any tool to scan network for free ipaddress in a particular range of ipaddress in hpux 11.00
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-28-2005 06:42 AM
тАО05-28-2005 06:42 AM
Re: network scanning
determine the decimal numbers for the start & end address of the range you want to scan as follows
IP address=a.b.c.d
decimal representation
(a*256*256*256)+(b*256*256)+(c*256)+d
[do this for bots start and end of your range ip addresses]
START_ADDR=
END_ADDR=
IP=${START_ADDR}
while [ ${IP} -le ${END_ADDR} ]
do
loss=`ping ${IP} -c 3 |grep "packets transmitted"| cut -d, -f3| cut -d% -f1|cut -d" " -f2`
if [ ${loss} -eq 100 ]
then
echo ${IP} >> /tmp/avaiable_IPs
else
echo ${IP} >> /tmp/inuse_IPs
fi
let IP=$IP+1
done
when you are done, you will have the IP addresses in decimal form in the
/tmp/avaiable_IPs file. You need to do the IP address conversion in the reverse manner to determine the addresses in a.b.c.d form
Keep in mind that, an IP address not responding at one time does not necessarily mean that it is available guaranteed. The workstation with that IP address may have an owner who failed to turn on the computer at the time you did the scan. So, if I were you I would do this scan at different times of the day for a couple of weeks and combine all the output at the end for a better chance of getting it right.
Hope this helps
UNIX because I majored in cryptology...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-28-2005 06:45 AM
тАО05-28-2005 06:45 AM
Re: network scanning
the correct version of the following ping statement should be as follows:
loss=`ping ${IP} -n 3 |grep "packets transmitted"| cut -d, -f3| cut -d% -f1|cut -d" " -f2`
the packet count is is -n not -c as I have put it down on my posting above. And although it broke down into two lines, it actually is on a single line.
UNIX because I majored in cryptology...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-28-2005 07:22 AM
тАО05-28-2005 07:22 AM
Re: network scanning
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-28-2005 02:33 PM
тАО05-28-2005 02:33 PM
Re: network scanning
I tryed your ping script but i am getting a problem for the starting ipaddress itself i have calculated for the ipaddress (32.85.128.230) and i got 542474470 this itself it is giving error as
ping[7]: [542474470: not found
thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-02-2005 05:06 PM
тАО06-02-2005 05:06 PM
Re: network scanning
you may try to run the free windows-based utility called "Angry IP scanner"
http://www.securizare4u.go.ro/download/ipscan.exe
hope this helps!
regards
yogeeraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-03-2005 05:16 AM
тАО06-03-2005 05:16 AM
Re: network scanning
Actually i have set of static ips assigned to unix workstations(which includes sun solaris and HP -UX), in that how to find assigned ipaddress.
i am looking for a tool where it should tell me what are used ips with platforms.
thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-03-2005 05:24 AM
тАО06-03-2005 05:24 AM
Re: network scanning
But the correct procedure, should be contacting your network administrator and ask him for free ip address.
Anil