RE: [LARTC] The Wonder Shaper problem

Linux Advanced Routing and Traffic Control

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> -----Original Message-----
> From: lartc-admin@xxxxxxxxxxxxxxx [mailto:lartc-admin@xxxxxxxxxxxxxxx]On
> Behalf Of Rudi Hansen
> Sent: Sunday, July 06, 2003 5:27 PM
> To: lartc@xxxxxxxxxxxxxxx
> 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



[Index of Archives]     [LARTC Home Page]     [Netfilter]     [Netfilter Development]     [Network Development]     [Bugtraq]     [GCC Help]     [Yosemite News]     [Linux Kernel]     [Fedora Users]
  Powered by Linux