'ping' cmd takes 5 second per result on fresh ArcoLinux install
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.
'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.
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.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.