Displaying 20 results from an estimated 23 matches for "30mbit".
Did you mean:
10mbit
2004 May 12
4
HFSC
...th the HFSC one. I have the following
simple script that allows me to have a video stream on port 1234 while
it limits a ttcp UDP stream so that the video stream is unimpaired.
#!/bin/bash
tc qdisc add dev eth0 root handle 1: htb default 12
tc class add dev eth0 parent 1: classid 1:1 htb rate 30mbit ceil 30mbit
tc class add dev eth0 parent 1:1 classid 1:10 htb rate 20mbit ceil 30mbit
tc class add dev eth0 parent 1:1 classid 1:11 htb rate 10mbit ceil 30mbit
tc qdisc add dev eth0 parent 1:10 handle 20: pfifo limit 5
tc qdisc add dev eth0 parent 1:11 handle 30: pfifo limit 5
tc filter add dev e...
2007 Nov 28
5
tc doesn''t shape correct
Hi All,
I''m configuring my natting-firewall to do some tc shaping. Some traffic
has to be shaped on 30mbit, some on 10mbit all the others are unlimited.
The configuring and filtering works correctly. The traffic that is
shaped at 30mbit is correct, but the traffic that is shapped at 10mbit
only gets to 100KB/sec.
It is on a device configured with bonding (both in and out interface).
Any clue why sh...
2002 Oct 21
9
help, a children can not borrow from a parent?
Hi ;
MY script:
tc-htb3 qdisc del dev eth2 root
ipchains -F
tc-htb3 qdisc add dev eth2 root handle 10: htb default 20 r2q 40
tc-htb3 class add dev eth2 parent 10: classid 10:1 htb rate 50Mbit burst
2000
tc-htb3 class add dev eth2 parent 10:1 classid 10:100 htb rate 12mbit ceil
50mbit prio 1
tc-htb3 class add dev eth2 parent 10:1 classid 10:20 htb rate 38mbit ceil
50Mbit prio 8
ipchains
2007 Jun 21
1
A HTB problem
My hardware is a Linksys AP with MIPS 300MHz and Linux kernel 2.4.20.
The traffics are from two LAN switch ports to WAN port. And the traffics
are generate at a rate of 80Mbit. So the total traffic to WAN port is
160Mbit. The shaping works well that the traffic to WAN port is about
50/30Mbit according to configuration. But the priority seems strange
when the root rate is 50Mbit.
When the root ceil is 50Mb and ceil for class 12 and 13 is 50Mb, the
actual throughput for class 12 and 13 are 32Mb and 16Mb. But in theory,
class 12 can almost occupy all the 50Mb throughput for it has a high...
2004 Jun 22
5
htb filter
...nning configuration.
# Init shaper root for dev eth0
tc qdisc add dev eth0 root handle 2: htb default 200
# Default shaper for dev eth0
tc class add dev eth0 parent 2:0 classid 2:200 htb rate 100Mbit prio 10
tc qdisc add dev eth0 parent 2:200 sfq perturb 10
# Init NET1 shaper for dev eth0 , rate 30Mbit , ceil 40Mbit
tc class add dev eth0 parent 2:0 classid 2:30 htb rate 30Mbit ceil 40Mbit prio 1
tc qdisc add dev eth0 parent 2:30 sfq perturb 10
tc filter add dev eth0 parent 2:0 protocol ip prio 1 u32 match ip src 192.168.1.0/24 flowid 2:30
# Init NET2 shaper for dev eth0 , rate 30Mbit , ceil...
2007 Jul 08
0
Troubles with tc/iptables - per TCP session tc
...nection.
Here it is my setup:
/sbin/tc qdisc add dev eth0 root handle 1:0 htb default 1/sbin/tc class add dev eth0 parent 1:0 classid 1:1 htb rate 100mbit/sbin/tc class add dev eth0 parent 1:1 classid 1:11 htb rate 512kbit ceil 512kbit/sbin/tc class add dev eth0 parent 1:1 classid 1:12 htb rate 30mbit ceil 30mbit
/sbin/iptables --table mangle --append POSTROUTING --out-interface eth0 --protocol tcp --sport 80 -m connbytes --connbytes 1024000: --connbytes-dir reply --connbytes-mode bytes --jump CLASSIFY --set-class 1:11/sbin/iptables --table mangle --append POSTROUTING --out-interface eth0 --pro...
2004 Dec 23
1
does the inbound traffic affect the outbound on 2 different interfaces
...ript or is there some other reason to
explain this ?????
downlink regulated on eth0, uplink on eth1
-----------------------------------------------------------------------------------------------------------------------
tc qdisc del dev eth0 root
tc qdisc add dev eth0 root handle 1: cbq bandwidth 30Mbit cell 8 avpkt
1000 mpu 64
tc class add dev eth0 parent 1:0 classid 1:1 cbq bandwidth 2000kbit
rate 2000kbit allot 1514 cell 8 weight 100kbit prio 2 maxburst 20
avpkt 1000 bounded isolated
tc class add dev eth0 parent 1:1 classid 1:2 cbq bandwidth 2000kbit
rate 300kbit allot 1514 cell 8 weight 30kb...
2006 Jan 06
6
HTB traffic shaping odd effects
...If I change the rate (to say 10mbit) the outbound traffic gets up to
again twice the rate (in this case 20mbit).
Any thoughts? I have had a look at the tc statistics but it doesn''t
appear as I would expect it to. Class 1:10 shows a lot of dropped
packets but it is only averaging around 30mbit constantly. On the other
hand class 1:20 doesn''t show any dropped packets. Similarly there are no
packets marked as overlimit for any class. I occasionally see the tokens
for 1:20 go negative... everything is quite strange.
Any help would be appreciated.
--
Regards,
Oliver Hookins
2004 Aug 06
0
Buffering Problems
...nts. Winamp almost constantly buffers when i'm listening on
my 2.5Mbit DSL connection. With shoutcast it is not a problem (though I
can't use stream-db with it).
Here's the setup:
Duron 850Mhz 320MB RAM
Maxtor 7200RPM 20GB
100mbit FD to switched colo network, realizes speeds of about 30mbit up.
stream-db and stream-php into icecast 1.3.11. Reencoded to 128kbit, source
is all 192kbit MP3
FYI, my dsl at home is about 5 hops away with pings of approx 13ms, and like
I said it is not a problem at all with shoutcast and ices.
Cranking the buffer up to 320 or 512kbit in winamp solves the...
2005 Oct 06
0
problem with classifying
...following situation:
P1-\ | linux |
--eth0-| box |-eth1
P2-/ | |
P1 and P2 are coming from VLANs. I have 4 type traffic which I want to
classify.
The traffic is divided as follows:
P1 - 100mbit from realm 0x70000
10mbit from realm ! 0x70000
P2 - 30mbit from realm 0x80000
1mbit from realm ! 0x80000
For this I use marking by realm with iptables, like this:
iptables -t mangle -A FORWARD -i eth0.1 -m realm --realm 0x70000 -j MARK
--set-mark 0x27
iptables -t mangle -A FORWARD -i eth0.2 -m realm --realm 0x80000 -j MARK
--set-mark 0x28
ipt...
2002 Oct 14
1
help, HTB2 and filter ?
...iproute2
Here is my script :
tc qdisc del dev eth0 root
tc qdisc add dev eth0 root handle 10: htb default 20
tc class add dev eth0 parent 10: classid:10:1 htb rate 90mbit ceil
90mbit burst 2000
tc class add dev eth0 parent 10:1 classid 10:100 htb rate 10mbit ceil
30mbit prio 1
tc class add dev eth0 parent 10:1 classid 10:20 htb rate 80mbit ceil
90mbit prio 3
ipchains -A fwbr –s A.B.C.D –d E.F.G.H -m 100 –j ACCEPT
ipchains –A fwbr –s 0.0.0.0 –d 0.0.0.0 –j ACCEPT
BUT:
tc filter add dev eth1 protocol ip parent 10:1 prio 1 handle 100 fw...
2015 Jun 29
2
Using a CentOS 6 Machine as a gateway/router/home server
...this?
indeed, I use pfSense, running on a APU1D4 [1] router board as my
firewall, and a separate home server on a HP Microserver [2]. IMHO,
keeping the firewall function completely separate simplifies security.
that router board can handle 300 Mbit/sec of NAT firewall rules, since I
only have 30Mbit internet, thats plenty of headroom. the Microserver
has 4x3 TB SATA drives in a raidZ (ZFS) for 7.5 TiB usable.
I can muck about with the server at my leisure, and reboot it, and not
affect internet routing to my wife. the firewall doesn't need mucking
about with and has uptimes measur...
2004 Dec 22
0
HFSC again.
...bit
#www traffic
tc class add dev ethx parent 1:1 classid 1:5 hfsc ls m2 20mbit
#for every client i do this
tc class add dev ethx parent 1:5 classid 1:$wwwclient hfsc rt m2
128kbit ls m2 128kbit
.... And so on for everybody...
#bulk traffic
tc class add dev ethx parent 1:1 classid 1:6 hfsc ls m2 30mbit
#for every client i have ...
tc class add dev ethx parent 1:6 classid 1:$bulkclient ls m2 128kbit
... so on for everybody...
This setup works ok, but unfortunately with not enough knowledge about
what i am doing. The rt classes are meant to guarantee a bandwidth at
an rate (m2). I also used m1 a...
2004 Jun 24
1
Interesting errors...
Greetings,
About 2 months ago, we decided to backup our Oracle test servers via
samba rather than nfs -- the backups were just taking too long using
nfs. No problem mounting the remote file share to the server and the
backup took about one-third of the time. Yep, worked good...and still
continues to out perform nfs hands down.
Problem is - I'm receiving errors on both of the test servers.
2014 May 20
2
Samba 4 + Windows XP very slow - especially noticeable with many files
...* Windows 7 - Identical hardware as XP machine #1: 7 sec
The setup is a Samba 4.1.6 server on a high school serving 200 - 250
computers, (at the moment) all Windows XP clients. Server runs
virtualized in a KVM and has a 10GE connection to the switch.
Traffic stats: OUT: 110Mbit peak (5m avg) and 30Mbit average
Traffic stats: IN: 20Mbit peak (5m avg) and <5Mbit average
The slower-than-usual-speed for the 500M file I can live with for now,
but the "many small files" case is a real problem. User profiles and
desktops are full of small files so this causes a slow login. In fact,
when...
2007 Nov 19
15
Unexpected results using HTB qdisc
...sting qdisc
tc qdisc del dev eth0 root handle 1:
# Root queueing discipline
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 100mbit burst 1500 ceil 100mbit
# Default class
tc class add dev eth0 parent 1:1 classid 1:10 htb rate 30mbit ceil 100mbit burst 1500
# Rate limited classes
tc class add dev eth0 parent 1:1 classid 1:4 htb rate 300kbit
tc class add dev eth0 parent 1:4 classid 1:40 htb rate 50kbit
tc class add dev eth0 parent 1:4 classid 1:41 htb rate 50kbit
tc class add dev eth0 parent 1:4 classid 1:42 htb rate 200kbit
t...
2004 Oct 28
4
HTB is losing packets ?
Hello all,
I have using htb for last 10-12 months to manage the bandwidth share.
Until last month everything was ok, but now after a kernel upgrade (from
2.4.20 to 2.4.26 because a kernel bug that generate a oops) the Linux router
is droping packets. It is weird because the "tc -s class ls dev eth1" (in the
class I monitor) reports no packet drop, the "tc -s qdisc ls dev
2007 Nov 30
6
Replacement for Linux-HA (heartbeat) - RedHat cluster?
Hello,
I'm beginning to give up on making Linux-HA's heartbeat work for my
environment (CentOS x86_64) and am wondering what other option have I got to
help me:
1. Use IPVS to maintain a cluster of virtual servers, either master/slave or
load-balanced.
2. Use DRBD in master/slave fashion to keep a home-grown application
highly-available.
The first thing I stumbled upon is RedHat Cluster
2005 Jun 28
0
Re: Questin regarding HTB
...col ip prio 100 u32 match
ip src 194.126.179.0/28 classid 1:101
#Shapeclient 2 - IP 194.126.178.128/25
#/sbin/tc class add dev $ETH_IN parent 1:2 classid 1:102 htb rate 15Mbit
ceil 15Mbit quantum 65000 prio 4 burst 10k
#/sbin/tc class add dev $ETH_OUT parent 1:2 classid 1:102 htb rate 20Mbit
ceil 30Mbit quantum 65000 prio 4 burst 10k
#/sbin/tc filter add dev $ETH_IN parent 1:0 protocol ip prio 100 u32 match
ip dst 194.126.178.128/25 classid 1:102
#/sbin/tc filter add dev $ETH_OUT parent 1:0 protocol ip prio 100 u32 match
ip src 194.126.178.128/25 classid 1:102
They`ve told me that this one limits...
2015 Jun 28
8
Using a CentOS 6 Machine as a gateway/router/home server
Greetings,
I'm rebuilding a machine to function as a gateway/router to Verizon DSL.
It has two NICs eth0 and eth1 (static set to 192.168.1.1).
eth0 connects to the DSL modem.
I've setup Verizon DSL usine pppoe-setup, and it works.
I can connect from home machines to the server (192.168.1.1); while logged
in to the server, I can connect to both the internet, and the home
machines.