Intermittent Network issue from Centos 6/7 to Debian - Not Physical Network
Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Intermittent Network issue from Centos 6/7 to Debian - Not Physical Network
Hi All
I hope that this is the right area for this question. I'm experiencing a weird network issue with Centos 6 and 7. I am trying to connect to a Debian machine running Jira and Nagios via http and ssh and it times out. But, this is not a physical network issue as other machines (Windows) can connect to the same device with no issues. Additionally, if I run a VM (Windows 10) on the same machine, it works with no issues, and VMs running Centos 6 on Windows 10 host are experiencing the same timeout/connectivity issues.
To add even more fun to the mix, the problem is intermittent. Myself and another employee have been comparing notes, and sometimes it will work for him and not for me, and vice versa but more often than not, it will not work for either of us.
Ping and Telnet (even to port 22 and 80) work without an issue, but telnet, curl etc are all intermittent (reliably so, they all work, or they all fail).
Through another server, I was able to ssh to the destination server and I performed a tcpdump locally and on the server while I tried to ssh to it. The results were unexpected. Both showed traffic, so the data is getting through, but only the very first packet, after that both dumps show "TCP Retransmission".
I'm running out of ideas here, so any assistance is appreciated.
Is it possible you have more than one machine inadvertently using the same IP?
How many NICs on the source CentOS system are configured? What is the default route set to when you look at "netstat -rn"? What is in your /etc/sysconfig/network-scripts/ifcfg-<nic> files?
CentOS6/7 use Network Manager so there may be things setup in the ifcfg files that are different as compared to what CentOS5 used.
Is it possible you have more than one machine inadvertently using the same IP?
Unlikely, the issue is affecting multiple machines and it only seems to affect this particular device. I can bypass the issue by using an SSH tunnel to another device that then connects on port 80. I shouldn't be able to tunnel if I have an IP address conflict.
Quote:
Originally Posted by MensaWater
How many NICs on the source CentOS system are configured?
I have 2 but other users only have a single NIC. However, only one NIC is actually connected to the network.
Quote:
Originally Posted by MensaWater
What is the default route set to when you look at "netstat -rn"?
Code:
netstat -rn
Kernel IP routing table
Destination Gateway Genmask Flags MSS Window irtt Iface
0.0.0.0 192.168.111.22 0.0.0.0 UG 0 0 0 enp4s5
192.168.111.0 0.0.0.0 255.255.255.0 U 0 0 0 enp4s5
192.168.122.0 0.0.0.0 255.255.255.0 U 0 0 0 virbr0
Quote:
Originally Posted by MensaWater
What is in your /etc/sysconfig/network-scripts/ifcfg-<nic> files?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.