* [LARTC] The Wonder Shaper problem
@ 2003-07-04 13:23 Rudi Hansen
2003-07-04 14:42 ` bert hubert
` (5 more replies)
0 siblings, 6 replies; 7+ messages in thread
From: Rudi Hansen @ 2003-07-04 13:23 UTC (permalink / raw)
To: lartc
Hi, i don't know if anyone can help me.
I Have and Linux RedHat 9.0 machine, where i have installed the wondershaper
script to limit my inbound internet speed.
And on the Linux it works fine, but then i have an Windows machine that uses
the linux machine to get to the internet.
And this on this machine the script does not seam to have any impact.
I'm trying to limit my upload speed.
If i upload a file from the linux machine my max speed is 9Kbit, but on the
windows its 40Kbit.
Can anyone help??
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [LARTC] The Wonder Shaper problem
2003-07-04 13:23 [LARTC] The Wonder Shaper problem Rudi Hansen
@ 2003-07-04 14:42 ` bert hubert
2003-07-06 15:26 ` Rudi Hansen
` (4 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: bert hubert @ 2003-07-04 14:42 UTC (permalink / raw)
To: lartc
On Fri, Jul 04, 2003 at 03:23:10PM +0200, Rudi Hansen wrote:
> I Have and Linux RedHat 9.0 machine, where i have installed the wondershaper
> script to limit my inbound internet speed.
Your message does not entirely make sense. Here you are talking about
inbound.
> If i upload a file from the linux machine my max speed is 9Kbit, but on the
> windows its 40Kbit.
This is about outbound. So I'm not entirely sure what you mean. Make sure
you run the wondershaper on the correct interface though.
Good luck.
--
http://www.PowerDNS.com Open source, database driven DNS Software
http://lartc.org Linux Advanced Routing & Traffic Control HOWTO
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [LARTC] The Wonder Shaper problem
2003-07-04 13:23 [LARTC] The Wonder Shaper problem Rudi Hansen
2003-07-04 14:42 ` bert hubert
@ 2003-07-06 15:26 ` Rudi Hansen
2003-07-06 16:56 ` Vik Heyndrickx
` (3 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: Rudi Hansen @ 2003-07-06 15:26 UTC (permalink / raw)
To: lartc
> Your message does not entirely make sense. Here you are talking about
> inbound.
Ok let's se if I can explain it properly.
I have a small home network with an ADSL router fore my internet connection,
and some computers all connected to the ADSL Router through a switch.
Now my problem is that I would like to be able to restrict the internet
bandwidth on some of my machines.
Now I have used The Wonder Shaper script to restrict the bandwidth on my
Linux machine, and it works on that machine.
But now my problem is if I setup one of my Windows machines to use the Linux
machine as gateway, but I can still access the internet with full bandwidth
from that machine.
Now what am I doing wrong?
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
^ permalink raw reply [flat|nested] 7+ messages in thread
* RE: [LARTC] The Wonder Shaper problem
2003-07-04 13:23 [LARTC] The Wonder Shaper problem Rudi Hansen
2003-07-04 14:42 ` bert hubert
2003-07-06 15:26 ` Rudi Hansen
@ 2003-07-06 16:56 ` Vik Heyndrickx
2003-07-06 21:59 ` Rudi Hansen
` (2 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: Vik Heyndrickx @ 2003-07-06 16:56 UTC (permalink / raw)
To: lartc
> -----Original Message-----
> From: lartc-admin@mailman.ds9a.nl [mailto:lartc-admin@mailman.ds9a.nl]On
> Behalf Of Rudi Hansen
> Sent: Sunday, July 06, 2003 5:27 PM
> To: lartc@mailman.ds9a.nl
> Cc: bert hubert
> Subject: Re: [LARTC] The Wonder Shaper problem
>
>
> > Your message does not entirely make sense. Here you are talking about
> > inbound.
>
> Ok let's se if I can explain it properly.
>
> I have a small home network with an ADSL router fore my internet connection,
> and some computers all connected to the ADSL Router through a switch.
>
> Now my problem is that I would like to be able to restrict the internet
> bandwidth on some of my machines.
>
> Now I have used The Wonder Shaper script to restrict the bandwidth on my
> Linux machine, and it works on that machine.
>
> But now my problem is if I setup one of my Windows machines to use the Linux
> machine as gateway, but I can still access the internet with full bandwidth
> from that machine.
>
> Now what am I doing wrong?
If I understand the topology of your network correctly, all packets coming
from the Internet through your ADSL router come back in onto your network
and travel directly to the Windows machines without passing the linux router.
That's why they are not shaped.
One solution would be to put your linux router in between the ADSL router and
your client network. You'll need to add a network card to you linux router,
modify routing on the ADSL router to reach your client network, and point the
default gateway on the linux router to the ADSL router.
In that case you are no longer using the ADSL router as a network address
translating router but simply as an ADSL modem.
--
Vik
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [LARTC] The Wonder Shaper problem
2003-07-04 13:23 [LARTC] The Wonder Shaper problem Rudi Hansen
` (2 preceding siblings ...)
2003-07-06 16:56 ` Vik Heyndrickx
@ 2003-07-06 21:59 ` Rudi Hansen
2003-07-07 0:09 ` Damion de Soto
2003-07-25 18:48 ` bert hubert
5 siblings, 0 replies; 7+ messages in thread
From: Rudi Hansen @ 2003-07-06 21:59 UTC (permalink / raw)
To: lartc
> > I have a small home network with an ADSL router fore my internet
connection,
> > and some computers all connected to the ADSL Router through a switch.
> One solution would be to put your linux router in between the ADSL router
and
> your client network. You'll need to add a network card to you linux
router,
> modify routing on the ADSL router to reach your client network, and point
the
> default gateway on the linux router to the ADSL router.
>
> In that case you are no longer using the ADSL router as a network address
> translating router but simply as an ADSL modem.
Is that really the only way it can be done?
I would really like to be able to do this without putting the Linux machine
between the network and my ADSL Router.
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [LARTC] The Wonder Shaper problem
2003-07-04 13:23 [LARTC] The Wonder Shaper problem Rudi Hansen
` (3 preceding siblings ...)
2003-07-06 21:59 ` Rudi Hansen
@ 2003-07-07 0:09 ` Damion de Soto
2003-07-25 18:48 ` bert hubert
5 siblings, 0 replies; 7+ messages in thread
From: Damion de Soto @ 2003-07-07 0:09 UTC (permalink / raw)
To: lartc
Rudi Hansen wrote:
> Is that really the only way it can be done?
> I would really like to be able to do this without putting the Linux machine
> between the network and my ADSL Router.
>
For the linux box to do the shaping, all the traffic must go in to, and out of its
interfaces.
There's a small chance you might be able to get away with using a single network card
and aliased interfaces in the linux machine, but this would make traffic shaping much
more difficult than it needs to be (and probably slower too).
--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Damion de Soto - Software Engineer email: damion@snapgear.com
SnapGear --- ph: +61 7 3435 2809
| Custom Embedded Solutions fax: +61 7 3891 3630
| and Security Appliances web: http://www.snapgear.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [LARTC] The Wonder Shaper problem
2003-07-04 13:23 [LARTC] The Wonder Shaper problem Rudi Hansen
` (4 preceding siblings ...)
2003-07-07 0:09 ` Damion de Soto
@ 2003-07-25 18:48 ` bert hubert
5 siblings, 0 replies; 7+ messages in thread
From: bert hubert @ 2003-07-25 18:48 UTC (permalink / raw)
To: lartc
On Sun, Jul 06, 2003 at 05:26:53PM +0200, Rudi Hansen wrote:
> > Your message does not entirely make sense. Here you are talking about
> > inbound.
>
> Ok let's se if I can explain it properly.
>
>
>
> I have a small home network with an ADSL router fore my internet connection,
> and some computers all connected to the ADSL Router through a switch.
>
>
>
> Now my problem is that I would like to be able to restrict the internet
> bandwidth on some of my machines.
>
>
>
> Now I have used The Wonder Shaper script to restrict the bandwidth on my
> Linux machine, and it works on that machine.
>
>
>
> But now my problem is if I setup one of my Windows machines to use the Linux
> machine as gateway, but I can still access the internet with full bandwidth
> from that machine.
Ah, I get it. You need to disable icmp redirects, your linux box is sending
the windows machine directly to the adsl router!
Check out /proc/sys/net something or order.
Good luck!
>
>
>
> Now what am I doing wrong?
--
http://www.PowerDNS.com Open source, database driven DNS Software
http://lartc.org Linux Advanced Routing & Traffic Control HOWTO
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2003-07-25 18:48 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-07-04 13:23 [LARTC] The Wonder Shaper problem Rudi Hansen
2003-07-04 14:42 ` bert hubert
2003-07-06 15:26 ` Rudi Hansen
2003-07-06 16:56 ` Vik Heyndrickx
2003-07-06 21:59 ` Rudi Hansen
2003-07-07 0:09 ` Damion de Soto
2003-07-25 18:48 ` bert hubert
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.