You are not logged in.

#1 2009-01-29 13:41:08

cb951303
Member
Registered: 2007-03-17
Posts: 91

Splitting the internet downstream between 2 computers in a home networ

Well, I don't know exactly what this is called but here is the situation.

I have 4Mbit unlimited adsl connection at home. It's distrubuted between 2 computers through a US Robotics router. When I start downloading something, my brother always complains about how he can't play WoW because of the latency eventhough I limit my download to something like 100Kb/s. So I thought, I may shut his mouth once and for all by splitting the downstream exactly to 2 equal pieces. This way, eventhough he gets latency, I don't have to worry about it since we're using exactly the same amount of internet. Is there a way to do it? Should I buy a complicated router or something?

Thanks in advance

Last edited by cb951303 (2009-01-29 13:57:45)

Offline

#2 2009-01-29 14:17:55

u_no_hu
Member
Registered: 2008-06-15
Posts: 453

Re: Splitting the internet downstream between 2 computers in a home networ

tomato or dd-wrt ... but dont know whether your router is supported


Don't be a HELP VAMPIRE. Please search before you ask.

Subscribe to The Arch Daily News.

Offline

#3 2009-01-29 22:33:12

fukawi2
Ex-Administratorino
From: .vic.au
Registered: 2007-09-28
Posts: 6,217
Website

Re: Splitting the internet downstream between 2 computers in a home networ

I *think* you might want something like this on a router PC between your computers and the NET connection.

iptables -t mangle -A POSTROUTING -o eth0 -p tcp -s <YOUR IP ADDRESS> -j CLASSIFY --set-class 1:50
iptables -t mangle -A POSTROUTING -o eth0 -p tcp -s <OTHER IP> -j CLASSIFY --set-class 1:50

/sbin/tc qdisc del dev eth0 root
/sbin/tc qdisc add dev eth0 root handle 1: htb default 20
/sbin/tc class add dev eth0 parent 1: classid 1:1 htb rate 4096kbit
/sbin/tc class add dev eth0 parent 1:1 classid 1:30 htb rate 2048kbit ceil 4096kbit prio 2
/sbin/tc qdisc add dev eth0 parent 1:50 handle 50: sfq perturb 10

tc is part of the iproute2 package.

Offline

#4 2009-01-30 10:26:40

Dieter@be
Forum Fellow
From: Belgium
Registered: 2006-11-05
Posts: 2,000
Website

Re: Splitting the internet downstream between 2 computers in a home networ

the problem is probably not downstream. it's up.
when downloading, your sending lot's of tcp ACK packets.  this is a known problem.  Sure you could also do a 50-50 split, but that's a very inefficient solution.
You should do traffic shaping and use priorities.  eg ack packets should get lower priority, online gaming high priority.
I don't know if your us robotics thing supports QoS/traffic shaping.  have a look at pfsense and m0n0wall.


< Daenyth> and he works prolifically
4 8 15 16 23 42

Offline

#5 2009-01-30 12:56:16

cb951303
Member
Registered: 2007-03-17
Posts: 91

Re: Splitting the internet downstream between 2 computers in a home networ

thank you guys, I used QoS and its working great.
I now, know that latency has nothing to do with my bandwith. In fact I remembered playing wow with a 1Mbit connection without latency. That proves everything.

I implemented a high priorty QoS for wow, and latency is better than ever.

Offline

#6 2009-01-30 13:02:39

Dieter@be
Forum Fellow
From: Belgium
Registered: 2006-11-05
Posts: 2,000
Website

Re: Splitting the internet downstream between 2 computers in a home networ

Nice to hear.  I'm glad your router supports it, that was the one thing I was afraid of.


< Daenyth> and he works prolifically
4 8 15 16 23 42

Offline

Board footer

Powered by FluxBB