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 07-19-2015, 06:45 AM   #1
lucmove
Senior Member
 
Registered: Aug 2005
Location: Brazil
Distribution: Debian
Posts: 1,432

Rep: Reputation: 110Reputation: 110
Slow routers?


I live in a kind of arrangement where several people share one Internet connection, including neighbors I hardly know who they are. We all have the password to one access point, router A.

I've never been too happy with that arrangement, so I installed two routers at my home, routers B and C. They can't be clients and access points at the same time, so router B is a wireless client to router A, while router C is hooked up to B through Ethernet cable and acts as my personal access point. All my machines/devices associate with router C.

That gives me these advantages:

- I associate with a router that is closer (C) therefore offers a better signal;
- I can share files to and fro my computer, tablet and phone more securely, since the files never go through router A;
- I guess I can browse more securely, since I am behind two/three routers.

The big drawback I am getting from it is that my connection becomes a lot slower, about 10% of the speed I get when associated to router A directly.

How can I troubleshoot this, i.e. find out which router is slow, and solve that?
 
Old 07-19-2015, 08:20 AM   #2
LinBox2013
Member
 
Registered: Sep 2013
Location: Southern Kentucky
Distribution: Arch
Posts: 119

Rep: Reputation: 45
Your adding an extra "hop" so to speak.

There is now another device that has to connect to another device via wireless and that is slowing it down. Not to mention, router A probably has some load balancing and if router A has a load from other users, there may be congestion.

I don't see any real solution to your problem.
 
Old 07-19-2015, 02:04 PM   #3
lucmove
Senior Member
 
Registered: Aug 2005
Location: Brazil
Distribution: Debian
Posts: 1,432

Original Poster
Rep: Reputation: 110Reputation: 110
The Internet is a series of hops. What is wrong with mine, is the question.
 
Old 07-19-2015, 02:38 PM   #4
LinBox2013
Member
 
Registered: Sep 2013
Location: Southern Kentucky
Distribution: Arch
Posts: 119

Rep: Reputation: 45
Quote:
Originally Posted by lucmove View Post
The Internet is a series of hops. What is wrong with mine, is the question.
Wireless is not instant.
 
Old 07-19-2015, 02:49 PM   #5
astrogeek
Moderator
 
Registered: Oct 2008
Distribution: Slackware [64]-X.{0|1|2|37|-current} ::12<=X<=15, FreeBSD_12{.0|.1}
Posts: 6,263
Blog Entries: 24

Rep: Reputation: 4194Reputation: 4194Reputation: 4194Reputation: 4194Reputation: 4194Reputation: 4194Reputation: 4194Reputation: 4194Reputation: 4194Reputation: 4194Reputation: 4194
Other than general wireless bottlenecks, you might look into the DNS used by clients, and caching.

If the cleints are using router C's DNS which queries router B's DNS which queires router A's DNS... that might be a problem. You might change a client resolv.conf to use an external DNS, like 8.8.8.8 and see if that makes a difference.
 
Old 07-19-2015, 07:27 PM   #6
Shadow_7
Senior Member
 
Registered: Feb 2003
Distribution: debian
Posts: 4,137
Blog Entries: 1

Rep: Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874
The middle man for wifi in essence cuts your bandwidth in half, all things being equal. Also if you're bouncing C->B->A->ISP->A->B->C for every DNS inquiry that can slow you down. If the DNS server is incomplete / sucks you could be waiting on every one of those requests to timeout.

Other things to consider is that wireless signals like sound are directional. Keep those things verticle to the earth. My dads router was at a 45 degree wedged behind his monitor. I put a cup under it to level it out relative to the other cruft crowding it, and a 300ms ping went down to 2ms. And the now you see me, now you don't signal went to 58/70. Although everytime he used the microwave the wifi dropped.
 
Old 07-20-2015, 10:23 AM   #7
suicidaleggroll
LQ Guru
 
Registered: Nov 2010
Location: Colorado
Distribution: OpenSUSE, CentOS
Posts: 5,573

Rep: Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142
What do you mean by "speed", when you say it drops to 10% of running on router A directly? Latency/ping? Steady state upload? Download? DNS requests? Try running a bandwidth test from dslreports.com or speedtest.net and compare all of the numbers that come out to see where the discrepancy lies.

Also, what are the manufacturer/models of router A, B, and C? You may be running into an issue of mixing standards. Maybe router A is capable of 802.11n/ac but router B and/or C can only do 802.11g. It could also be a simple wireless congestion problem, what bands are A/B/C running on (2.4 or 5 GHz)?

Last edited by suicidaleggroll; 07-20-2015 at 10:25 AM.
 
  


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
[SOLVED] Slackware, dns lookups are slow because resolv.conf includes my routers nameserver 952audio Linux - Newbie 1 01-03-2015 03:07 PM
Using multi-core/multiprocessor pc routers, vpn routers badkuk Linux - Networking 4 01-15-2011 06:55 AM
Do you have either of these routers? empty_net_goal Linux - Networking 4 06-06-2010 06:30 AM
Suse 9.2 & SATA - Slow, Slow, Slow jess1975 SUSE / openSUSE 6 01-28-2007 12:17 PM
New Fedora Internet connection slow slow slow matrim Fedora 9 07-29-2005 01:39 PM

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

All times are GMT -5. The time now is 09:20 PM.

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