LinuxQuestions.org
Review your favorite Linux distribution.
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 03-28-2010, 06:51 AM   #1
atp
LQ Newbie
 
Registered: Mar 2010
Posts: 4

Rep: Reputation: 0
Diagnosing network connections: Slow initial connection


Hi,

I want to identify why my ISP is sometimes slow, and wonder how and what tools to use.

The problem is as follows: While the lines are very fast, I experience that at times of day where there are presumably high traffic, a new initial connection is very slow and unstable.

For example getting response from DNS is slow. And after getting the answer, getting response from a web server is also slow. Or sometimes there is no response at all, and I have to retry.

Running a speed test will show high data rates. So it is only initial connection that is slow/unstable.

What is the explanation for these symptoms? Are there some tools and tests I can use to pinpoint the problem from home, without/before contacting the ISP?
 
Old 03-28-2010, 07:16 AM   #2
troop
Member
 
Registered: Feb 2010
Distribution: gentoo, arch, fedora, freebsd
Posts: 379

Rep: Reputation: 96
Code:
sudo ping -f -c 1000 ip_of_your_gateway
sudo ping -f -c 1000 ip_of_dns
sudo ping -f -c 1000 address_of_year_favorite_site
if packets loss in first case then contact the ISP.
if packets loss in second or third case then
Code:
sudo traceroute address

Last edited by troop; 03-28-2010 at 07:20 AM.
 
Old 03-28-2010, 07:31 AM   #3
atp
LQ Newbie
 
Registered: Mar 2010
Posts: 4

Original Poster
Rep: Reputation: 0
Interesting, flood pinging my own wireless router, connected with a wire:
# ping -f -c 1000 192.168.1.1
PING 192.168.1.1 (192.168.1.1) 56(84) bytes of data.
.................................................................................................... .................................................................................................... .................................................................................................... .................................................................................................... .................................................................................................... ........
--- 192.168.1.1 ping statistics ---
1000 packets transmitted, 492 received, 50% packet loss, time 8207ms
rtt min/avg/max/mdev = 0.701/1.417/3.104/0.316 ms, ipg/ewma 8.215/0.921 ms

This seems very wrong?
 
Old 03-28-2010, 07:55 AM   #4
atp
LQ Newbie
 
Registered: Mar 2010
Posts: 4

Original Poster
Rep: Reputation: 0
Had another router lying around. Same cables, same location:

ping -f -c 1000 192.168.1.254
PING 192.168.1.254 (192.168.1.254) 56(84) bytes of data.

--- 192.168.1.254 ping statistics ---
1000 packets transmitted, 1000 received, 0% packet loss, time 1026ms
rtt min/avg/max/mdev = 0.941/0.980/2.092/0.102 ms, ipg/ewma 1.027/0.964 ms
 
Old 03-28-2010, 10:26 PM   #5
troop
Member
 
Registered: Feb 2010
Distribution: gentoo, arch, fedora, freebsd
Posts: 379

Rep: Reputation: 96
Quote:
50% packet loss, time 8207ms
This seems very wrong?
Yes, it's very wrong.
Quote:
0% packet loss, time 1026ms
It's good. I have same on my wireless router.

Last edited by troop; 03-28-2010 at 10:27 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Help diagnosing a slow inter-network connection. JELG Linux - Networking 3 10-18-2007 01:51 PM
Initial Network Connection JMJ_coder *BSD 4 02-22-2007 04:50 PM
slow initial network connection hank43 Linux - Networking 2 12-17-2005 03:26 PM
Slow down connections with network utilities warned Linux - Networking 5 04-05-2004 08:41 PM
Slow initial connection pearsonified Linux - Newbie 3 09-22-2003 06:40 AM


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

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration