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 FREEBSD
mtest
MTEST(8) BSD System Manager's Manual MTEST(8)NAME
mtest -- test multicast socket operations
SYNOPSIS
mtest
DESCRIPTION
The mtest utility is a small program for testing multicast socket operations.
It accepts the following commands, interactively, or as part of a scripted input file (useful for automated testing):
a ifname mac-addr Join the link-layer group address mac-addr on interface ifname. The group address should be in IEEE 802 MAC
format, delimited by colon (':') characters.
d ifname mac-addr Leave the link-layer group address mac-addr on interface ifname.
m ifname 1/0 Set or reset ALLMULTI mode on interface ifname. This option is deprecated and is now a no-op.
p ifname 1/0 Set or reset promiscuous mode on interface ifname.
j mcast-addr ifname [source-addr]
Join the multicast address mcast-addr on the interface with name ifname.
If an optional source source-addr is specified, a source-specific join will be performed; if mtest is already
joined to the multicast address, the source will be added to its filter list.
l mcast-addr ifname [source-addr]
Leave the multicast address mcast-addr on the interface with address ifname. If a source source-addr is
specified, only that source will be left.
i mcast-addr ifname n source-addr ...
Set the socket with membership of mcast-addr on interface ifname to include filter mode, and add n sources
beginning with source-addr to the inclusion filter list.
e mcast-addr ifname n source-addr ...
Set the socket with membership of mcast-addr on interface ifname to exclude filter mode, and add n sources
beginning with source-addr to the exclusion filter list.
t mcast-addr ifname source-addr
Set the socket with membership of mcast-addr on interface ifname to block traffic from source source-addr.
b mcast-addr ifname source-addr
Set the socket with membership of mcast-addr on interface ifname to allow traffic from source source-addr.
g mcast-addr ifname n Print n source filter entries for mcast-addr on interface ifname.
f filename Read commands from the file filename.
s n Sleep for n seconds.
? List legal commands.
q Quit the program.
IMPLEMENTATION NOTES
For each command implemented by mtest, the address family of each argument must be identical; it is not possible to mix IPv4 multicast mem-
berships with IPv6, for example.
To support IPv6, all commands have now changed to accept an interface name rather than an interface address. For IPv4, the program will per-
form a lookup of the primary IP address based on the interface name. This may fail if no primary IP address is assigned.
SEE ALSO
D. Thaler, B. Fenner, and B. Quinn, Socket Interface Extensions for Multicast Filters, RFC 3678.
AUTHORS
Bruce Simpson
Steve Deering
Wilbert De Graaf
BSD April 29, 2009 BSD