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)
Switch:
I don't know why that /32 is there. This is odd. I only assigned a /24, not that /32 and I cannot find the /32 anywhere.
Show run looks normal.
This is happening to all four new VLANs I created last week, all 4 are running Centos 7 servers. That's odd. None of their assigned IPs ping past the first public IP. The rest show this same error.
I tried another Centos 7 server on the same switch, same issue where I can only ping internally the gateway .1 and first public .2, or in this subnet (/29) case, I can ping gateway .129 and main IP .130 but not 132 - 134.
Is this an issue with Centos 7? I tried Google DNS and also the data center's DNS. Same thing (I did 'service network restart' first before re-testing ping).
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)
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)
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)
I have a question for one who wants to help me.
I want to create a bash script to ping IP-adresses. It must first ask me the beginnen IP, then the ending IP like: 192.168.100.1 - 192.168.100.255.
When nothing is filled in, then it must find my subnet and ping that, like when my ip is... (14 Replies)
Hi All
i have an issue with ping, we are using dhcp and so if the machine has been offline and i ping it, i get " ping: unknown host <hostname>
is there a way i can stick a loop somewhere so it would keep trying when it got the unknown host error and then when the machine came back online... (2 Replies)
Hello,
I'm trying to write (my own primitive) traceroute command that would write out all IPs that packets are hoping through. :)
So I've put the ping command inside a for loop
#!/bin/bash
domain=${1-www.google.com}; #If no argument, then do www.google.com.
for ((i=1; i<=30; i++)) #... (9 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)
need to check on some hosts and send an email if there status changes
I wanna put together a script in bash that will allow me to check the up/down state of a single host via ping
i want it to run in a continuous loop so I can just fire the script and forget about it(dont want cron to drive... (2 Replies)
i need to write a script that can loop through ej.192.162.0.0 to 192.162.0.256
find the ones that are connected and the ones not connected
write the name , ip address and connection status of each one in a file
to later use it in perl to create a web page with the information
thanks guys (1 Reply)
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)