F1CSNA
Please Log In to view the content of this page.


Passerelles Numeriques Students' Help Portal
 
HomeRegisterLog in
Welcome Scholars! New members please don't forget to visit the "Member Introduction" thread and introduce yourselves!

Share
 

 Linux simple script(Generate Arping)

Go down 
AuthorMessage
damlimsjutsu
Administrators
Administrators
damlimsjutsu

Posts : 16
Join date : 2010-08-06
Age : 25
Location : n.p.a

Linux simple script(Generate Arping) Empty
PostSubject: Linux simple script(Generate Arping)   Linux simple script(Generate Arping) Icon_minitimeThu May 08, 2014 4:31 am

#useful when you want to check if the IP address is active or not

#!/bin/bash

for((c=1;c<=254;c++))
do
arping -D -c3 -I eth1 $1"."$c >> $1.txt
done

after...do like this

=>give execute permission to this file
=> then run like this
=> ./test 172.16.6 or ./script_name + [first 3 octets of the ipv4 address]
Back to top Go down
http://f1csna.forumotion.com
 
Linux simple script(Generate Arping)
Back to top 
Page 1 of 1
 Similar topics
-
» Need to randomly generate a DOB in SeleniumIDE
» Touchscreen testing
» step by instruction for creating test script in selenium rc for IE
» How to explain what a Migraine is in simple terms?

Permissions in this forum:You cannot reply to topics in this forum
F1CSNA :: Discussions :: Server and Network Administration :: NetAd Useful Stuff-
Jump to: