LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (http://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Telus router (2700 HG-E) slowness (http://www.linuxquestions.org/questions/linux-networking-3/telus-router-2700-hg-e-slowness-533765/)

Vgui 03-01-2007 11:46 PM

Telus router (2700 HG-E) slowness
 
Hi,
So I used to connect directly to the internet (eth0 to Telus modem which was plugged into the phone line). Recently I changed plans, and long story short I now have a Wireless Gateway 2Wire 2700 HG-E router (their model number).

It's basically the modem, a 4 port router, and a wireless access point.

I'm getting some odd slowness, and I imagine I misconfigured something, so some help is definitely appreciated. The internet speed is fine in Windows XP, and here is some output from my install of Slackware 11.0, in case it helps anyone get an idea of what could be wrong.

> ifconfig
eth0 inet addr:205.206.156.65 Bcast:205.206.159.255 Mask:255.255.248.0
UP BROADCAST NOTRAILERS RUNNING MULTICAST MTU:1500 Metric:1
RX packets:10862 errors:0 dropped:0 overruns:0 frame:0
TX packets:11409 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:7141152 (6.8 MiB) TX bytes:2841700 (2.7 MiB)
Interrupt:5 Base address:0xd800

> route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
205.206.152.0 0.0.0.0 255.255.248.0 U 0 0 0 eth0
127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo
0.0.0.0 205.206.152.1 0.0.0.0 UG 0 0 0 eth0

The router IP is 192.168.1.254, and I'm using dhcp to get an ip address from it. I'm not fooling with the wireless, this is directly from eth0 to their first ethernet slot.

I get the feeling my 'route -n' has incorrect entries. No idea how to fix it though (not really a network guy). Any help is really appreciated :)

bulliver 03-02-2007 04:23 PM

Quote:

Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
205.206.152.0 0.0.0.0 255.255.248.0 U 0 0 0 eth0
127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo
0.0.0.0 205.206.152.1 0.0.0.0 UG 0 0 0 eth0
This is strange. What is this "205.206.152.1" computer that your box thinks is its gateway? You want the gateway to be 192.168.1.254 ie: the router.

Try something like:
Code:

# route add default gw 192.168.1.254
Have not used slack in a while but there should be a config file somewhere to add your GW permanently. Perhaps you forgot to update this when you got the new router?

Vgui 03-02-2007 11:33 PM

The IP address from the first route command was the dynamic IP assigned from Telus...so that was a huge misconfiguration (since it was basically trying to access the router from outside, I guess). Either way, with some tweaks and the help of your 'route add' command, route -n now shows:

Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo
0.0.0.0 192.168.1.254 0.0.0.0 UG 0 0 0 eth0

The connect is still slower than it was though. I have read in the past about people who had misconfigured resolv.conf, but from what I can tell mine looks fine:

> cat /etc/resolv.conf
# Generated by dhcpcd for interface eth0
search gateway.2wire.net
nameserver 192.168.1.254

Maybe it is slower just from having 3 route entries? That is one too many is it not?

Vgui 03-02-2007 11:45 PM

Hmm, some further testing, and it looks like Firefox is the main slowdown. Something like Dillo or Opera still resolves pages at the same speed, I get the same download speeds as always, and azureus still torrents just as fast.

After some further looking, I just switched off ip6 support (flipped network.dns.disableIPv6 in about:config to true) and voila, back to normal speed.

So really, it was my own dumb fault :) Maybe this will be a good reference in the future.


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