LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 11-15-2020, 11:18 PM   #1
papazulu
LQ Newbie
 
Registered: Mar 2013
Posts: 11

Rep: Reputation: Disabled
'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.
 
Old 11-16-2020, 01:00 AM   #2
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
Quote:
Originally Posted by papazulu View Post
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.
 
Old 11-16-2020, 03:30 PM   #3
teckk
LQ Guru
 
Registered: Oct 2004
Distribution: Arch
Posts: 5,136
Blog Entries: 6

Rep: Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826
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 ;}
 
Old 11-16-2020, 06:59 PM   #4
papazulu
LQ Newbie
 
Registered: Mar 2013
Posts: 11

Original Poster
Rep: Reputation: Disabled
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.
 
Old 11-22-2020, 06:24 PM   #5
dugan
LQ Guru
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 11,219

Rep: Reputation: 5309Reputation: 5309Reputation: 5309Reputation: 5309Reputation: 5309Reputation: 5309Reputation: 5309Reputation: 5309Reputation: 5309Reputation: 5309Reputation: 5309
Quote:
Originally Posted by teckk View Post
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.

Last edited by dugan; 11-22-2020 at 06:30 PM.
 
Old 11-23-2020, 06:20 AM   #6
Guttorm
Senior Member
 
Registered: Dec 2003
Location: Trondheim, Norway
Distribution: Debian and Ubuntu
Posts: 1,453

Rep: Reputation: 446Reputation: 446Reputation: 446Reputation: 446Reputation: 446
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.
 
1 members found this post helpful.
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Zombieload, Nextcloud, Peppermint 10, KDE Plasma, IPFire, ArcoLinux, LuneOS | This Week in Linux 67 LXer Syndicated Linux News 0 05-23-2019 07:24 AM
LXer: Cooking with Linux (without a Net): Too Many Virtual Machines, i3 and ArcoLinux Redux LXer Syndicated Linux News 0 06-28-2018 08:11 AM
Issue sg_modes cmd at cmd line, want to see the cmd in binary form NuUser Linux - Newbie 1 03-28-2012 08:08 AM
I cannot ping with command 'ping IP' address but can ping with 'ping IP -I eth0' sanketmlad Linux - Networking 2 07-15-2011 05:32 AM
CSH: "cmd >& file" or "cmd </dev/null >& file" stefanlasiewski Programming 1 09-08-2003 04:19 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 09:41 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration