From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Wingtung.Leung" Date: Sat, 19 May 2001 10:17:48 +0000 Subject: Re: [LARTC] traffic shaping LAN nodes destined for internet Message-Id: List-Id: References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: lartc@vger.kernel.org On Sat, 19 May 2001, regulator wrote: > I'm trying to cap the bandwidth to > certain computers on my LAN... but I > don't want to cap the local traffic - > like samba file transfers and normal > communications. I just want them to be > limited to about 100Kbit of my 128Kbit > ISDN (ppp0) internet connection. The > problem is that I can't figure out where > to place the cbq to effectively limit > LAN users of addresses > 10.1.2.0/24 > and their connection to the internet. as > for my computers, I place them all on > 10.1.1.0/24 and would like them to get > unbounded throughput. Maybe you should also look at the other thread from a few days ago about limiting in masq'd network. Is your problem similar? > in the howto, this command line is given > # tc filter add dev eth0 parent 10:0 > protocol ip prio 100 u32 match ip dst > 150.151.23.24 flowid 10:200 > > So what If I want to limit, say Just create some classes on your internal interface with the correct rate and class id 10:200 .. Could point out your exact problem? _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/2.4Routing/