All of lore.kernel.org
 help / color / mirror / Atom feed
* [LARTC] traffic shaping LAN nodes destined for internet
@ 2001-05-19  4:06 regulator
  2001-05-19 10:17 ` Wingtung.Leung
  0 siblings, 1 reply; 2+ messages in thread
From: regulator @ 2001-05-19  4:06 UTC (permalink / raw)
  To: lartc

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.

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
10.1.2.69 -> internet to 100Kbit..?


I've read through the advanced routing
HOWTO many times now... I'm either
missing a big point in the routing, or
this is just ...impossible... <-- not
likely.

I would appreciate any information that
can be provided.
Thank You!

-RDS



_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/2.4Routing/

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [LARTC] traffic shaping LAN nodes destined for internet
  2001-05-19  4:06 [LARTC] traffic shaping LAN nodes destined for internet regulator
@ 2001-05-19 10:17 ` Wingtung.Leung
  0 siblings, 0 replies; 2+ messages in thread
From: Wingtung.Leung @ 2001-05-19 10:17 UTC (permalink / raw)
  To: lartc

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/

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2001-05-19 10:17 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-05-19  4:06 [LARTC] traffic shaping LAN nodes destined for internet regulator
2001-05-19 10:17 ` Wingtung.Leung

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.