LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Red Hat (https://www.linuxquestions.org/questions/red-hat-31/)
-   -   RHEL 7 slow on commands (https://www.linuxquestions.org/questions/red-hat-31/rhel-7-slow-on-commands-4175535638/)

raducu1605 03-03-2015 09:33 AM

RHEL 7 slow on commands
 
Hi,

I installed a RHEL 7 distro without problems.
My system has 2 eth interfaces, one for the internal network (192....) and one for outside connections.

My problem is that if I'm disconnecting the internal network, giving any command directly from tty console or using ssh from external network, every command takes 40 - 60 seconds before getting executed.

If I'm connecting back the internal interface everything runs normally, instantly.

Can anyone give me a hint on why and what to do ?
Thanks a lot.

smallpond 03-03-2015 01:16 PM

Most likely DNS timing out. Another possibility is IPv4 vs IPv6. Check your route table and your resolv.conf.


Code:

route -n
cat /etc/resolv.conf
sysctl net.ipv6.conf.all.disable_ipv6


raducu1605 03-03-2015 01:41 PM

yes, checking the resolv.conf file did the trick. Thanks a lot buddy !


All times are GMT -5. The time now is 02:23 AM.