search for: 10000kbit

Displaying 19 results from an estimated 19 matches for "10000kbit".

Did you mean: 1000kbit
2007 Feb 28
4
incoming traffic + iptable
..., i try to use iptables to mark packet and then to filter them with tc. Here is my script: iptables -t mangle -A PREROUTING -s 172.28.54.41/32 -p tcp -j MARK --set-mark 1 tc qdisc add dev eth0 handle ffff: ingress tc filter add dev eth0 parent ffff: protocol ip prio 1 handle 1 fw police rate 10000kbit burst 10000kbit mtu 1500k drop flowid :1 I can not use u32 because i have several filter with more than one IP address in each. Packets seem to be well marked (command: iptables -t mangle -L -vnx) but packets are not filtered with tc. Can someone help me ? Thanks, Olivier. _________________...
2007 Sep 25
2
incoming traffic
...rate 20000kbit burst 20000kbit drop flowid :1 tc filter add dev eth0 parent ffff:1 protocol ip prio 1 u32 match ip src 138.96.20.23 police index 2 rate 15000kbit burst 15000kbit drop flowid :2 tc filter add dev eth0 parent ffff:1 protocol ip prio 1 u32 match ip src 138.96.20.10 police index 3 rate 10000kbit burst 10000kbit drop flowid :3 The main goal is to limit incoming traffic from 138.96.20.23 to 15000kbit and the incoming traffic from 138.96.20.10 to 10000kbit. But the total must not exceed 20000kbit. Does anyone have an idea ? Thanks. Olivier. ______________________________________________...
2005 Sep 28
4
Re:Does HTB consider PRIO or not? 2
...00bit ceil 512000bit burst 6399b/8 mpu 0b overhead 0b cburst 1855b/8 mpu 0b overhead 0b level 0 Sent 907525 bytes 2857 pkt (dropped 0, overlimits 0 requeues 0) rate 3616bit 1pps backlog 0b 0p requeues 0 lended: 2735 borrowed: 122 giants: 0 tokens: 2601780 ctokens: 28928 class htb 1:2 root rate 10000Kbit ceil 10000Kbit burst 6598b/8 mpu 0b overhead 0b cburst 6598b/8 mpu 0b overhead 0b level 7 Sent 809019198 bytes 1164113 pkt (dropped 0, overlimits 0 requeues 0) rate 744616bit 139pps backlog 0b 0p requeues 0 lended: 392463 borrowed: 0 giants: 0 tokens: 4168 ctokens: 4168 class htb 1:13 parent 1...
2004 Oct 20
1
Unable to handle kernel paging request at virtual address
...!!!!!!!!!!!!!ATENCION!!!!!!!!!!!!!! # LA SEGUNDA DE ESTAS REGLAS ESTABLECE EL ANCHO DE BANDA TOTAL DEL LA RED #/usr/bin/sudo -u root /sbin/tc qdisc add dev eth5 root handle 1: htb default 5 #/usr/bin/sudo -u root /sbin/tc class add dev eth5 parent 1: classid 1:1 htb rate 10000Kbit ceil 10000Kbit #/usr/bin/sudo -u root /sbin/tc class add dev eth5 parent 1:1 classid 1:5 htb rate 10000Kbit ceil 10000Kbit #/usr/bin/sudo -u root /sbin/tc qdisc add dev eth5 parent 1:5 handle 5: sfq #Declaracion de variables #declaramos la interfaz de red local devlan=eth5 #Seleccionamos los cam...
2002 Sep 20
2
u32 filter question
...d of 1:21 is catching them and not getting to the 1:40 flowid. Is this right? The box has to be between the x network and the y network. tc qdisc del dev eth1 root handle 1: htb default 999 tc qdisc add dev eth1 root handle 1: htb default 999 tc class add dev eth1 parent 1: classid 1:1 htb rate 10000kbit tc class add dev eth1 parent 1:1 classid 1:999 htb rate 1000kbit ceil 10000kbit tc qdisc add dev eth1 parent 1:999 handle 1999: sfq perturb 10 tc class add dev eth1 parent 1:1 classid 1:2 htb rate 10000kbit quantum 1514 tc class add dev eth1 parent 1:2 classid 1:21 htb rate 64kbit ceil 64kbit q...
2007 Aug 19
0
HTB qdisc within HTB root qdisc
...0: htb $tcc parent 10: classid 10:1 htb rate 100000Kbit # LAN $tcc parent 10:1 classid 10:10 htb rate 80000Kbit ceil 100000Kbit prio 7 $tcq parent 10:10 sfq limit 50 perturb 1 # from wan0 $tcc parent 10:1 classid 10:11 htb rate 2048Kbit prio 3 # from wan1 $tcc parent 10:1 classid 10:12 htb rate 10000Kbit prio 3 ### lan0 - from wan0 ### tcq="tc qdisc add dev lan0" tcc="tc class add dev lan0" $tcq parent 10:11 handle 1: htb $tcc parent 1: classid 1:1 htb rate 2048Kbit # SYN/minimal payload $tcc parent 1:1 classid 1:10 htb rate 128Kbit ceil 256Kbit prio 0 $tcq parent 1:10 pfi...
2007 Feb 27
2
Incoming traffic
Hello, with the command : tc filter add dev eth0 parent ffff: protocol ip u32 patch ip src 192.168.2.6police rate 10000kbit burst 10000kbit drop flowid :1 we can limit traffic coming from 192.168.2.6. I would like: for 192.168.1.2, 192.168.1.4 limit to 10mbit for 192.168.1.3, 192.168.1.5 limit to 20mbit other ip would have no limit. Is it possible with tc ? Regards Olivier. ____________________________________...
2006 Dec 14
1
hfsc rule command problem
...ables -t mangle -A ms-prerouting -p tcp --dport 80 -j MARK --set-mark 2 iptables -t mangle -A ms-prerouting -j CONNMARK --save-mark iptables -t mangle -A FORWARD -o eth2 -j ms-all iptables -t mangle -A POSTROUTING -o eth2 -j ms-all-chains tc class add dev eth2 parent 1: classid 1:1 hfsc sc m2 10000kbit tc filter add dev eth2 parent 1:0 protocol all u32 match u32 0 0 classid 1:1 tc class add dev eth2 parent 1:1 classid 1:11 hfsc ls m2 3500kbit ul m2 10000kbit iptables -t mangle -N ms-chain-eth2-1:11 iptables -t mangle -A ms-all-chains -m mark --mark 1 -j ms-chain-eth2-1:11 iptables -t mangle -A...
2004 Jul 24
1
tc del filter troubles
...htb system with about 1000 users. Until now I reload all rules at change, but it take too much time to apply. I cannot delete applyed filters. There is rules for one user: #!/bin/bash -v # Download shaper EX -> 2:20 /sbin/tc class add dev eth2 parent 2:20 classid 2:1775 htb rate 8000Kbit ceil 10000Kbit quantum 1514 /sbin/tc qdisc add dev eth2 parent 2:1775 sfq perturb 10 /sbin/tc filter add dev eth2 parent 2:20 protocol ip handle 1775 fw flowid 2:1775 # Download shaper peering -> 2:30 /sbin/tc class add dev eth2 parent 2:30 classid 2:2775 htb rate 100Kbit ceil 25000Kbit quantum 1514 /sbin/tc...
2007 Jun 09
7
vlan interfaces and tc
Hello I have few questions regarding tc functionality (qdiscs, classes, etc.) when vlans are in use. For example, consider interface eth0, for which I create and extra vlan with vconfig, let''s say eth0.11. Then using tc I can add usual things - qdiscs, filters, ... - to both eth0 and eth0.11. The questions are: - on which interface - virtual or real, should I actually use tc ? Or
2007 Sep 19
1
major packet loss with htb
...u 0b overhead 0b level 7 Sent 430600689269 bytes 730147320 pkt (dropped 0, overlimits 0 requeues 0) rate 23057Kbit 5520pps backlog 0b 0p requeues 0 lended: 199673949 borrowed: 0 giants: 0 tokens: -964 ctokens: -964 class htb 1:10 parent 1:1 leaf 10: prio 1 quantum 93750 rate 7500Kbit ceil 10000Kbit burst 2536b/8 mpu 0b overhead 0b cburst 2850b/8 mpu 0b overhead 0b level 0 Sent 36514538104 bytes 122225933 pkt (dropped 250, overlimits 0 requeues 0) rate 2933Kbit 1236pps backlog 0b 0p requeues 0 lended: 117912267 borrowed: 4313666 giants: 0 tokens: 2485 ctokens: 2114 class htb 1:20 pa...
2007 Oct 11
0
How to set MTU
...Has someone an idea about this ? Here is my configuration : On A : tc class add dev eth0 parent 1: classid 1:2 htb rate 50000kbit ceil 50000kbit mtu 65536 tc filter add dev eth0 parent 1: protocol ip prio 1 u32 match ip dst B flowid 1:2 On B : tc class add dev eth0 parent 1: classid 1:2 htb rate 10000kbit ceil 10000kbit mtu 65536 tc filter add dev eth0 parent 1: protocol ip prio 1 u32 match ip dst C flowid 1:2 On B, /proc/sys/net/ipv4/ip_forward =1, and there is no link between A and C. Thanks, Olivier. _______________________________________________ LARTC mailing list LARTC@mailman.ds9a.nl ht...
2007 Oct 24
0
Traffic shaping
...ass htb 11:22 parent 11:1 leaf 22: prio 5 rate 96000bit ceil 96000bit burst 1647b cburst 1647b Sent 179720 bytes 247 pkt (dropped 0, overlimits 0 requeues 0) rate 29728bit 5pps backlog 0b 42p requeues 0 lended: 205 borrowed: 0 giants: 0 tokens: -141972 ctokens: -141972 class htb 11:1 root rate 10000Kbit ceil 10000Kbit burst 6600b cburst 6600b Sent 129540 bytes 205 pkt (dropped 0, overlimits 0 requeues 0) rate 56bit 0pps backlog 0b 0p requeues 0 lended: 0 borrowed: 0 giants: 0 tokens: 3953 ctokens: 3953 class htb 11:21 parent 11:1 leaf 21: prio 5 rate 1024Kbit ceil 1024Kbit burst 2112b cburst...
2006 Sep 21
1
HFSC statistic show question
...1:11 parent 1:1 sc m1 30720Kbit d 10.0ms m2 30000bit ul m1 0bit d 0us m2 300000bit Sent 332564 bytes 235 pkts (dropped 0, overlimits 0) period 24 work 13844792199226589188 bytes rtwork 20937281664 bytes level 3461036864 class hfsc 1:1 parent 1: sc m1 0bit d 0us m2 10000bit ul m1 0bit d 0us m2 10000Kbit Sent 0 bytes 0 pkts (dropped 0, overlimits 0) period 24 work 13844792199226589188 bytes rtwork 20937281664 bytes level 3461036864 class hfsc 1:13 parent 1:1 ls m1 0bit d 0us m2 350000bit ul m1 0bit d 0us m2 500000bit Sent 84 bytes 2 pkts (dropped 0, overlimits 0) period 24 work 1384479219...
2006 May 19
25
iptables CLASSIFY and MARK not working?
...s htb 27:1 root leaf 48: prio 0 rate 60000Kbit ceil 60000Kbit burst 31590b cburst 31590b Sent 54187 bytes 790 pkt (dropped 0, overlimits 0 requeues 0) rate 624bit 1pps backlog 0b 0p requeues 0 lended: 790 borrowed: 0 giants: 0 tokens: 4306 ctokens: 4306 class htb 28:1 root leaf 49: prio 0 rate 10000Kbit ceil 10000Kbit burst 6598b cburst 6598b Sent 16539369 bytes 11178 pkt (dropped 1160, overlimits 0 requeues 0) rate 0bit 0pps backlog 0b 0p requeues 0 lended: 11178 borrowed: 0 giants: 0 tokens: 5368 ctokens: 5368 class htb 47:1 root prio 1 rate 80000bit ceil 128000bit burst 125Kb cburst 8000b...
2007 Jun 21
1
A HTB problem
...qdisc pfifo 110: dev vlan2 limit 10p qdisc htb 1: dev vlan2 r2q 10 default 13 direct_packets_stat 0 The output for tc -d -s class show dev vlan2 is like the following for root rate is 50Mbit and ceil for class is 50Mbit: class htb 1:11 parent 1:1 leaf 110: prio 0 quantum 37500 rate 3000Kbit ceil 10000Kbit burst 50Kb/8 mpu 0b overhead 0b cburst 14098b Sent 0 bytes 0 pkts (dropped 0, overlimits 0) lended: 0 borrowed: 0 giants: 0 tokens: 111847 ctokens: 9240 class htb 1:1 root rate 50000Kbit ceil 50000Kbit burst 64093b/8 mpu 0b overhead 0b cburst 64093b/8 mpu 0b overhead 0b level 7 Sent 574199301...
2007 Jun 02
7
u32 classifier
Hi folks...!!! I´ve a problem that i did not solve it. i want to limit the DOWNLOAD to my hosts (upstream traffic for the firewall) using IMQ, If i classify by PORT (source or destination) all seems to be fine, but...BUT...if i want to restrict by IP addresss (internal IP address) i can´t do it, because my hosts go to Internet toward the firewall using NAT, so after NAT my IP address in
2005 Jun 17
0
Help on deleting RSVP6 filter
...ter list dev eth1 filter parent 1: protocol ip pref 49152 rsvp6 filter parent 1: protocol ip pref 49152 rsvp6 fh 0x00010207 flowid 1:11 session 2020::1/22 ipproto tcp sender 2020::2/22 And is associated with the following class: # tc class list dev eth1 class htb 1:1 root prio 0 rate 1000bit ceil 10000Kbit burst 15Kb cburst 2848b -> class htb 1:11 root prio 0 rate 12500Kbit ceil 12500Kbit burst 49996b cburst 3159b <- Now, i cannot delete the filter: # tc filter del dev eth1 parent 1: protocol ip rsvp6 ipproto tcp session 2020::1/22 sender 2020::2/22 flowid 1:11 RTNETLINK answers: No such file...
2005 Jun 18
6
htb child classes don''t borrow form "parent''s parent class" :(
...0b overhead 0b cburst 1727b/8 mpu 0b overhead 0b level 0 Sent 22500226 bytes 28784 pkts (dropped 0, overlimits 0) rate 245080bit 39pps lended: 15306 borrowed: 13478 giants: 0 <------------ user borrowed from others tokens: -429574 ctokens: 13314 but: class htb 1:f1 root rate 2048Kbit ceil 10000Kbit burst 50Kb/8 mpu 0b overhead 0b cburst 2848b/8 mpu 0b overhead 0b level 7 Sent 221521122 bytes 257990 pkts (dropped 0, overlimits 0) rate 1818Kbit 260pps lended: 0 borrowed: 0 giants: 0 <------------ nothing going on here tokens: -1118817 ctokens: -274 class htb 1:c1 parent 1:f1 rate 2048Kb...