similar to: How to set MTU

Displaying 20 results from an estimated 9000 matches similar to: "How to set MTU"

2004 Jul 09
3
tc filter + bridging + htb -- works only if ip_forward = 0
I thought that the below email would be of interest to LARTC readers. I wasted quite a bit of time tracking down this "feature" (bug?). Any comments that shed light on this would be appreciated. In short, "tc filter" + htb + bridging works only with ip_forward off. Andrew Athan ----------------------------------------------------------------------- All: It seems that
2004 Jul 24
1
tc del filter troubles
hello, I have working 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
2002 Sep 20
2
u32 filter question
Hi guys I have a config as follows for one of my networks. I want to give the xxx.xxx.xxx.xxx/xx network 64kbit for everything from the internet but 8000kbit from our internal servers on yyy.yyy.yyy.yyy/yy network. It does not work. I only want to use u32 filters. I think what's happening is the first flowid of 1:21 is catching them and not getting to the 1:40 flowid. Is this right? The box
2007 Jun 14
0
tc: Trying to understand what I have done
Hi list, Up front: A bit sorry this post turned out a wee bit long I work as a system administrator for the Atlas College in the Netherlands. We are what is called a merger school consisting of 5 separate (more or less) locations and one central administration. The network is a class A network (10.0.0.0/8) in which all locations have there own subnet (i.e. 10.9.0.0/16 for the central
2007 Oct 24
0
Traffic shaping
I am using HTB for traffic shaping, my scenario is Eth1 is my local interface and I wan to shape bandwidth for IP 172.16.173.245. Now I want if any request from above IP comes its get 1mb speed and all others get 96kb speed, for this setup I make following script but it does not work. Can anyone help me ? htb script -------------- tc qdisc del dev eth1 root 2> /dev/null > /dev/null tc
2007 Feb 21
1
Problem with HTB and outgoing traffic
Hello, I''m using a script with tc, to limit my outgoing traffic : tc qdisc add dev eth0 root handle 1: htb tc class add dev eth0 parent 1: classid 1:1 htb rate 500kbit burst 6k tc filter add dev eth0 parent 1: protocol ip prio 1 u32 match ip dst 172.28.54.9 flowid 1:1 I want to test bandwidth with iperf to see if limitation is correct. Sometimes, I get correct measure for certain rates,
2004 Jan 11
1
HTB rates aren''t enforced correctly
Hi! I recently changed my qdisc from CBQ and PRIO to only HTB, and I can''t really seem to get the rates to work as I want them to. I have eight classes, which I set up as follows: tc qdisc add dev eth1 root handle 1: htb default 122 tc class add dev eth1 parent 1: classid 1:1 htb rate 1000kbit ceil 1000kbit cburst 1500 burst 50kb tc class add dev eth1 parent 1:1 classid 1:11 htb prio 0
2005 Feb 15
0
Help with bandwith control in a firewall/bridge machine
Hello again, First, excuse me for my poor english. I''m trying now to make bandwith control in a firewall machine running Shorewall. This machine is also a bridge using bridge-utils bridge-utils-devel. It is a mandrake 10. The configuration is something like this: FTP/Webserver ------| eth0 eth1 Mailserver
2005 May 08
1
tc/htb QoS script
hello folks, this is my first post to that list. so I hope I am not completely OT here :-) reading the (excellent!) lartc and then writing my own qos-script I have still some open questions which I will try to formulate now: - "Now we can optionally attach queuing disciplines to the leaf classes. If none is specified the default is pfifo." - I can''t find info about Pfifo.
2004 Oct 08
1
Ceiling question
Hi! I have a setup where I want to prefer traffic on one port (for testing purposes I used port 22) my setup is : tc qdisc add dev eth3 root handle 1: htb default 30 tc class add dev eth3 parent 1: classid 1:1 htb rate 96mbit burst 15k tc class add dev eth3 parent 1: classid 1:7 htb rate 2mbit burst 15k tc class add dev eth3 parent 1:1 classid 1:10 htb rate 96mbit burst 15k tc class add dev
2005 Feb 15
1
Bandwith Control with a firewall/bridge machine
Hello again, First, excuse me for my poor english. I''m trying now to make bandwith control in a firewall machine running Shorewall. This machine is also a bridge using bridge-utils bridge-utils-devel. It is a mandrake 10. The configuration is something like this: FTP/Webserver ------| eth0 eth1 Mailserver
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
2006 Mar 10
0
IMQ strange problem
Hi All, Please to advice me. I become crazy because i cannot find where can be problem. Obviously i miss something, but what ? I have Linux router for traffic control / ~400 users , 100 mbit bandwidth / . evereting was great until i try to implement IMQ for ingress shaping. Problem that i have is when i start follow iptables rule iptables -t mangle -A PREROUTING -i eth1 -j IMQ --todev 0 without
2004 Aug 17
0
can this work?
Hi. I''m newie using LARTC. I have some pc''s and one 512/192kbits conection. I do not want that one PC uses all the bandwidth available. I made this script to limit, but I need that the applications (web browsing, messenger with cam and audo , p2p, etc) in pc''s continue acceding normally Internet. Would work this script? what type of qdisc could be added to htb in
2004 Aug 18
0
HTB prio question
Hi all. I have a bridge running Linux 2.4.24 that I use as a bandwidth manager on a broadband wireless network. I''m using HTB and SFQ to prioritize that share bandwidth on a per-cell basis. My IP tables rules divide the traffic based on IPand traffic type (using layer-7 filter and ipp2p). My goal is to make sure that p2p traffic on the network doesn''t sink all of the
2005 Sep 28
1
Control Trafic
Hi ! I have an error in this script as it is not working and I can''t figure out what that is. Anyone can help? Thanks! #!/bin/bash ### unitati de masura pt debit # kbps - kilobytes per second # mbps - megabytes per second # kbit - kilbits per second # mbit - megabits per second EXT_IF="eth0" INT_IF="eth1" TC=/sbin/tc IPTABLES=/sbin/iptables # RATE
2004 Apr 06
0
hashing rule don''t match
Hi i have 2 class C 80.97.103.0/24 and 81.180.12.0/24 but i dont konw how to set hashing tables for HTB tc add dev eth0 parent 1: prio 0 handle 1: protocol ip u32 divisor 256 tc add dev eth0 parent 1: prio 0 protocol ip u32 match src 80.97.103.0/24 hashkey mask 0x000000FF at 12 link 1: but i want 2 hashkey for 80.97.103.0/24 and for 81.180.12.0/24 can somebody help me ? this is a part fo my
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 >
2006 Jan 30
1
Shared ADSL SHAPER
Hi, I''m trying to make a shaper / firewall to improve sharing of bandwidth on a ADSL (3mbit down / ½ mbit up) Since the ADSL is very asymmetric, down is unimportant, I make a ingress rate limit shaper to ensure, all shaping is at the Shaper, and not on the Router or the ISP. The Idea is then to make one HTB hierarchy and have each client (IP) filtererd and put in a child-HTB queue.
2007 Mar 20
3
Divide bandwidth between 4 groups of ip with the same rate
Hello, I have begun to use the tc scripts since 2 weeks ago, so I am beginner. I am trying to divide my bandwidth in 4 independent ones. Each of these sub-bandwidths is assigned to 4 different groups of ip. Bandwidth sharing is allowed. I put a Linux with two Ethernet card between the router and the LAN. Eth1 is the card connected to the router and eth0 is the one connected to the LAN. My ISP