[LARTC] Re: HTB question, tokens.

2007-06-23 Thread mark
On Thu, 2007-06-21 at 23:22 +0200, Christian Benvenuti wrote: Hi Mark, Hi, What exactly are the tokens? I thought each token allowed the sending of one byte, that tokens are stored in a bucket that can hold a max of burst tokens, and that this bucket is filled with tokens at rate.

[LARTC] Re: HTB question, tokens.

2007-06-21 Thread Christian Benvenuti
Hi Mark, Hi, What exactly are the tokens? I thought each token allowed the sending of one byte, that tokens are stored in a bucket that can hold a max of burst tokens, and that this bucket is filled with tokens at rate. But theory does not seem to explain the tc -s .. output in the examples

Re: [LARTC] Re: Routing Question

2007-04-09 Thread Fernando Blankleder
: Friday, April 06, 2007 7:29 PM Subject: [LARTC] Re: Routing Question Hi Fernando, Hi, Somebody can help me , i have a linux gateway running ipsec, so if i ping a host on a remote ipsec network from gateway packet goes out with external ip address of gateway , is there a way that packets going from

[LARTC] Re: Routing Question

2007-04-06 Thread Christian Benvenuti
Hi Fernando, Hi, Somebody can help me , i have a linux gateway running ipsec, so if i ping a host on a remote ipsec network from gateway packet goes out with external ip address of gateway , is there a way that packets going from gateway to a remote network be sourced from internal gateway ip ?

[LARTC] Re: pppoe question

2006-04-20 Thread the sew
ah thanks so much!! Sew On 4/20/06, Alessandro Ren [EMAIL PROTECTED] wrote: Yes, edit the script adsl-connect problably in in /sbin and remove the route del command, better, just comment it out. I had the same poblem and that solved it. []s. the sew wrote: Hi THere,

Re: [LARTC] Re: A question.

2005-04-22 Thread Taylor Grant
Ok, I have another question for you: 10) Is the 15 kbps rate limit a combination of inbound and outbound traffic or 15 kbps for inbound and 15 kbps for outbound for a total of 30 kbps traffic for any given client. (Is the 15 kbps full duplex or half duplex?) Grant. . . .

Re: [LARTC] Re: A question.

2005-04-22 Thread Taylor, Grant
15 Kbps half duplex tc qdisc add dev imq0 root handle 1: htb default 2 tc class add dev imq0 parent 1: classid 1:1 htb rate 15kbps tc qdisc add dev imq0 parent 1:1 handle 10: sfq perturb 10 tc filter add dev imq0 protocol ip parent 10:0 prio 1 u32 match ip src 192.168.1.1/32 flowid 1:1 tc filter

[LARTC] Re: A question.

2005-04-22 Thread Taylor, Grant
that I apply it IP to each of my network? Yes, you will want a similar rule for each IP on your network. tc class add dev imq0 parent 1: classid 1:1 htb rate 15kbps tc qdisc add dev imq0 parent 1:1 handle 10: sfq perturb 10 tc filter add dev imq0 protocol ip parent 10:0 prio 1 u32 match ip src

[LARTC] Re: A question.

2005-04-21 Thread Rene Casasola
Answers... 1)Can we get a simple layout of your network? WAN-(Red eth1)SMOOTHWALL(Green th0)- Network: 192.168.1.0/24, Gateway: 192.168.1.250, Broadcast: 192.168.1.255 2) Are you wanting to set a bandwidth limit on how much traffic each individual computer in your network can send out to the

Re: [LARTC] Re: burst question

2004-11-25 Thread Stef Coene
On Tuesday 23 November 2004 21:08, richard lucassen wrote: snip The last sentence makes this clear IMHO. But I can be terribly wrong of course, so please correct me if I'm still wrong... I think you are right. I also know that this is not how htb works because this wil eat cpu cycles. There

[LARTC] Re: burst question

2004-11-23 Thread richard lucassen
On Tue, 23 Nov 2004 19:56:31 +0100 Stef Coene [EMAIL PROTECTED] wrote: So a burst of 20k means the next 20kbit waiting in the queue will be sent in one burst before switching to another queue. This also means that this block of 20kbit is sent full speed over the line and it is not limited

[LARTC] Re: another question about tc filter

2002-12-01 Thread Stef Coene
what confused me is : since i only add both exact one filter at both priority 4 and priority 5 respectively, why the filter list shows that there are two filters in both priority 4 and priority 5? It's a bug in the show routine. Stef -- [EMAIL PROTECTED] Using Linux as bandwidth

[LARTC] Re: IMQ question

2002-05-06 Thread Patrick McHardy
Once again forgot to reply to the list: Patrick McHardy wrote: Ciprian Niculescu wrote: whitch is the logic in this piaece of code iptables -t mangle -A PREROUTING -j IMQ iptables -t mangle -A PREROUTING -s 1.2.3.4 -j MARK --set-mark 1 and in the imq0 i have a class that handle the