All of lore.kernel.org
 help / color / mirror / Atom feed
* [LARTC] tc - in an abnormal LAN
@ 2005-10-04 19:06 Ian stuart Turnbull
  2005-10-04 19:14 ` Jason Boxman
  2005-10-04 20:52 ` Andreas Klauer
  0 siblings, 2 replies; 3+ messages in thread
From: Ian stuart Turnbull @ 2005-10-04 19:06 UTC (permalink / raw)
  To: lartc

Hello,
I have been reading the "Linux Advanced Routing & Traffic Control HOWTO" and 
was hoping you might be able to give me a little help. I am very new to 
Linux so please be gentle !?!

My network is slightly different to the normal.

I have a router with 4 ports DSL-D504T. In the house where I live 3 other 
people have Win-XP machines on the 3 ports of the router. I have the other 
port and my machine runs Linux.

I connect to the router with   eth1. My Linux is also a DHCP server and I 
can force the 3 other peoples' computers get their IP addresses from my 
Linux box rather than the DHCP router. Knowing this is there any way of 
using "tc" to share the bandwidth more fairly ? One of the guys in 
particular downloads movies all the time.

Naturally they do not want a normal LAN where my Linux is the main server.

Thanks in advance for any help / pointers to documentation etc that you can 
give.

Ian T

_________________________________________________________________
MSN Messenger 7.5 is now out. Download it for FREE here. 
http://messenger.msn.co.uk

_______________________________________________
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [LARTC] tc - in an abnormal LAN
  2005-10-04 19:06 [LARTC] tc - in an abnormal LAN Ian stuart Turnbull
@ 2005-10-04 19:14 ` Jason Boxman
  2005-10-04 20:52 ` Andreas Klauer
  1 sibling, 0 replies; 3+ messages in thread
From: Jason Boxman @ 2005-10-04 19:14 UTC (permalink / raw)
  To: lartc

On Tuesday 04 October 2005 15:06, Ian stuart Turnbull wrote:
<snip>
> I connect to the router with   eth1. My Linux is also a DHCP server and I
> can force the 3 other peoples' computers get their IP addresses from my
> Linux box rather than the DHCP router. Knowing this is there any way of
> using "tc" to share the bandwidth more fairly ? One of the guys in
> particular downloads movies all the time.

Yes.  You need to ensure each of your roommates has a blackholed IP address.  
That will solve your problem.

;)

> Naturally they do not want a normal LAN where my Linux is the main server.

Maybe your router has some QoS options?  If you can't stick your Linux machine 
between the network and the router/switch, there isn't much you could do.  
More seriously, if you provide them with DHCP you could transparently 
redirect them through your box and apply QoS without their knowledge, but it 
would be far easier to just ask, no?

-- 

Jason Boxman
http://edseek.com/ - Linux and FOSS stuff

_______________________________________________
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [LARTC] tc - in an abnormal LAN
  2005-10-04 19:06 [LARTC] tc - in an abnormal LAN Ian stuart Turnbull
  2005-10-04 19:14 ` Jason Boxman
@ 2005-10-04 20:52 ` Andreas Klauer
  1 sibling, 0 replies; 3+ messages in thread
From: Andreas Klauer @ 2005-10-04 20:52 UTC (permalink / raw)
  To: lartc

On Tuesday 04 October 2005 21:06, Ian stuart Turnbull wrote:
> My network is slightly different to the normal.
>
> I have a router with 4 ports DSL-D504T. In the house where I live 3
> other people have Win-XP machines on the 3 ports of the router. I have
> the other port and my machine runs Linux.

Your network is normal, you just want to do things the wrong way.

> One of the guys in particular downloads movies all the time. Naturally
> they do not want a normal LAN where my Linux is the main server.

I wouldn't want /your/ Linux either, because that way everyone is offline 
whenever your box is not operational. You should keep a dedicated router 
with QoS capabilities, and although Linux based would be nice, it's not an 
absolute requirement.

However, concerning the downloads all the time guy in particular, let me 
tell you a story (even though I'm not good at storytelling).

I lived in a flat together with 4 other people, and we shared one DSL line. 
At the time, I needed to use Telnet/SSH a lot, and it was super laggy, 
because the others downloaded stuff.

Now, we already had a Linux router, so it might have been a little easier 
for me, but that's beside the point. After a lot of trial & error and with 
help from LARTC I set up a proper QoS on the router, and everyone in the 
flat benefitted from it, even the guys who downloaded all the time, for 
one simple reason:

Without QoS, they couldn't do things like chatting or gaming while 
downloading either, and the net was super slow for them as well. And 
downloads still go at full speed most of the time (because most of the 
time, people are sleeping, or at uni / work), downloads only need to go a 
little slower while others want to use the net too.

So you can be fair to others and still benefit from it.
If your roommates don't get that, kick them out.

HTH
Andreas
_______________________________________________
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2005-10-04 20:52 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-10-04 19:06 [LARTC] tc - in an abnormal LAN Ian stuart Turnbull
2005-10-04 19:14 ` Jason Boxman
2005-10-04 20:52 ` Andreas Klauer

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.