LinuxQuestions.org
Help answer threads with 0 replies.
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 08-23-2010, 11:44 AM   #1
Synt4x_3rr0r
Member
 
Registered: Nov 2005
Location: Sweden
Distribution: Arch Linux 64bit with Gnome
Posts: 138

Rep: Reputation: 15
Bad WAN port performance on WRT54GL when used as a switch. (DD-WRT)


I recently bought a new cat5e cable to use with my laptop, since I have photos on my file server that I edit on my laptop and it takes too long to transfer them using the wlan.

So anyway, I have already configured the WRT54GL to act as a switch instead of a router, since I have a server that acts as my router instead. I did this because I got a new ISP that offered a 100mbit connection, and the wrt54gl could not route fast enough to really get everything out of the ISP.
When I configured it to be a switch instead, I was able to max out my connection easily. I plugged the server/router into one of the regular LAN ports, and didn't use the WAN port for anything until I bought the new cable for my laptop. I had already assigned it to be a LAN port, and had used it like that temporarily in the past, but I never did any speed tests with it.

Well, now when I have my laptop plugged into the WAN port, I get much worse throughput to it then I do to my other computers. Here's a comparison:

My desktop:
Code:
wget http://ftp.sunet.se/pub/os/Linux/kernels/v2.6/linux-2.6.35.3.tar.gz
--2010-08-23 18:13:54--  http://ftp.sunet.se/pub/os/Linux/kernels/v2.6/linux-2.6.35.3.tar.gz
Resolving ftp.sunet.se (ftp.sunet.se)... 194.71.11.69, 2001:6b0:19::64
Connecting to ftp.sunet.se (ftp.sunet.se)|194.71.11.69|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 88320090 (84M) [application/x-gzip]
Saving to: `linux-2.6.35.3.tar.gz.3'

12% [====>                                            ] 10,761,200  5.10M/s
My laptop:
Code:
wget http://ftp.sunet.se/pub/os/Linux/kernels/v2.6/linux-2.6.35.3.tar.gz
--2010-08-23 18:31:46--  http://ftp.sunet.se/pub/os/Linux/kernels/v2.6/linux-2.6.35.3.tar.gz
Resolving ftp.sunet.se... 194.71.11.69, 2001:6b0:19::64
Connecting to ftp.sunet.se|194.71.11.69|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 88320090 (84M) [application/x-gzip]
Saving to: “linux-2.6.35.3.tar.gz.3”

12% [====>                                            ] 10,774,234   883K/s  eta 2m 3s
And this was even higher than usual. It seems to fluctuate around 500K/s on my laptop for some reason.


I have no idea what to do. I have gone through all the settings on the WRT54GL that I can think of, and even upgraded the firmware on it. I saw that under the VLAN settings, the WAN port was assigned to VLAN 1 while the LAN ports where assigned to VLAN 0. I changed the WAN port to VLAN 0 as well but that didn't help either.

Interestingly, this is my speedtest.net result on the laptop.
http://www.speedtest.net/result/925107904.png
Doesn't seem to be any problems there for whatever reason. But wget and other terminal apps like pacman downloads stuff significantly slower than it does on my desktop computer.

Does anyone have any idea what it is that is causing this?

Edit: Sorry if I put this thread in the wrong place. I wasn't sure where to put it.

Edit2: I've been reading on a couple of websites that linksys routers may have a 10Mbit only WAN port. It didn't say if the wrt54gl had this or not though. Could this be the case? Though that still doesn't explain why it only transfers around 500K/s. If it were indeed a 10Mbit port it would at least be a bit over 1MB/s I would think.
Edit again: hmm no the wrt54gl seems to have a 100mbit WAN port. *sigh*

another edit: Here's a picture of my VLAN settings in DD-WRT:
http://synt4x.ath.cx/pics/vlan.png

Last edited by Synt4x_3rr0r; 08-23-2010 at 01:58 PM.
 
  


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
3 WAN and 1 LAN cables in one switch Ipolit Linux - Networking 0 07-16-2010 08:05 AM
LXer: LD Port Report Project aka Switch Port Mapper Tool LXer Syndicated Linux News 0 05-10-2009 07:11 PM
Wan-LWL-Switch saavik Linux - Networking 0 02-13-2008 06:27 AM
can't access non-port 80 website from WAN jetcollins Linux - General 1 08-02-2005 11:40 AM
(Debian) LAN Connectin Good, WAN Bad Krikee Linux - Networking 1 05-08-2004 10:05 AM

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

All times are GMT -5. The time now is 04: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