IP Networking

Learn TCP/IP, Internet Protocol, Routing, Routers, Network protocols in this UNIX and Linux forum.

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

👤 Login to reply

 
Thread Tools Search this Thread Display Modes
    #1  
Old 04-13-2017
Bashed Bashed is offline
Registered User
 
Join Date: Nov 2016
Last Activity: 13 April 2017, 4:14 PM EDT
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
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).
Sponsored Links
👤 Login to reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Guest LDOMS on same subnet cant ping eachother selectstar Solaris 9 03-15-2015 04:24 AM
Ping check failed from Nagios master server on windows hosts in the same subnet lovesaikrishna Linux 2 01-24-2012 09:37 PM
Bash script for ping in your own subnet ugurgazi Shell Programming and Scripting 14 04-14-2011 08:48 AM
Migrating existing Subnet to a new subnet and changing ip addresses in UNIX johnmarsh IP Networking 0 11-04-2008 09:19 PM
Unix TCP/IP ping to other subnet ermingut UNIX for Dummies Questions & Answers 2 08-08-2003 11:57 AM



All times are GMT -4. The time now is 12:08 AM.

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





Not a Forum Member?
Forgot Password?