From mboxrd@z Thu Jan 1 00:00:00 1970 From: Daniel Bergqvist daniel@netatonce.se Date: Tue, 17 Oct 2000 14:02:38 +0000 Subject: SV: [LARTC] Bandwidth limiting problem Message-Id: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable To: lartc@vger.kernel.org
Hi!

Please post the other tc commands too, so I may test it.

Regards,
Daniel

> -----Ursprungligt meddelande-----
> Fr=E5n: lartc-ad=
min@mailman.ds9a.nl
> [mailto:lartc-ad=
min@mailman.ds9a.nl]F=F6r Fredrik Rambris
> Skickat: Tuesday, October 17, 2000 2:04 PM
> Till: lartc@mailman.ds=
9a.nl
> =C4mne: [LARTC] Bandwidth limiting problem
>
>
> Hi!
>
> I'm trying to limit the access to and from a 2MBit leased line =
to a
> total of 128kbit (up+down must not exceed 128kbit).
>
> eth0 is connected to our lan with 100MBit
> eth1 is connected to Internet via a router
>
> I've tried modifying the examples in the howto and it succeeds =
up to the
> filter definition where I get an error.
>
> tc filter add dev eth0 parent 10:0 protocol ip prio 100 u32 mat=
ch ip \
> dst 192.168.3.0/24 flowid 10:100
>
> gives
>
> RTNETLINK answers: Ogiltigt argument
>
> (Ogiltigt argument =3D Invalid argument)
>
> This should be a real easy one. Only one class (the whole local=
 network)
> should only get access to 128kbit of the 2Mbit.
>
> Anyone have some idea of what I could be doing wrong?
>
> / Fredrik Rambris
> --
> Admera Solution Provider AB
> Tel: 0733-850 814
> Position: 55=B036=B413N  13=B003=B436E