10 More Discussions You Might Find Interesting
1. UNIX for Beginners Questions & Answers
hey guys,
In my program i am giving an initial ip & end ip.
i just want to check every ip in that range is pingable or not
echo "Enter the initial ip:"
read inip
echo "Enter the end ip:"
read endip
for (( i=0; i<=$endip; i++ ))
do
if ping -c 4 $inip
then
echo "pingable"
else
echo... (5 Replies)
Discussion started by: Meeran Rizvi
5 Replies
2. Programming
help with bash script!
im am working on this script to make sure my server will stay online, so i made this script..
HOSTS="192.168.138.155"
COUNT=4
pingtest(){
for myhost in "$@"
do
ping -c "$COUNT" "$myhost" &&return 1
done
return 0
}
if pingtest $HOSTS
#100% failed... (4 Replies)
Discussion started by: mort3924
4 Replies
3. IP Networking
Hello
I have a question about routing in MANET using Dynamic Source Routing protocol.
IN RFC4728 (DSR) in section "IP fields" of RREP (Route Reply) packet we have this:
ok.
I read in several books and also in rfc4728 that: when a source node (node that initiate route discovery process)... (1 Reply)
Discussion started by: acu281
1 Replies
4. IP Networking
when i execute from local machine
ping domainname i get the external ip address but i am on local dns and i expect the local ip address..
using nslookup : no problem
so i cannot find why...
thanks (2 Replies)
Discussion started by: activedms
2 Replies
5. Shell Programming and Scripting
I want to print the domain:ip for a list of domains in a text file.
the problem is godaddy has blocked the domains so the result of a ping is like this:
PING domain.com (68.178.232.99): 56 data bytes
--- domain.com ping statistics ---
1 packets transmitted, 0 packets received, 100.0%... (4 Replies)
Discussion started by: vanessafan99
4 Replies
6. IP Networking
Hi,
I'm trying to set up a test bed where I can use a single machine to do some network packet captures between 2 different applications without needing a network connection.
I'm actually trying to do some SIP VoIP development, but for illustration purposes will use ping. I want:
ping 127.0.0.1... (0 Replies)
Discussion started by: racitup
0 Replies
7. IP Networking
Hi all,
I have some doubts in selecting the interface to transfer packets and receive the packets.
--> Multiple interfaces :
--------------------
1) 0.0.0.0 --------> wild card address.
2) x.x.x.x --------> valid address.(192.168.1.156)
3) ff.ff.ff.ff -------->... (0 Replies)
Discussion started by: vijaypdp2006
0 Replies
8. UNIX for Dummies Questions & Answers
Hi,
If have a file with 93 ip address that i want to ping in first place (later i want to use this file for snmp output of those ip addresses).
First i want to do is to ping all those ip addresses. I know i can put for every ip address "ping" with the vi. But i want the keep this file... (3 Replies)
Discussion started by: Rensen
3 Replies
9. IP Networking
I have checkpoint firewall-1 running on a solaris 7 sparc box with two physical working networks interface cards hme0, qfe0,
(please note these are false addresses)
qfe0 = 195.111.222.178 internet ISP
hme0 = 172.19.12.58 /24 internal Lan which has a router to france on it
I want to... (3 Replies)
Discussion started by: hcclnoodles
3 Replies
10. IP Networking
Hi, does anybody know how to set the IP source address of an IP packet to be zero? The problem is that when you create a raw socket and set the IP_HDRINCL socket option, if you put the ip_src address to zero (INADDR_ANY) the kernel will automatically set the source address to the primary IP address... (2 Replies)
Discussion started by: developer
2 Replies