Re: [LARTC] quantum

2005-12-12 Thread Pau Oliva - pof
Hi, I usually use this as a rule of thumb: quantum = rate(in bytes)/r2q Note that quantum should be MTU (normally 1500). Best regards, Pau Oliva --- http://pof.eslack.org/blog/ On Mon, December 12, 2005 7:32, sujeet mulmi said: Dear all, I'm new to traffic shapping

Re: [LARTC] Marking packets by mac addr using tc filter u32 match?

2005-12-12 Thread Kristiadi Himawan
It's also match to this kind of traffic ? 17:16:53.740978 arp who-has 192.43.165.29 tell 192.43.165.30 17:16:53.752482 arp reply 192.43.165.29 is-at 00:04:c1:b5:bd:f1 17:16:53.812889 arp who-has 192.43.162.194 tell 192.43.162.193 17:16:53.812922 arp reply 192.43.162.194 is-at 00:08:c7:c9:a3:17

Re: [LARTC] quantum

2005-12-12 Thread Pau Oliva - pof
This page explains the quantum r2q values used in HTB in depth: http://www.docum.org/docum.org/faq/cache/31.html If you want to see my working example download this script: http://pof.eslack.org/archives/files/bw-shaper1.2.sh results achieved can be seen here:

Re: [LARTC] Marking packets by mac addr using tc filter u32 match?

2005-12-12 Thread gypsy
Kristiadi Himawan wrote: It's also match to this kind of traffic ? 17:16:53.740978 arp who-has 192.43.165.29 tell 192.43.165.30 17:16:53.752482 arp reply 192.43.165.29 is-at 00:04:c1:b5:bd:f1 17:16:53.812889 arp who-has 192.43.162.194 tell 192.43.162.193 17:16:53.812922 arp reply

Re: [LARTC] UDP multicast stream and NAT

2005-12-12 Thread Gabriel
On Mon, 12 Dec 2005 04:08:54 +0200, Andy Furniss [EMAIL PROTECTED] wrote: Andy Furniss wrote: Gabriel wrote: Hi, my ISP is streaming some local concert using UDP multicasting. I followed the instructions on the site which described how to set VLC in order to view the stream, but it didn't

Re: [LARTC] Marking packets by mac addr using tc filter u32 match?

2005-12-12 Thread Kristiadi Himawan
it's should be 0x0806 0x ? or you have the example how to catch that kind of traffic gypsy wrote: Kristiadi Himawan wrote: It's also match to this kind of traffic ? 17:16:53.740978 arp who-has 192.43.165.29 tell 192.43.165.30 17:16:53.752482 arp reply 192.43.165.29 is-at

[LARTC] MARK: targinfosize 8 != 4

2005-12-12 Thread Salim
Hello all, I got this problem while trying to shape traffic with iptables MARK and HTB. MARK: targinfosize 8 != 4 --set-mark gives invalid argument error message. Kernel version is 2.4.29 (some patches from patch o matic applied) Iptables version 1.3.4 Intel x86 architecture. I saw this