Displaying 20 results from an estimated 180 matches for "1mbit".
Did you mean:
16bit
2002 Dec 10
0
SLA/Shaping Question
....105 |---------|
|--------------| .106 |
.107 .108
.109
.110
This setup seems to limit the traffic to ~1mbit to the internet at the
moment.
Basically I have a linux box with a few backup dns and mail servers on
them (hence eth1 has 3 ips) and then 3 servers attached to a 100mbit
switch, each with it''s own IP and full access.
However I now need to add a new server(s) to the switch on a different...
2005 Dec 15
3
tc strange behaviour
hi all,
I''m trying to do the following:
tc qdisc add dev eth0 root handle 1: htb default 15
tc class add dev eth0 parent 1:0 classid 1:1 htb rate 1mbit
tc class add dev eth0 parent 1:1 classid 1:15 htb rate 512kbit ceil 1mbit
what I expect:
limit outgoing traffic to 1mbit, start rate is 512kbit and let it grow
up to 1mbit
(correct me if i''m wrong here)
so, here is the problem
on different computers I have different behaviour (same kerne...
2004 Oct 06
5
What is the reccomended minimum rate for leaf htb class for accurate operation?
...******** My script ******
tc qdisc add dev eth0 root handle 1: htb default 22 r2q 10
# Class corresponding interface throughput
tc class add dev eth0 parent 1: classid 1:1 htb rate 100mbit ceil 100mbit
# Class for GLOBAL traffic
tc class add dev eth0 parent 1:1 classid 1:20 htb rate 115kbit ceil 1mbit
# Classes for PC-s
tc class add dev eth0 parent 1:20 classid 1:21 htb rate 48kbit ceil 1mbit prio 2
tc class add dev eth0 parent 1:20 classid 1:22 htb rate 24kbit ceil 1mbit prio 3
tc class add dev eth0 parent 1:20 classid 1:23 htb rate 12kbit ceil 1mbit prio 5
tc class add dev eth0 parent 1:20 cl...
2005 Mar 23
2
limiting bandwidth on iface
...de:
- -----snip-----
~ 23 # now setup shaping to dsl-like-speed (up:128, down:1024 - this \
~ is the dsl-client)
~ 24 $tc qdisc del dev $tun root >&- 2>&-
~ 25 $tc qdisc add dev $tun root handle 1: htb
~ 26
~ 27 # shapiung class of root --> not more than 1mbit bandwidth
~ 28 $tc class add dev $tun parent 1: classid 1:1 htb rate 1mbit \
~ burst 0 cburst 128
~ 29
~ 30 # this is for downstream
~ 31 $tc class add dev $tun parent 1:1 classid 1:10 htb rate 1mbit
~ 32 # this does upstream
~ 33 $tc class add dev $tun parent 1:1 cla...
2004 Oct 28
12
HTB: Problem with excess bandwidth distribution
...-todev 0
After all this I create the actual tc setup:
# --- snip ---
# clear root qdisc
tc qdisc del dev imq0 root
# add root qdisc (htb)
tc qdisc add dev imq0 root handle 1: htb default 40
# add root class (needed for bandwidth borrowing)
tc class add dev imq0 parent 1: classid 1:1 htb rate 1mbit ceil 1mbit
# set classes for users
tc class add dev imq0 parent 1:1 classid 1:10 htb rate 333kbit ceil 1mbit \
burst 15k
tc class add dev imq0 parent 1:1 classid 1:20 htb rate 333kbit ceil 1mbit \
burst 15k
tc class add dev imq0 parent 1:1 classid 1:30 htb rate 333kbit ceil 1mbi...
2006 Jan 06
6
HTB traffic shaping odd effects
...the example on the
lartc.org site:
tc qdisc add dev eth0 root handle 1: htb default 10
tc class add dev eth0 parent 1: classid 1:1 htb rate 100mbit burst 24k
tc class add dev eth0 parent 1:1 classid 1:10 htb rate 50mbit ceil
80mbit burst 19k
tc class add dev eth0 parent 1:1 classid 1:20 htb rate 1mbit ceil
1mbit
tc qdisc add dev eth0 parent 1:10 handle 10: sfq perturb 10
tc qdisc add dev eth0 parent 1:20 handle 20: sfq perturb 10
tc filter add dev eth0 protocol ip parent 1:0 prio 1 u32 match ip src
X.X.X.X flowid 1:20
So we have a total of 100mbit to be used, the default class 1:10 gets
50mbit...
2003 Apr 04
1
iproute question
...he time. I finally set up a linux router to limit the incoming/outgoing
bandwidth to his network by adding a tbf on eth0 interface and eth1 interface
of the router (neighbor is behind eth1 and we are in-between him and the rest
of the world on eth0):
tc qdisc add dev eth0 root tbf limit 40K rate 1Mbit burst 16K
tc qdisc add dev eth1 root tbf limit 40K rate 1Mbit burst 16K
The only problem is that I can''t specify a total bandwidth for our neighbor.
What I want to do exactly is specify that all traffic bound for eth1 is
limited to 1Mbit instead of having 2 separate 1Mbit qdiscs...
I t...
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 Jan 01
2
htb bridge problem, please chceck my config
...(winChip 200mhz cpu, 32mb ram, linux 2.4.28) acting like a bridge
with
2 interfaces (eth0 - to our ISP, eth1 - to our network)
machine does not have any IP
there is a 802.1q vlan eth0.2
eth0.2 and eth1 are bridged in br0
i have one 4mbit link which i share with my friend, i have 3mbit and he has
1mbit
all our IP addresses are public and we have the following setup
/sbin/tc qdisc add dev eth1 root handle 1: htb default 2
/sbin/tc class add dev eth1 parent 1: classid 1:1 htb rate 4mbit ceil 4mbit
/sbin/tc class add dev eth1 parent 1:1 classid 1:2 htb rate 3mbit ceil 3mbit
/sbin/tc class add dev...
2005 Dec 16
1
tc strange behaviour (some discoveries)
hi All,
seems like a kernel problem
when I do the following on kernel 2.6.12.5
tc qdisc add dev lo root handle 1: htb default 1
tc class add dev lo parent 1: classid 1:1 htb rate 512kbit ceil 1mbit
all works as expected (traffic is limited to 1mbit), but this doesn''t
work the same
way on kernel 2.6.14.3, and actually only ceil has effect (in my
previous message
I mentioned "rate", but I didn''t pay attention that ceil gets set
automatically to
the same value you se...
2005 May 23
1
linux tc + contab
...2.6 kernel ,
#!/bin/bash
TC=/sbin/tc
DEV=eth1
echo "Delete all rules"
$TC qdisc del dev $DEV root
echo "Add new root rule"
$TC qdisc add dev $DEV root handle 1: htb default 101
echo "lavel I - main tc rules"
$TC class add dev $DEV parent 1: classid 1:2 htb rate 1mbit ceil 1mbit
prio 3
$TC class add dev $DEV parent 1: classid 1:3 htb rate 1mbit ceil 1mbit prio 1
$TC class add dev $DEV parent 1: classid 1:4 htb rate 10mbit ceil
10mbit prio 4
$TC class add dev $DEV parent 1: classid 1:101 htb rate 1kbit ceil 1kbit prio 4
................................
.....
2004 Apr 07
1
(no subject)
...I was testing HTB using IPerf TCP traffic and the results were very good.
Until I tried to add some UDP traffic the results were a little strange.
this is my setup
tc qdisc del dev eth1 root
tc qdisc add dev eth1 handle 1:0 root htb default 2
tc class add dev eth1 parent 1:0 classid 1:1 htb rate 1mbit
tc class add dev eth1 parent 1:1 classid 1:2 htb rate 500kbit ceil 1mbit
tc class add dev eth1 parent 1:1 classid 1:3 htb rate 500kbit ceil 1mbit
tc filter add dev eth1 protocol ip parent 1:0 prio 2 u32 match ip protocol
17 0xff flowid 1:3
tc qdisc add dev eth1 parent 1:2 handle 20 pfifo limit 1...
2000 Oct 10
3
TEQL: 2 Mbit eth1 + 2Mbit eth2 = 1Mbit teql0
Hi there,
I have two ethernet connections of 2Mbit/s each and I''m trying to add them
together to one 4Mbit/s connection but I cannot get more than approximate
1Mbit/s!
My setup:
I have a LAN (10.2.18.0/24), connected to a larger network (10.0.0.0/8) by
two WAN-connections with 2Mbit/s each. On each end I have a Linux router. I
first setup the routers to use TEQL with one of the connections and it works
with 2Mbit/s, then I test the other connection with TEQL...
2002 Oct 04
2
Thousands of classes, BW throttling and prioritizing??
Hello,
I need to limit the bandwidth to 1Mbit per user IP (and never give more)
and inside of each 1Mbit prioritize minimum-delay traffic (video stream
from specific servers, so I mangle TOS for packets from those). The
problem is I need this for *thousands* of users. I am guessing thousands
of classes are needed, but the question is, is t...
2004 Oct 06
4
Re: What is the reccomended minimum rate for leaf htb classfor accurate operation?
Zviad O. Giorgadze wrote:
> My ISP provides guarantied 115kbit bandwidth for GLOBAL TRAFFIC. During the low load period (early morning, evening, night) customers can get up to 1mbit traffic.
That''s download traffic we''re talking about, since you seem to be
shaping on your local LAN interface? Variable rate ISPs are tough
to shape right, I guess...
Does this 115kbit vs. 1mbit thing solely depend on ISP load, or does it
depend on day of time? In the latter...
2004 Oct 12
1
Is it possible to shape variable bandwidth?
Hello LARTC,
Internet connection - ADSL, interface nas0 (115kbit guarantied, up to 1mbit possible. Depends on ISP load, impossible to guess).
Internal interface LAN, eth0.
Is it possible to successfully shape download traffic on eth0 using HTB?
Classes must have guarantied rate calculated from 115kbit possible rate (for example 3 classes) and the possibility to borrow up to 1mbit (dep...
2004 Oct 06
3
HTB and Openvpn
...top
priority and the rest share what''s left. Sounded simple enough.
Here''s what I did:
tc qdisc add dev eth0 root handle 1: htb default 30
tc class add dev eth0 parent 1: classid 1:1 htb rate 10mbit burst 15k
tc class add dev eth0 parent 1:1 classid 1:10 htb rate 700kbit ceil 1mbit
burst 15k prio 0
tc class add dev eth0 parent 1:1 classid 1:20 htb rate 1kbit ceil 28800
burst 15k
tc class add dev eth0 parent 1:1 classid 1:30 htb rate 1kbit ceil 1mbit
burst 15k prio 1
tc qdisc add dev eth0 parent 1:10 handle 10: sfq perturb 10
tc qdisc add dev eth0 parent 1:20 handle 20:...
2005 Jan 27
1
question about filter priorities and "tc -d filter show" output
...etup like this:
# tc qdisc del dev eth0 root
# tc qdisc add dev eth0 root handle 1: htb default 2
# tc class add dev eth0 parent 1: classid 1:2 htb rate 20mbit ceil 20mbit
If I add a second class and a filter to send traffic to it like this:
# tc class add dev eth0 parent 1: classid 1:130 htb rate 1Mbit ceil 1Mbit
# tc filter add dev eth0 protocol ip parent 1:0 prio 130 u32 match ip dst \
> 1.1.1.10 flowid 1:130
The output of "tc -d filter show dev eth0" makes sense to me and looks
like this:
filter parent 1: protocol ip pref 130 u32
filter parent 1: protocol ip pref 130 u32 fh 800:...
2007 Oct 16
0
Determining burst/cburst HTB values
...) follows:
[root@mercury ~]# cat tc.sh
#!/bin/bash
# reset
tc qdisc del dev eth0 root
# root qdisc
tc qdisc add dev eth0 root handle 1: htb default 10
# root class
tc class add dev eth0 parent 1: classid 1:1 htb rate 16mbit
# default partition
tc class add dev eth0 parent 1:1 classid 1:10 htb rate 1mbit ceil 16mbit
tc qdisc add dev eth0 parent 1:10 handle 10: sfq perturb 10
# partition-1
tc class add dev eth0 parent 1:1 classid 1:20 htb rate 1mbit ceil 1mbit
tc qdisc add dev eth0 parent 1:20 handle 20: sfq perturb 10
# partition-2
tc class add dev eth0 parent 1:1 classid 1:30 htb rate 256kbit ceil...
2003 Jun 15
3
how to emulate large IP routing table
...position: attachment; filename=final.sh
>
> #!/bin/bash
>
> #####################################
> #Deleting and setting up
> #Root qdisc''s
> #####################################
> tc qdisc del dev eth0 root
> tc qdisc add dev eth0 root handle 1:0 cbq bandwidth 1Mbit avpkt 1000 cell
8
>
> #######################################
> #Setting up top 2 qdiscs
> #for initial packet classification
> #######################################
> # Exatt Rules
> #######################################
>
> tc class add dev eth0 parent 1:0 classid 1...