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 OSX
ypserv.acl
YPSERV.ACL(5) BSD File Formats Manual YPSERV.ACL(5)NAME
ypserv.acl --ypserv(8) configuration file
DESCRIPTION
The ypserv.acl file controls which hosts can connect to the YP server.
The format is more complex than the format for securenet(5). The first two verbs on each line controls if the line will allow or deny access
for a host, network (net) or all hosts.
The YP server reads the configuration file and build a list in memory. This list is processed from the beginning for every incomming request.
As soon a match is found in the list the search terminates and it returns success or failure depending on allow or deny. If no match was
found in the list success is returned.
If access is denied every call will cause a no such domain error for the caller.
Don't forget to allow localhost access if you want the machine running ypserv access it too.
There is no default name for this file. Start ypserv with a -a filename to read a file with this format.
The following different syntax can be used:
< allow|deny > host < hostname|ip-address >
If hostname has more than one ip address then all will be added to the list.
< allow|deny > net < netname|netnumber > [netmask <netname|netnumber>]
If netmask part of the command isn't given then the netmask will be assumed to be a class A, B or C net depending on the net number.
< allow|deny > all
A line containing one of these commands will always match any host.
EXAMPLES
A configuration file might appear as follows:
# This is an example of an access control file to be used by ypserv.
#
# This file is parsed line by line. First match will terminate the check
# of the caller.
#
###########################################################################
# This is the commands that will match a single host
#
# allow host <hostname|ip-address>
# deny host <hostname|ip-address>
#
# To process hostname gethostbyname is called. If the hostname has
# multiple ip-addresses all will be added (I hope). ip-address
# processed by inet_aton.
allow host localhost
deny host jodie
###########################################################################
# This is the commands that will match a network
#
# allow net <netname|netnumber> [netmask <netname|netnumber>]
# deny net <netname|netnumber> [netmask <netname|netnumber>]
#
# To process netname getnetbyname is called, and inet_aton is used for
# netnumber. inet_aton both access numbers as 255.255.255.0 and 0xffffff00.
#
# If netmask isn't given the parser will assume netmask from the first bits
# of the network number. So if the network is subneted the you have to add
# the netmask. In my case I've got the network 139.58.253.0 at home so too
# allow any of my computers to talk with the server I need the following
# line
#
allow net mojathome netmask 255.255.255.0
###########################################################################
# At last we have a command that will match any caller:
#
# allow all
# deny all
#
# reject all connections
deny all
FILES
/var/yp/ypserv.acl A ypserv(8) configuration file.
SEE ALSO yp(8), ypserv(8), securenet(5)AUTHOR
Mats O Jansson <moj@stacken.kth.se>
BSD July 2, 1994 BSD