From: Julius Date: Wed, 05 Dec 2007 21:54:08 +0000 Subject: Re: [LARTC] Simple Example isnt working (ssh/bulk traffic) Message-Id: <200712052254.08827.commercials@gmx.net> List-Id: References: <200712041232.52329.commercials@gmx.net> In-Reply-To: <200712041232.52329.commercials@gmx.net> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable To: lartc@vger.kernel.org On Tuesday 04 December 2007 20:45:54 Andreas Mueller wrote: > Hello, > > Julius wrote: > > Hi, > > > > the script below should allow to get ssh connections running well while > > downloading, but even the 100kbps (100kbyte/s?) doesnt work - can still > > download with 500+kb/s. Whats wrong? > > > > INTERFACE=3Deth0 > > are you mixing egress with ingress? (IMQ in that case) > What's you network-configuration (it's a router? what eths)? ah, yes i did. INTERFACE=3Dppp0 #alles l=F6schen tc qdisc del dev $INTERFACE root tc qdisc add dev $INTERFACE root handle 1:0 htb default 15 tc class add dev $INTERFACE parent 1:0 classid 1:1 htb rate 11kbps tc class add dev $INTERFACE parent 1:1 classid 1:5 htb rate 6kbps ceil 11kb= ps=20 prio 2 tc class add dev $INTERFACE parent 1:1 classid 1:15 htb rate 5kbps ceil 11k= bps=20 prio 10 #ssh filtern tc filter add dev $INTERFACE protocol ip parent 1:0 prio 1 u32 match ip dpo= rt=20 22 0xffff flowid 1:5 tc filter add dev $INTERFACE protocol ip parent 1:0 prio 1 u32 match ip spo= rt=20 22 0xffff flowid 1:5 Network setup: my pc ---- internet ---- router@home I want to connect to router@home, traffic shaping is done on the router. The router can do 120kb/s down and 14kb/s up. This works so far, have to te= st=20 these settings for some time. greets Julius _______________________________________________ LARTC mailing list LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc