LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   'ping' cmd takes 5 second per result on fresh ArcoLinux install (https://www.linuxquestions.org/questions/linux-networking-3/ping-cmd-takes-5-second-per-result-on-fresh-arcolinux-install-4175685316/)

papazulu 11-16-2020 12:18 AM

'ping' cmd takes 5 second per result on fresh ArcoLinux install
 
Hello, Jon here,

I just installed ArcoLinux on virtualbox ( arcolinux-v20.11.9-x86_64 ) and when I use PING utility it takes exactly 5 seconds between each result return.

I tried

~$ ping -i 1 gnu.org

to force it to go faster but it would not. I have never encountered this EVER in my 20 years of computing and using the PING command. I have other VMs and host is Windows 10 and on all of them the PING command works fine.

Any guesses?

Thank you,
Jon.

ondoho 11-16-2020 02:00 AM

Quote:

Originally Posted by papazulu (Post 6185730)
Hello, Jon here,

I just installed ArcoLinux on virtualbox ( arcolinux-v20.11.9-x86_64 ) and when I use PING utility it takes exactly 5 seconds between each result return.

I tried

~$ ping -i 1 gnu.org

to force it to go faster but it would not. I have never encountered this EVER in my 20 years of computing and using the PING command. I have other VMs and host is Windows 10 and on all of them the PING command works fine.

Any guesses?

Thank you,
Jon.

If you've been doing this for 20 years you should know that what you wrote doesn't give us anything to work with.
What good would even a guess do at this stage... but OK: network settings of the vm, of the host, and of the distro installed? Is it a DNS or other networking problem? I.e., if you use the numerical IP, does that also take too long?

From now on please always post commands entered & full output, as text in code boxes, and not as screenshots.

teckk 11-16-2020 04:30 PM

Code:

ping -c1 gnu.org

ping -c1 209.51.188.148

Another words, is it a DNS issue?

What network manager does ArcoLinux use? Post the config file.
What is in your resolv.conf?

Are executables running without delay?
Code:

time { ping -c1 -i1 209.51.188.148 ;}

papazulu 11-16-2020 07:59 PM

Hello @ondoho and @teckk

Thank you for your replies.

I will put together a more correct and clear post regarding my issue soon as per ondoho's specifications.

But preliminarily my resolv.conf file only has gateway (home router, ASUS ACRH13) address in it.

I will make a better post soon.

Thank you.

dugan 11-22-2020 07:24 PM

Quote:

Originally Posted by teckk (Post 6185985)
Another words, is it a DNS issue?

Yeah, if it's exactly 5 seconds, it's probably DNS. That's exactly how long the default DNS timeout is.

You can use traceroute for confirmation.

Guttorm 11-23-2020 07:20 AM

Hi

I had the same problem. The problem was related to IP6. And my DNS server was also a home router.

Is this command fast?

Code:

ping -4 -i 1 gnu.org
I think i tried to disable IP6 first, but for some reason it didn't help. Changing the DNS server solved the problem.

From what I understood, the reason is that the DNS resolver tries both IP4 and IP6 at the same time. But when the IP6 doesn't respond correctly, it waits 5 seconds before using the IP4 address.


All times are GMT -5. The time now is 08:23 PM.