Hmm.. the bash script is not working..
But this one is usefull, thanks for that!
And now the second part: the below script will ping the given ip adress:
How can I ping from $host to $host2 in the below script??
Something else then [..] must be filled in, so I can ping from beginnin ip (something like 192.168.1.1) till ending ip (something like 192.168.1.100)
Alright, I have being checking out various posting here trying to hack together something for a friend
Needed:
A script that can run in cron doing:
ping of several hosts and notifying via email when they are unavailable.
I am not going to post my non working messes (I am a basic... (11 Replies)
I have Digital UNIX V4.0B (Rev. 564) on alpha machine.
I'm trying to acces network in subnet (192.168.1.x).
Ip on Alpha comp. is from 192.168.3.X subnet. My default gateway on this network is 192.168.3.1 and it working OK from other machines. This machine is visible from same subnet... (2 Replies)
Hi,
My project needs to migrate the existing Subnet (255.255.255.0) to a new subnet and change the ipaddresses (currently C class). How can I do that. I need some information.
John (0 Replies)
Hello:
I have this script:
#!/bin/bash
#for loop
for ip in `cat ips`
do
ping $ip | grep "is alive">>pingtestlog
done
And its working properly with this input:
ericadm@amxcruas1> cat ips
10.196.60.4
10.196.61.210
10.196.62.73
10.196.61.152 (5 Replies)
Hello All,
We have added a windows host and its config files to Nagios master server and wanted to do a ping check alone at the moment however, the nagios master server identifies the host in its GUI and immediately disappears can anyone let me know the right approach to this one, We want to... (2 Replies)
HI,
I have a file serverlist in that all host names are placed.
i have written a small script
#./testping
#! /bin/bash
for i in `cat serverlist`
do
ping $i >> output.txt
done
so now it creates a file output.txt till here fine..
now each time i run this script the output file... (4 Replies)
Hi all,
New to this forum.
I have just been reading through a historical thread about some issues with IPMP.
Some tips from "Peasant" where very useful. Please see below
"Just couple of more hints regarding VM.
For VDS, use one VDS - one guest LDOM, don't put everything in primary-vds.... (9 Replies)
Bash script to subdivide a given subnet into a pre-defined number of smaller subnets. Show network/broadcast address, number of hosts and assign gateway.
For example:
Input:
./subnetter.sh 192.168.0.0/24 3 Output:
192.168.0.0/128 subnet 192.168.0.0 broadcast 192.168.0.127 gateway... (1 Reply)
Bash script to subdivide a given subnet into a pre-defined number of smaller subnets. Show network/broadcast address, number of hosts and assign gateway.
For example:
Input:
./subnetter.sh 192.168.0.0/24 3 Output:
192.168.0.0/128 subnet 192.168.0.0 broadcast 192.168.0.127 gateway... (1 Reply)
Running 3650 switch. I have this odd issue where I cannot get 4 new Centos 7 boxes pinging out on public IPs (nor pinging in), only gateway .1 and first public IP .2
This is what I see, which doesn't look normal. How do I fix this?
The server itself is configured fine (Centos 7)
# cat... (0 Replies)
Discussion started by: Bashed
0 Replies
LEARN ABOUT CENTOS
unbound-streamtcp
unbound-streamtcp(1) unbound unbound-streamtcp(1)NAME
unbound-streamtcp - unbound DNS lookup utility
SYNOPSIS
unbound-streamtcp [-unsh] [-f ipaddr[@port]] name type class
DESCRIPTION
unbound-streamtcp sends a DNS Query of the given type and class for the given name to the DNS server over TCP and displays the response.
If the server to query is not given using the -f option then localhost (127.0.0.1) is used. More queries can be given on one commandline,
they are resolved in sequence.
The available options are:
name This name is resolved (looked up in the DNS).
type Specify the type of data to lookup.
class Specify the class to lookup for.
-u Use UDP instead of TCP. No retries are attempted.
-n Do not wait for the answer.
-s Use SSL.
-h Print program usage.
-f ipaddr[@port]
Specify the server to send the queries to. If not specified localhost (127.0.0.1) is used.
EXAMPLES
Some examples of use.
$ unbound-streamtcp www.example.com A IN
$ unbound-streamtcp -f 192.168.1.1 www.example.com SOA IN
$ unbound-streamtcp -f 192.168.1.1@1234 153.1.168.192.in-addr.arpa. PTR IN
EXIT CODE
The unbound-streamtcp program exits with status code 1 on error, 0 on no error.
AUTHOR
This manual page was written by Tomas Hozza <thozza@redhat.com>.
NLnet Labs Mar 21, 2013 unbound-streamtcp(1)