Loop in /24 Subnet, No ping beyond .1 and .2

Tags
ip networking

Login to Reply

 
Thread Tools Search this Thread
# 1  
Old 04-13-2017
Loop in /24 Subnet, No ping beyond .1 and .2

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)

Code:
[root@localhost ~]# cat /etc/sysconfig/network-s*/ifcfg-em1
TYPE="Ethernet"
BOOTPROTO="none"
DEFROUTE="yes"
IPV4_FAILURE_FATAL="no"
IPV6INIT="yes"
IPV6_AUTOCONF="yes"
IPV6_DEFROUTE="yes"
IPV6_FAILURE_FATAL="no"
IPV6_ADDR_GEN_MODE="stable-privacy"
NAME="em1"
UUID="******"
DEVICE="em1"
ONBOOT="yes"
IPADDR="xxx.xxx.30.2"
PREFIX="24"
GATEWAY="xxx.xxx.30.1"
DNS1="8.8.8.8"
DNS2="8.8.4.4"
IPV6_PEERDNS="yes"
IPV6_PEERROUTES="yes"
IPV6_PRIVACY="no"

Code:
[root@localhost ~]# cat /etc/resolv.conf
# Generated by NetworkManager
nameserver 8.8.8.8
nameserver 8.8.4.4

Switch:

Code:
Cisco3650#show ip route xxx.xxx.30.0
Routing entry for xxx.xxx.30.0/24, 2 known subnets
  Attached (2 connections)
  Variably subnetted with 2 masks
C        xxx.xxx.30.0/24 is directly connected, Vlan26
L        xxx.xxx.30.1/32 is directly connected, Vlan26

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.

Code:
Cisco3650#show run int vlan 26
Building configuration...

Current configuration : 85 bytes
!
interface Vlan26
 description Server 26
 ip address xxx.xxx.30.1 255.255.255.0
end

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.

Code:
[root@localhost ~]# ping xxx.xxx.107.59
PING xxx.xxx.107.59 (xxx.xxx.107.59) 56(84) bytes of data.
From xxx.xxx.107.58 icmp_seq=1 Destination Host Unreachable
From xxx.xxx.107.58 icmp_seq=2 Destination Host Unreachable
From xxx.xxx.107.58 icmp_seq=3 Destination Host Unreachable
From xxx.xxx.107.58 icmp_seq=4 Destination Host Unreachable

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.

Code:
Cisco3650#show ip route xxx.xxx.107.130
Routing entry for xxx.xxx.107.128/29
  Known via "connected", distance 0, metric 0 (connected, via interface)
  Routing Descriptor Blocks:
  * directly connected, via Vlan24
      Route metric is 0, traffic share count is 1

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).
Login to Reply

|
Thread Tools Search this Thread
Search this Thread:
Advanced Search

Similar Threads More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Ping test sends mail when ping fails mort3924 Programming 4 11-24-2016 04:38 AM
Guest LDOMS on same subnet cant ping eachother selectstar Solaris 9 03-15-2015 05:24 AM
How to get reason for ping failure using perls Net::Ping->new("icmp");? tavanagh Shell Programming and Scripting 4 06-14-2013 10:27 AM
Ping check failed from Nagios master server on windows hosts in the same subnet lovesaikrishna Linux 2 01-24-2012 10:37 PM
Animation Ping on Solaris Like Cisco Ping gokcell Shell Programming and Scripting 1 12-04-2011 05:12 AM
Bash script for ping in your own subnet ugurgazi Shell Programming and Scripting 14 04-14-2011 09:48 AM
Perl Ping Loop ab52 Programming 2 04-04-2011 04:47 AM
Ping inside FOR loop courteous Shell Programming and Scripting 9 12-05-2010 03:53 PM
2 ip from one subnet my isp kil IP Networking 0 10-13-2010 04:21 AM
How many hosts per subnet Aia IP Networking 3 10-01-2010 12:25 PM
How do I figure out the subnet? mehrdad68 IP Networking 2 02-13-2009 05:56 AM
Migrating existing Subnet to a new subnet and changing ip addresses in UNIX johnmarsh IP Networking 0 11-04-2008 10:19 PM
help: infinant loop script - host ping test zeekblack Shell Programming and Scripting 2 04-23-2007 07:11 AM
ping loop djbilly IP Networking 1 04-11-2007 09:23 AM
Unix TCP/IP ping to other subnet ermingut UNIX for Dummies Questions & Answers 2 08-08-2003 12:57 PM
All times are GMT -4. The time now is 09:39 PM.

Unix & Linux Forums Content Copyright 1993-2018. All Rights Reserved.
UNIX.COM Login
Username:
Password:  
Show Password





Not a Forum Member?
Forgot Password?