| To: | Simone84bo <simone84bo@email.it>, lartc@mailman.ds9a.nl |
|---|---|
| Subject: | Re: [LARTC] HTB? (NEWBIE) |
| From: | Bartek Krawczyk <bbartlomiej@gmail.com> |
| Date: | Sat, 20 Jan 2007 17:37:27 +0100 |
| Delivered-to: | sp-com-lists@consult.net |
| Delivered-to: | lartc-list@securepoint.com |
| Delivered-to: | lartc@outpost.ds9a.nl |
| Domainkey-signature: | a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:in-reply-to:references:mime-version:content-type:message-id:reply-to:content-transfer-encoding:from:subject:date:to:x-mailer; b=d+g9UZtCer/0acEFK78wN4sZIx7m9IYhDZGKwGyLefjKMQSvyU38IRC4r7y3mDFm/Df1Fhn64olZDljzi+kJb5qtohSZpj9WwSJOnkmWNn583l5On5eakrAnT9zc8O54M2Y/2brKEsYnAVwiZdgBqVnhlcaEcwIoNfdE8lAm0Cg= |
| In-reply-to: | <01585ec188c0b5cce2d81d492b5930e2@85.18.136.107> |
| List-archive: | <http://mailman.ds9a.nl/pipermail/lartc> |
| List-help: | <mailto:lartc-request@mailman.ds9a.nl?subject=help> |
| List-id: | "Mailinglist of the Linux Advanced Routing & Traffic Control project" <lartc.mailman.ds9a.nl> |
| List-post: | <mailto:lartc@mailman.ds9a.nl> |
| List-subscribe: | <http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc>, <mailto:lartc-request@mailman.ds9a.nl?subject=subscribe> |
| List-unsubscribe: | <http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc>, <mailto:lartc-request@mailman.ds9a.nl?subject=unsubscribe> |
| References: | <01585ec188c0b5cce2d81d492b5930e2@85.18.136.107> |
| Reply-to: | Simone84bo <simone84bo@email.it> |
| Sender: | lartc-bounces@mailman.ds9a.nl |
On Jan 20, 2007, at 12:05 AM, Simone84bo wrote: Hi to all I am studying HTB on LARTC how to. I realize a simple configuration on router: tc qdisc add dev eth0 root handle 1: htb default 30 tc class add dev eth0 parent 1: classid 1:1 htb rate 3mbit burst 15k tc class add dev eth0 parent 1:1 classid 1:10 htb rate 2mbit burst 15k tc class add dev eth0 parent 1:1 classid 1:20 htb rate 1mbit burst 15k tc qdisc add dev eth0 parent 1:10 handle 10: sfq perturb 10 tc qdisc add dev eth0 parent 1:20 handle 20: sfq perturb 10tc filter add dev eth0 protocol ip parent 1:0 prio 1 u32 match ip dport 800xffff flowid 1:10After this configuration I make a ssh connection between client and server. How the guide say I expect to see on router (with command tc -s qdisc ls dev eth0) that unclassified traffic, like ssh, get rounded to 20: but it doesn't happen. The count of ssh traffic packet result only on root qdisc. Why?A second question if i want to limited rate of all my router which configuration can i realize? You'd see that if you used filter on port 22 instead of 80. 'Cause 22 is the port of ssh. And your default class is wrong. It should be 1,10 or 20. 10 or 20 preferably. regards -- Bartek Krawczyk JID: bkrawczyk@jabberpl.org GG: 2094683 _______________________________________________ LARTC mailing list LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: [LARTC] DGD patch not detecting dead gateway, Grant Taylor |
|---|---|
| Next by Date: | [LARTC] mark and route traffic in a bridge, Roberto Pereyra |
| Previous by Thread: | Re: [LARTC] HTB? (NEWBIE), Jordi Segues |
| Next by Thread: | RE: [LARTC] HTB? (NEWBIE), Flechsenhaar, Jon J |
| Indexes: | [Date] [Thread] [Top] [All Lists] |