* [LARTC] boring question
@ 2004-04-22 18:43 James
2004-04-23 18:08 ` Mr Ivan Hawkes
` (3 more replies)
0 siblings, 4 replies; 5+ messages in thread
From: James @ 2004-04-22 18:43 UTC (permalink / raw)
To: lartc
<P>folks,<BR><BR>Sorry to disturb you with such a basic question, but I am
new to bandwidth control , shaper etc... I tried reading some doc
about it, but couldn´t apply them to solve my (following problem):<BR><BR>I
have this..<BR><BR>[internet]------[eth0][linux box][eth1]--------[my
lan]<BR><BR><BR>ADSL (256k)<BR>eth0: 200.200.200.200 <-
ex.<BR>eth1: 192.168.7.254 lan 192.168.7.0/24<BR><BR>I want, ex.: that
user in my lan (192.168.7.10), ain´t trash my whole bandwidth with kazaa,
pop, smtp whatever... so, I want this one to download only
15kps... <BR>What could I do ?<BR><BR></P><br>
<br>
________________________________________________<br>
Message from N3T Webmail - ver.2.7<br>
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
^ permalink raw reply [flat|nested] 5+ messages in thread* Re: [LARTC] boring question
2004-04-22 18:43 [LARTC] boring question James
@ 2004-04-23 18:08 ` Mr Ivan Hawkes
2004-04-24 23:01 ` Andy Furniss
` (2 subsequent siblings)
3 siblings, 0 replies; 5+ messages in thread
From: Mr Ivan Hawkes @ 2004-04-23 18:08 UTC (permalink / raw)
To: lartc
James wrote:
> folks,
>
> Sorry to disturb you with such a basic question, but I am new to
> bandwidth control , shaper etc... I tried reading some doc about it,
> but couldn´t apply them to solve my (following problem):
>
> I have this..
>
> [internet]------[eth0][linux box][eth1]--------[my lan]
>
>
> ADSL (256k)
> eth0: 200.200.200.200 <- ex.
> eth1: 192.168.7.254 lan 192.168.7.0/24
>
> I want, ex.: that user in my lan (192.168.7.10), ain´t trash my whole
> bandwidth with kazaa, pop, smtp whatever... so, I want this one to
> download only 15kps...
> What could I do ?
Hi James,
since I'm a noob on this list I'll answer the question to save the head
guys typing.
You have almost the exact same setup as I have, except my Linux box is a
dedicated Smoothwall which I added QoS to. I'm going to assume you want
to keep that box as a normal multi-purpose box rather than reformat it
to Smoothwall :-)
I wrote a set of instructions and a pretty decent script based on
Wondershaper which will help you. Both are on my webserver at the
following address:
http://www.ivan.hawkes.tv/contentitem.aspx?idY&ciid@2
There are a couple of easy to follow articles there which I put together
based on the harder to read but more comprehensive stuff held on lartc.
Now, my adsl-shaper script isn't going to do what you want since I took
out the IP based stuff since it wasn't relevant to me, so just follow
the general instructions but use wshaper as your shaping script instead
since it does support IP based limiting.
You will need to customise the script to get your IP addresses in, but
basically what you are looking to do is simply put him into his own
queueing discipline with a max bandwidth limit attached, and let all
other traffic go through some other qdisc.
It is important to note that this generally works well for outgoing
traffic but is not particularly effective against incoming traffic since
that is *pushed* onto your machine and it has no way to control this. If
your flatmate is maxing your bandwidth with mp3 downloads maybe a quick
slap might sort him/her out ;->
--
http://www.ivanhawkes.com | ICQ: 173-392-038
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
^ permalink raw reply [flat|nested] 5+ messages in thread* Re: [LARTC] boring question
2004-04-22 18:43 [LARTC] boring question James
2004-04-23 18:08 ` Mr Ivan Hawkes
@ 2004-04-24 23:01 ` Andy Furniss
2004-04-25 13:06 ` Mr Ivan Hawkes
2004-04-26 7:47 ` Andy Furniss
3 siblings, 0 replies; 5+ messages in thread
From: Andy Furniss @ 2004-04-24 23:01 UTC (permalink / raw)
To: lartc
Mr Ivan Hawkes wrote:
> It is important to note that this generally works well for outgoing
> traffic but is not particularly effective against incoming traffic since
> that is *pushed* onto your machine and it has no way to control this.
You can control incoming bandwidth much the same as outbound - but it's
hard to keep latency low all of the time.
Andy.
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [LARTC] boring question
2004-04-22 18:43 [LARTC] boring question James
2004-04-23 18:08 ` Mr Ivan Hawkes
2004-04-24 23:01 ` Andy Furniss
@ 2004-04-25 13:06 ` Mr Ivan Hawkes
2004-04-26 7:47 ` Andy Furniss
3 siblings, 0 replies; 5+ messages in thread
From: Mr Ivan Hawkes @ 2004-04-25 13:06 UTC (permalink / raw)
To: lartc
Andy Furniss wrote:
> Mr Ivan Hawkes wrote:
>
>> It is important to note that this generally works well for outgoing
>> traffic but is not particularly effective against incoming traffic
>> since that is *pushed* onto your machine and it has no way to control
>> this.
>
>
> You can control incoming bandwidth much the same as outbound - but it's
> hard to keep latency low all of the time.
>
> Andy.
>
>
Are you able to selectively control incoming bandwidth? e.g. I have some
BT's running sucking up all that good bandwidth and my incoming pipe
gets saturated (it's 2MB, so this doesn't generally happen). How would I
tell the BT streams to slow down while giving more priority to the
important stuff? I know how to do it on egress, just not on ingress.
--
http://www.ivanhawkes.com | ICQ: 173-392-038
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [LARTC] boring question
2004-04-22 18:43 [LARTC] boring question James
` (2 preceding siblings ...)
2004-04-25 13:06 ` Mr Ivan Hawkes
@ 2004-04-26 7:47 ` Andy Furniss
3 siblings, 0 replies; 5+ messages in thread
From: Andy Furniss @ 2004-04-26 7:47 UTC (permalink / raw)
To: lartc
Mr Ivan Hawkes wrote:
> Andy Furniss wrote:
>
>> Mr Ivan Hawkes wrote:
>>
>>> It is important to note that this generally works well for outgoing
>>> traffic but is not particularly effective against incoming traffic
>>> since that is *pushed* onto your machine and it has no way to control
>>> this.
>>
>>
>>
>> You can control incoming bandwidth much the same as outbound - but
>> it's hard to keep latency low all of the time.
>>
>> Andy.
>>
>>
> Are you able to selectively control incoming bandwidth? e.g. I have some
> BT's running sucking up all that good bandwidth and my incoming pipe
> gets saturated (it's 2MB, so this doesn't generally happen). How would I
> tell the BT streams to slow down while giving more priority to the
> important stuff? I know how to do it on egress, just not on ingress.
>
You can treat it a egress traffic coming from shaping box to LAN. So the
marking/filtering should be no different. In the BT case, there is a
project on sf.net called ipp2p which can mark it, it needs you to patch
netfilter/kernel with connmark. I don't use it so can't tell you in detail.
Andy.
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2004-04-26 7:47 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-04-22 18:43 [LARTC] boring question James
2004-04-23 18:08 ` Mr Ivan Hawkes
2004-04-24 23:01 ` Andy Furniss
2004-04-25 13:06 ` Mr Ivan Hawkes
2004-04-26 7:47 ` Andy Furniss
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.