[LARTC] Multiple bands with equal priority ?

2007-04-23 Thread Gabriel Somlo
ld the tc commands have to look like -- I'm getting slightly confused by the split/defmap syntax, and by trying to figure out when it's a clas vs a qdisc I'm supposed to be dealing with... :( I guess I should be looking at using the WRR qdisc, but I'd like to try everything else I

[LARTC] Please Help: Can't access bands > 10 on prio qdisc

2007-04-02 Thread Gabriel Somlo
t is "parent 1:11". What am I doing wrong ? Parents 1:1 through 1:10 work fine, but as soon as I go 11 or above, I get this error... Thanks for any pointers or ideas, Gabriel ___ LARTC mailing list LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

[LARTC] Please Help: applying multiple different delays with netem

2007-03-29 Thread Gabriel Somlo
t with this, and I'm somewhat shocked and awed :) Any help is much appreciated ! Thanks, Gabriel ___ LARTC mailing list LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

Re: [LARTC] How to limit bandwidth in iptables -- HELP

2006-05-25 Thread Robert Gabriel
That must have been me lamenting. Sure, there is plenty online, but sometimes difficult to collate & appreciate I guess. Anyway, try these too: http://www.docum.org This site has an EXCELLENT FAQ section, it answered many questions I had, like burst, cburst, quantum etc. It also has tests with g

Re: [LARTC] Re: QoS book

2006-05-24 Thread Robert Gabriel
this. How is anyone supposed to make sense of all of this without breaking his brain like Leonardo Balliache puts it so aptly in his documentation? It's bits & pieces lying around that scare away potential users. On 23/05/06, Jason Boxman <[EMAIL PROTECTED]> wrote: Robert Gabrie

[LARTC] Re: QoS book

2006-05-23 Thread Robert Gabriel
/qos/ The documentation is so disparate, it's highly frustrating... On 23/05/06, Robert Gabriel <[EMAIL PROTECTED]> wrote: Hello all, Can anyone recommend a good book which thoroughly explains QoS from a Linux perspective? Something with TC examples & the like. I've looked

[LARTC] QoS book

2006-05-23 Thread Robert Gabriel
Hello all, Can anyone recommend a good book which thoroughly explains QoS from a Linux perspective? Something with TC examples & the like. I've looked at the following: http://www.amazon.com/gp/product/1580533418/qid=1148368189/sr=1-2/ref=sr_1_2/102-2819973-6353768?s=books&v=glance&n=283155 Eng

Re: [LARTC] Route by destination port?

2006-05-10 Thread Robert Gabriel
Thanks, your document helped plenty. Does this work well with only the ROUTE target for Netfilter? Does anyone know what the earliest kernel version is that supports this target? On 09/05/06, Jason Boxman <[EMAIL PROTECTED]> wrote: On Tuesday 09 May 2006 08:59, Robert Gabriel wrote: &

Re: [LARTC] Route by destination port?

