[LARTC] How to change HTB default value?

2003-03-05 Thread openings
Hi. I want to change HTB qdisc's default setting to 20. but, i cannot change it. # tc qdisc change dev eth0 root handle 1: htb default 20 RTNETLINK answers: Invalid argument I can add qdisc and del qdisc. but can't change qdisc setting. For class, I can add, del, change all setting. How to ch

[LARTC] How to change HTB default value?

2003-03-05 Thread 권우식
Hi.   I want to change HTB qdisc's default setting to 20.   but, i cannot change it.   # tc qdisc change dev eth0 root handle 1: htb default 20RTNETLINK answers: Invalid argument   I can add qdisc and del qdisc. but can't change qdisc setting.   For class, I can add, del, chan

RE: [LARTC] ip alias question

2003-03-05 Thread S Mohan
AFAIK, tc works on physical device queues. Thus having virtual devices over the same physical interface will not let the virtual devices be freed of control. You must use src/dst options. Instead of attaching to virtual devices, it might be better to do it using subnets whereby you do not have to g

Re: [LARTC] issues with wshaper and throttle

2003-03-05 Thread Allen Bolderoff
oops > I do fully understand the syntax to tc and friends, and would like some way > to either; I do *NOT* understand - thats what proofreading gets me - sorry ___ LARTC mailing list / [EMAIL PROTECTED] http://mailman.ds9a.nl/mailman/listinfo/lartc HO

[LARTC] issues with wshaper and throttle

2003-03-05 Thread Allen Bolderoff
Hello there. being slightly new to lartc, tc and qos, I have been searching in vain for a solution and would like to know if possibly someone here has successfully done this. First a quick background.. I have found the wondershaper stuff and it looks good. - I want to make my link more efficient

Re: [LARTC] ip rule nat Pathces!?

2003-03-05 Thread Julian Anastasov
Hello, On 5 Mar 2003, Esteban Ribicic wrote: > julian, > the patch stuff is making me crazy (i have four servers running > iproute2).. > > i tryed to apply pathces on 2.4.20 in the following order so multipath, > nat, fwmark works: > > routes-2.4.20-9.diff > rtmasq-2.4.20-2.diff

Re: [LARTC] TCNG fw classifier question

2003-03-05 Thread Steven Bauer
[EMAIL PROTECTED] [EMAIL PROTECTED] wrote: >I think I must have the syntax wrong for using the firewall classifier >in TCNG. Can anyone offer any suggestions for what I am doing wrong. >Details below... I am answering my own question here in hopes that anyone reading the archive might benefit.

[LARTC] ip alias question

2003-03-05 Thread Gilles Dégottex
Hi all Sorry if i didnt found the answer in HOWTO's, mailing lists archives or any other place. and sorry if i write english like a spanish cow :P I'm currently using 'tc' to limit upload and stop breaking the connection of my cable modem. my eth0 has an ip alias eth0:1 which sh

[LARTC] Traffic Control question

2003-03-05 Thread Timothy Kanters
Hey everyone, Here's my problem, i've got a Cable modem (512/128kbit down/up) and a 100mbit router/switch connected to the cable modem. And in total 4 other computers connected to the router/switch. 3 of those are workstations and one of them is a server which has a few websites running on it, and

Re: [LARTC] ip rule and transparent proxy.

2003-03-05 Thread Esteban Ribicic
after marking the packet, it is posible to route over ip (marking in output)...packet goes to the gw you choose..routeing after is other issue, as you cant know or predict what will do your isp router. the packet will go where you told him to go (through fwmarks) with src address as kernel algorit

Re: [LARTC] ip rule and transparent proxy.

2003-03-05 Thread Stephane Ouellette
Esteban Ribicic wrote: you should try marking squid packets (output chain for example) and then add a rule (ip rule ls).. in lartc.org http://www.lartc.org/lartc.pdf have plenty of examples. Unfortunately, this will not work. It is not possible to route a locally-generated packet using a fi

[LARTC] Question on implementing PGPS

2003-03-05 Thread Cheng Kwok Wing, William
Hi, I'm now implementing something similar to PGPS and I need some help. How to determine if a queue is backlog??? I've carried out some test using PRIO queue. It seems that the prio_dequeue is called right after prio_enqueue and therefore the q.qlen (queue length) is always zero! That's mea

Re: [LARTC] ip rule and transparent proxy.

2003-03-05 Thread Esteban Ribicic
you should try marking squid packets (output chain for example) and then add a rule (ip rule ls).. in lartc.org http://www.lartc.org/lartc.pdf have plenty of examples. tips: when marking packets on iptables, use hexa not decimal notting. try patching the kernel if does not work (http://www.ssi.bg/

[LARTC] Sorry about last post in HTML

2003-03-05 Thread George Peverill
Sorry about previous posting in HTML. Here it is in plaintext -- Was wondering if someone can more or less come up with something newbie'ish for me to quickly and easily limit traffic to one host on my Nat'd network (192.168.0.60 for insta

[LARTC] I must become a bandwidth nazi.

2003-03-05 Thread George Peverill
Title: Message Was wondering if someone can more or less come up with something newbie'ish for me to quickly and easily limit traffic to one host on my Nat'd network (192.168.0.60 for instance is using 90% of the bandwidth most of the time in our 12 machine network) mostly DCC's on IRC. Is

[LARTC] ip rule and transparent proxy.

2003-03-05 Thread Alessandro Ren
Hello, I have a linux box with 2 internet links where I am dividing the traffic among both links. I have one link for VPN and the other one for internet access in general. The main routing table has its default gateway and it's used for VPN access and the other routing tab

Re: [LARTC] ip rule nat Pathces!?

2003-03-05 Thread Esteban Ribicic
julian, the patch stuff is making me crazy (i have four servers running iproute2).. i tryed to apply pathces on 2.4.20 in the following order so multipath, nat, fwmark works: routes-2.4.20-9.diff rtmasq-2.4.20-2.diff is the second patch necesary? i though the first (routes-2.4.20-9.diff) already

Re: [LARTC] Routing based on fwmark -solved

2003-03-05 Thread David Watson
Thanks Martin, I needed to specify the ip rules in hex, although I've moved them all over to hex now. David At 12:58 04/03/2003 -0600, you wrote: David, I have a hunch that it's a hexadecimal vs decimal issue. Try converting your fwmark numbers to hex and adding the fw

[LARTC] How to use HTB ~!!

2003-03-05 Thread clair.hong
I have downloaded iproute2-2.4.7-now-22020116-try.tar.gz and htb3.6_tc.diff.Can't I use HTB without installing iproute2+tc and patching tc?Do I need to install iproute-2-2.4.7-now-22020116-try.tar.gz  and patch htb3.6_tc.diff.?I want to know the method that i must do to use htb in k

Re: [LARTC] routing: multiple tables dude

2003-03-05 Thread Luis Miguel Cruz Miranda
Martin, many thanks for your reply. : $ip rule add from 10.10.10.0/24 lookup 90 : $ip route add 172.16.0.5 via 172.16.0.254 table 90 : $ip route add 172.16.0.6 via 172.16.0.254 table 90 : $ip route add 172.16.0.7 via 172.16.0.254 table 90 : : Should I add this routes for the traffic from 10.