[LARTC] The Wonder Shaper problem
Vik Heyndrickx
vik.heyndrickx@pandora.be
Sun, 6 Jul 2003 18:56:32 +0200
> -----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