2006-05-09 Thread Robert Gabriel
Thanks! Much appreciated. On 09/05/06, Erez D <[EMAIL PROTECTED]> wrote: somthing like: iptables -t mangle -A PREROUTING -p tcp --dport 80 -j MARK --set-mark 5 ip rule add fwmark 5 table 50 ip route add table 50 $isp dev ppp0 erez. On 5/9/06, Robert Gabriel <[EMAIL PROTECTE

[LARTC] Route by destination port?

2006-05-09 Thread Robert Gabriel
Hello all, We have two ADSL lines configured on a single box, hence interfaces ppp0 & ppp1. Is there a way to route packets to ppp0, say based on destination port 80 & other traffic like voice through ppp1? Thanks. ___ LARTC mailing list LARTC@mailman

Re: [LARTC] dsmark qdisc does not go without set_tc_index

2006-04-12 Thread Robert Gabriel
It works fine on my system. Maybe try deleting qdiscs first. On 12/04/06, pfer <[EMAIL PROTECTED]> wrote: > Hi all! > > Anyone got the same problem? > > If I: > > tc qdisc add dev eth0 handle 1:0 root dsmark indices 4 > set_tc_index > > it works fine. > > If I: > > tc qdisc add dev eth0 handle 1:0

Re: [LARTC] trying to find out how much is on a drive?

2006-04-12 Thread Robert Gabriel
Try 'du -chsx /*'. This should exclude other filesystems. On 12/04/06, Andy Furniss <[EMAIL PROTECTED]> wrote: > Yvon Dubinsky wrote: > > I have a Ferdora 2 machine with 2 drives in it one has the OS and > > the main drive for our Samba server on it and the other is the Mirror > > drive. What

Re: [LARTC] Re: EF & AF filters with HTB

2006-04-11 Thread Robert Gabriel
Hello again, Many thanks for your help. I have done as you suggested, I can't get the other way to work. I guess keep it simple, right? We might need to remark at a later stage, I want to test this. Have you looked at http://www.opalsoft.net/qos/DS-29.htm yet? Please could you confirm something?

Re: [LARTC] Re: EF & AF filters with HTB

2006-04-11 Thread Robert Gabriel
Hello Ferenc, The big picture is to put voice in EF class, have AF classes & BE class. Asterisk can mark packets, but I'm marking with 'iptables' & classifying (filtering) as per the requested help. We want HTB for EF class to guarantee the bandwidth & to be able to borrow/lend between classes sho

[LARTC] EF & AF filters with HTB

2006-04-10 Thread Robert Gabriel
Hello all, Please could someone help me with this, I have been trying for days to get this to work. I would like to have BE, AF & EF classes with HTB qdisc. I can't find any scripts online where this has been done. If I enable this filter: #tc filter add dev eth0 parent 2:0 protocol ip prio 1 \

Re: [LARTC] multiple wrr as child of htb

2006-01-20 Thread Gabriel
On Fri, 20 Jan 2006 12:13:06 +0200, at.matei wrote: > Hi all, > Here's the situation. > I have 80 users sharing a internet link of 5Mb link. > The users are grouped in /29 ip addr classes so I have 10 classes of users Maybe I'm getting this wrong, but how can you have 8 users/class in a /29 subne

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 >>> desc

Re: [LARTC] UDP multicast stream and NAT

2005-12-09 Thread Gabriel
gt;> > On Fri, 09 Dec 2005 21:13:45 +0200, sophana <[EMAIL PROTECTED]> wrote: > > I have no experience with multicast, but I think you have to setup a > multicast router daemon on your router (routed I think) > Gabriel wrote: &

[LARTC] UDP multicast stream and NAT

2005-12-07 Thread Gabriel
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 work. I am behind a Linux router/firewall doing NAT. Using google, I quickly found out that the netfilter/conntrack co

Re: [LARTC] htb and hfsc

2005-11-14 Thread Gabriel
On Mon, 14 Nov 2005 16:32:08 +0200, bend chen <[EMAIL PROTECTED]> wrote: > Hi,lartc! > > I read some article for linux qos,who can tell me htb and hfsc,which > better? > I'm not find about hfsc information. > > thanks your help. > > > > http://luxik.cdi.cz/~devik/qos/htb/ htb home http://

[LARTC] (yet another) HTB question(s)

2005-08-16 Thread Gabriel
Hi, I've read the documentation about HTB and I pretty much managed to grasp how it works. In theory. But there still are some questions and I want to check with you to see if I understand things correctly. So here goes: 1) when used on a router for shaping traffic done by clients connected to it,

RE: [LARTC] what is "tcp window size" ?

2005-07-31 Thread Gabriel
Querying google for "tcp window size" returns some links. I don't know the recommended values and I don't know either if you can play with this value in linux, or if it is wise. There is built-in flow control in the TCP protocol and it adjusts the window size according to your available bandwidth.

Re: [LARTC] what is "tcp window size" ?

2005-07-30 Thread Gabriel
The TCP header has a 16 bits field that specifies (and now I'm quoting from the RFC 793): "The number of data octets beginning with the one indicated in the acknowledgment field which the sender of this segment is willing to accept." In plain english: how much "useful" data you can accept from the

Re: [LARTC] iptables MARK behaviour out of the box

2005-07-26 Thread Gabriel
No, the manual says that the MARKs set with iptables are usable only within the box that sets them. It's like some metadata attached to the packet. If you want to modify QoS packet settings, you should try playing with the TOS field settings. --- [EMAIL PROTECTED] wrote: > Hi all, > Short questi

Re: [LARTC] gre tunnel between networks with same subnet

2005-07-15 Thread Gabriel
Ok, so I tried the bridging thing. I tried to bridge eth1 and tun0 on A, but apparently linux can't bridge tunnel interfaces (I got an error saying invalid argument when I issued 'brctl addif br0 tun0'). I was told to try using the vtun interface, so I'll dig into that f

[LARTC] gre tunnel between networks with same subnet

2005-07-08 Thread Gabriel
/---\ | | |eth0 |eth0 |---| |---| | |eth1 eth1 | | A |___| B |- | |\ / | |

[LARTC] (no subject)

2003-09-01 Thread Gabriel Corcodel
interfaces in order to emulate network losses/problems. BRGS, Gabriel Corcodel Alsys Data SRL Bucuresti Network, HP Netservers & HP Networking solutions manager ___ LARTC mailing list / [EMAIL PROTECTED] http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

[LARTC] Trafic shaping

2002-12-10 Thread Gabriel Corcodel
I want no limits. If the same computer wants to download something from the external network, the download should be shaped. Let's say that I have network addresses from "metropolitan area network" or AS numbers from "metropolitan

Re: [LARTC] linux NETWORKING diagram ?

2002-07-22 Thread Gabriel Paues
Hello! I have made one diagram for the IPv6 stack if that interests anybody, for download at: www.sics.se/~gabriel/funccalls.pdf The Netfilter hooks are marked out as well, on this diagram. Cheers! /gabriel On Mon, 22 Jul 2002 [EMAIL PROTECTED] wrote: > > > > Hi, > &g

Re: [LARTC] I can not set up filters

2002-07-03 Thread Gabriel Paues
Wohhaaa... Thank you so much for pointing out the obvious... Now it works.. Thanks! Gabriel Paues Martin Devera wrote: > > > When I try to attach filters to it i get the following answer: > > # tc filter add dev eth1 protocol ip parent 1:0 prio 1 u32 match ip > > dport

[LARTC] I can not set up filters

2002-07-03 Thread Gabriel Paues
eth1 protocol ip parent 1:0 prio 1 u32 match ip dport 80 0x flowid 1:10 RTNETLINK answers: Invalid argument What am I doing wrong? I Would really appreciate your help. Regards, Gabriel Paues ___ LARTC mailing list / [EMAIL PROTECTED] http

[LARTC] Compiling HTB

2002-07-02 Thread Gabriel Paues
annot se anywhere on the files changed by the htb-patch anything about a specific kernel-version. Or, am I just stupid... :-) Regards, Gabriel Paues ___ LARTC mailing list / [EMAIL PROTECTED] http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO:

[LARTC] priomap explained

2002-06-24 Thread Gabriel Paues
ok at page 32 where the command-line representation of the priomap is written I cannot see how it corresponds to anything in the table at the previous page. Is it just a typo, or is it me? Gabriel Paues [EMAIL PROTECTED] http://gabriel.paues.net ___ LAR

[LARTC] incompabilities with different routing tables and ipv6?

2002-06-05 Thread Gabriel Paues
IPv6? Sincerily, Gabriel Paues Swedish Institue of Computer Science ___ LARTC mailing list / [EMAIL PROTECTED] http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/