similar to: htb prio ...

Displaying 20 results from an estimated 1000 matches similar to: "htb prio ..."

2006 Jul 20
1
QoS doubt about network machine
Hello all, I am with a doubt about QoS solution... I have a 4 Mbit backbone coming from the telco I use... This is the link I serve to my clients, so I make this classes: $TC qdisc add dev $DL root handle 1: htb default 60 CLASS="/sbin/tc class add dev $DL parent" $CLASS 1: classid 1:1 htb rate 4096Kbit $CLASS 1:1 classid 1:10 htb rate 256Kbit ceil 3072Kbit burst 15k $CLASS 1:1
2006 Apr 05
5
QoS - Ping problem
Hello all, I have set my QoS solution and now I am facing a little problem... When I ping to my server it has some lost packages: Estatísticas do Ping para 172.30.0.1: Pacotes: SENDED = 1029, RETURNED = 880, LOST = 149 (14% de perda), Aproximar um número redondo de vezes em milissegundos: Mínimo = 0ms, Máximo = 686ms, Média = 105ms If I disable my QoS ping stats to be ok. I even have
2006 Feb 02
1
marking and limiting P2P packets
Hello, I am trying to shape p2p trafik to 256kbps on my dsl line. I wrote this set of commands: DEV=eth2 ip link set imq0 up tc qdisc add dev imq0 root handle 1:0 htb default 21 r2q 2 tc class add dev imq0 parent 1:0 classid 1:1 htb rate 530kbit tc class add dev imq0 parent 1:1 classid 1:20 htb rate 530kbit ceil 530kbit prio 0 tc class add dev imq0 parent 1:1 classid 1:21 htb rate 64kbit
2006 Feb 06
2
p2p marking, again
Hey, one more question for ipp2p iptables -t mangle -A DSL-IN -p tcp -m ipp2p --ipp2p -j CONNMARK --restore-mark iptables -t mangle -A DSL-IN -p tcp -m mark ! --mark 0 -j ACCEPT iptables -t mangle -A DSL-IN -p tcp -m ipp2p --ipp2p -j MARK --set-mark 7 iptables -t mangle -A DSL-IN -p tcp -m ipp2p --ipp2p -j CONNMARK --save-mark iptables -t mangle -A DSL-IN -p udp -m ipp2p --ipp2p -j MARK
2005 Sep 27
2
QoS-iptables-iproute-tc (doesn''t work together:S)
Hello i''m having some issues trying to match packets using iptables mark, iproute filter and tc filter.- i mean, when i do iptables -t mangle -A INPUT -p tcp --dport 80 -j MARK --set-mark 20 iptables -t mangle -A PREROUTING -p tcp --dport 25 -j MARK --set-mark 10 iptables -t mangle -A FORWARD -p tcp -i eth0 -o eth1 --dport 25 -j MARK --set-mark 10 $TC qdisc del dev $INET_IFACE root $TC
2006 Apr 07
9
u32 and iptables do not work together
Hello all, I am trying to make a filter into my QoS rules and I founded that when I try to use filters u32 and with fwmark they do not work together. This is the filter I use, just and example, for u32: $TC filter add dev $DL parent 1:0 protocol ip prio 1 u32 match ip sport 22 0xffff flowid 1:10 This is working fine. Now if I try to mark a package that I want it to go to the same
2005 Jan 31
3
why there is any traffic in default class?
I have: tc qdisc add dev imq0 root handle 1: htb default 30 tc class add dev imq0 parent 1: classid 1:1 htb rate 512kbit ceil 512kbit tc class add dev imq0 parent 1:1 classid 1:30 htb rate 64kbit ceil 512kbit then: iptables -t mangle -A PREROUTING -i ppp0 -s 192.168.2.2 -j IMQ --todev 0 tc class add dev imq0 parent 1:1 classid 1:22 htb rate 64kbit ceil 128kbit tc filter add dev imq0 protocol
2007 Aug 19
0
HTB qdisc within HTB root qdisc
Hello... Im trying to setup HTB to allow me to shape traffic from two upstreams that meets on single lan0 interface. I prefer to use HTB qdisc within HTB root qdisc for cleaner rules design. Seems that it doesnt work at all. tc -s class show doesnt show any traffic on other classes attached to HTB qdisc. Linux 2.6.20.7 iproute-2.6.20-070313 Weird thing is that tc -s class show that 1: and 2:
2005 Jun 18
6
htb child classes don''t borrow form "parent''s parent class" :(
Dear list, I have the problem that child classes don''t seem to issue the parent class to borrow from their parent. This is a simplified version of my script: tc qdisc del dev $DEV root tc qdisc add dev $DEV root handle 1: htb default 10 tc class add dev $DEV parent 1: classid 1:1 htb rate 10mbit tc class add dev $DEV parent 1:1 classid 1:10 htb rate 1kbit ceil 512kbit #groups tc
2005 Oct 23
1
Script for metropolitan
The script is corect ? #!/bin/bash /sbin/iptables -F -t mangle /sbin/iptables -X /sbin/iptables -t mangle -N mark_horiz_src /sbin/iptables -t mangle -N mark_horiz_dst /sbin/iptables -t mangle -A PREROUTING -i eth0 -j mark_horiz_src /sbin/iptables -t mangle -A PREROUTING -i eth1 -j mark_horiz_dst /sbin/iptables -t mangle -A OUTPUT -o eth0 -j mark_horiz_dst /usr/local/bin/mipclasses -s
2006 Feb 20
6
HTB, strange capacity distribution
Hello, after spending several hours reading archives, I decided to write new post. I successfully set up packet classification, made some basic HTB setup, made some simple graphical representation from HTB statistics data... BUT, I cannot figure out how to refine HTB to get this behaviour: I need that class "p2p" should be the last one to get some link capacity. If I set both RATE
2006 Mar 01
0
new to TC need help
Hello, I am new to TC and need some help with something that I need to do I have the following setup which works just fine but with a little problem. I need the user 172.16.1.100 in the case that it is using both classes never to exceed 256kbit now it goes up to 512kbit because both classes offer 256 each. How can I finally restrict this user to only 256kbit no matter what.
2004 Jan 19
3
Shaping inbound ok, outbound wrong
Hi, I´m shaping traffic using htb on both interfaces, I noticed that shaping download traffic is workinggreat but shaping upload traffic is not working at all (no sent packets, no dropped, no overlimits)I have eth0 facing the backbone and eth1 facing the LAN. Thanks for your help.These are the commands I run:tc qdisc del dev eth0 root tc qdisc add dev eth0 root handle 1 htb default 10 r2q 5 tc
2005 Nov 11
0
Re: RED qdisc not working...
Daniel J Blueman wrote: > Has anyone been able to get the RED (random early detection) qdisc > working lately? > > I can''t get anything going through it to be dropped or marked; the > ''marked'', ''early'', ''pdrop'' and ''other'' fields remain at 0 [1]. In my > example script [2], I get the 3072Kbits/s
2006 Jul 14
1
how different qdisc at root and leaf working???
i doubt about ruleset in mastershaper demo about why use hfsc at leaf class but inner class use htb??? how different for manage traffic like it???? /bin/false qdisc add dev eth1 handle 1: root htb default 1 /bin/false class add dev eth1 parent 1: classid 1:1 htb rate 2048Kbit ######### Incoming Rules ######### chain HB /bin/false class add dev eth1 parent 1:1 classid 1:21 htb rate 128Kbit ceil
2006 Dec 06
0
Configuring a QoS Box + Cliente Bandwidth Control
Hello all, I am trying to configure a linux box to make some QoS into my netowork and, at the same box, control my clients bandwidth. I have this classes created: ---------------------------------------------------------------- UP="eth0" # wan infocontabil DL01="eth2" # lan clientes $TC qdisc del dev $DL01 root 2> /dev/null >
2003 Jan 06
1
strange htb behaviour
Hello List, I use HTB in a ~80 users serving router with kernel 2.4.20. eth0 is the internet interface (half-duplex 1Mbit), eth1 the internal interface (100Mbit full duplex) cause of the fact that the router also serves as a http-proxy (squid) i thought setting up the default class on eth1 with the real upload-speed (100Mbit) would do the job, i.e. shaping normal stuff to 1Mbit except local
2006 Sep 13
1
HTB shaping problem
Hi all ! I''m building a network appliance whose goals are to enhance Voip quality on 512/128k DSL links. But, i have a voice quality problem, and i think i''m doing something wrong, but i can''t find what. Please excuse my terrible english, i''m french. >From what i''ve read, tc is the tool i need. I read the documentations, readmes and lartc.org
2005 May 04
4
OpenSwan traffic shaping with HTB & sfq
Hi All, I''ve got an interoffice IPSEC VPN in place that I''m trying to give priority to terminal service (tcp 3389) traffic. I''ve created rules at each end, but have hit a bit of a dillemma. As the data is encrypted I must also give highest priority to protocol 50 otherwise the priority is lost as the packet gets encrypted. When I do this however, I can''t
2006 Jun 16
3
tc ingress policing with multiple subnets
Hello everybody on the list, I have the following situation where I want to police the speed of incoming packets from specific subnets to 1024kbps and then police all the rest to 256kbps, which is the speed my ISP grants for the rest of the internet. So, eth1 is the one connected to the cable modem and then to the internet. I do: tc qdisc add dev eth1 ingress handle ffff: then: tc filter