Displaying 20 results from an estimated 7000 matches similar to: "simply limit interface bandwith"
2008 Mar 05
2
Shorewall & IFB
Hello Tom!
After i read and analyze some docs about IFB i decide that for implement
this feature in Shorewall not need more efforts (of course i may be wrong).
If we have 'ifb0' device then we must activate ingress discipline on real
device (f.e. eth2) and redirect 'egress' from it to 'ifb0'.
tc qdisc add dev eth2 ingress
tc filter add dev eth2 parent ffff: protocol ip
2004 Sep 03
3
traffic queueing and ipsec vpn
Hi all, ive been reading lartc howto, im new about traffic shaping/police.
As far as red (chapter 9 complete) i saw that first the packet passes at the
ingress qdisc, then it passes to the ip stack if the packet is directed to
the box or its forwarded (is my case), then it falls to the egress
classifier/s.
Now, i understand if i have an ipsec vpn at the outside interface, the
egress
2003 Jun 25
2
Combining ingress and egress ( IMQ+HTB)
I am successfully running ingress (IMQ) and egress (HTB) shaping on a
bridge.
Is there any way to combine and share the bandwidth between ingress and
egress?
Example:
I have set up www service for egress at 128 KB and ingress at 256 KB. The
shaping on them works fine separately. However, I want to create a single
virtual pipe for www traffic and limit both ingress and egress combined to
256 KB.
2004 Jul 06
7
Simply IMQ
I''ve followed this list for quite a long time and have even posted a couple
of times. I used the early versions of IMQ from Devik (I think that was his
name), and it worked well. I only ever got the chance to implement it in my
test environment. I now need to implement it in my production environment.
My Linux core router has nine interfaces and has a 27 megabit connection to
the
2003 Dec 02
2
forwarding in tcng
Hi!
I am learning tcng without having experiance of tc and I am trying to
build something that shall schedule traffic dependent on the value in the
IPv4 packets ip_ttl field.
I have read the tcng reference manual and cannot find information about
forwarding. Is it possible to farward packets from ingress to egress
without sending them upwards in layers?
2006 Jan 15
9
even bandwith for users on 2 newtworks
Server :
eth0 - internet DSL
eth1 - LAN
wlan0 - wireles LAN
I want server to share bandwith from eth0 evenly for users on eth1 and wlan0. How can i make it ? Is it possible ? As far as i know htb splits outgoing bandwith on one device only.
----------------------------------------------------
Grypa? Damy radę! Sprawdź jak jej zapowbiegać, a jeśli już za późno
...jak leczyć - grypa.wp.pl
2004 Apr 22
2
ingress policing based on source address?
Hi all
I''m new to this list, but not exactly to iproute stuff.
I''d like to solve a specific problem with bandwidth coming from
different external sources towards the internal network (also the other
way around, but I figure that''s not so much a problem, since that is
egress traffic shaping).
The network looks like this:
internet ------ ISP-------[shaping/router]
2004 Dec 20
2
How can I discern egress traffic than ingress traffic?
I have two interfaces, eth0 and eth1 but i can''t
discern the egress traffic than ingress traffic. I
need to apply htb qdisc in both directions, and I read
that I need the IMQ patch to do this, because in
ingress qdisc i can''t apply htb qdisc...but where is
the ingress qdisc? affect the traffic that goes from
eth0 to eth1 or is for the traffic that goes from eth1
to eth0?
2007 May 31
5
IFB & 802.1q
Hello
What I''m looking for is how to configure the Linux QoS module to do
global rate limitation for two (or more) 802.1q pseudo network devices.
I naturally suppose there is a possibility with IFB. I don''t want to use
IMQ because it''s not integrated to my kernel v2.6.21.1 and I didn''t find
IMQ patches for it nor for the iptables package I use (v1.3.7).
2006 Aug 14
3
tc and HTB
Hi,
I have a Debian that is connected to Internet in eth0, and to a LAN in
eth1. I wanted to control traffic with HTB, dividing it depending on
what kind of traffic is (Mail, Application Server and others).
Would it be good to use HTB qdisc in eth0 egress to control outgoing
traffic and HTB qdisc in eth1 egress to control incoming traffic? Or
the only way to control incoming traffic is with eth0
2003 Jun 06
4
tc show error for ingress
Hi,
I am trying to do both ingress and egress bandwidth management on a bridge.
eth0 is the WAN interface. IPTraf shows that the following script is running
successfully and it limits bandwidth both ways to 256 KB
However when I want to see the statistics using tc - it only shows me stats
for htb class
and not for ingress class. The tc output is as follows:
tc -s -d class show dev eth0
class
2004 Jan 27
3
tncg and bandwidth limiting
I''m trying to do some very simple rate-shaping on an interface. I want to
limit my 100baseT interface to 7 megs both ingress and egress of the
interface. I''ve been hacking my way through the documentation and some
examples and I''ve come up with the following configuration for tcng that
seems to do what I want.
I''m curious if some of the other experts out
2004 May 06
3
tcng ingress policing question
Hi all
I started playing with tcng to generate my tc rules, but I have some
difficulty implementing my rules...
The script below generates an error:
# Device eth0
tc qdisc add dev eth0 ingress
beginner.tc:2: don''t know how to build meter for this
The script is below, I changed the real IP numbers for XXs and YYs,
since it doesn''t really matter what they are. eth0 is the
2007 Mar 28
4
modprobe ifb
I''m trying to set up a traffic control on ingress attaching a egress qdisc to
the ifb device. The idea is to use a RED algorithm instead of policing
the incoming traffic. After trying with tc-red and not obtaining the
expected results, I decided to try with something easier, and use htb
as bottleneck:
ifconfig ifb0 up
tc qdisc del dev $dev ingress
tc qdisc del dev ifb0 root
tc qdisc add
2004 Apr 24
9
newbie: TC[NG] with (256kbit/s down and 768kbit/s up) on a router
Hi all,
this is really not really very easy to understand, or, to get in.
Well, I''ve the following configuration on the router box:
LAN
- interface: eth0
- network: 192.168.2.5/24
- bandwidth: 100Mbit/s
INET interface
- interface: ppp0
- network: .dynamic.ip./0
- bandwidth: DOWN=1536kbit/s and UP=256kbit/s
the LAN interface is to serve 6 other clients with internet and
2005 Nov 11
6
action redirect and dummy interface
Hello i have some problems on 2.6.14 kernel dummy and iproute :)
i have server with 2 nics :
eth0 <> inet
eth1 <> lan
dummy0 (i want to shape incoming traffic from lan machine on this interface)
my config:
tc qdisc del dev dummy0 root
tc qdisc add dev dummy0 root handle 1: htb
tc class add dev dummy0 parent 1: classid 1:1 htb rate 100kbit ceil 100kbit
tc class add dev dummy0
2006 Mar 30
5
packet marking: only a ratio, not all
Hi all!
In short:
Anybody wrote a patch for DSMARK to make it capable of marking
only a ratio (a given arg to the tc command) of the packets it gets?
Say, 20%? Or, do I have to hack into the source? Alternatives,
like a filter spitting packets to 2 different DSMARK based on this ratio?
In long:
I''m a hungarian univ student involved in a project (RMD-QoS stuff)
which needs
2005 May 14
1
Need some help
Hi all, I have read the larc howto and I need to apply a traffic shaper
with this configuration:
router / two interface etho and eth1
lan
lan is on eth1 and on eth0 I''ve the dsl connection (1.2 Mbit / 256 kbit)
I need to limit the bandwith towards lan and I''ve thought at HTB and
tcng. I write the script belove. I want limit the p2p and ftp (ssh and
irc) connection at 15
2023 May 09
1
[Bridge] [RFC PATCH net-next 3/5] flow_offload: Reject matching on layer 2 miss
Adjust drivers that support the 'FLOW_DISSECTOR_KEY_META' key to reject
filters that try to match on the newly added layer 2 miss option. Add an
extack message to clearly communicate the failure reason to user space.
Example:
# tc filter add dev swp1 egress pref 1 proto all flower skip_sw l2_miss true action drop
Error: mlxsw_spectrum: Can't match on "l2_miss".
We have
2002 May 21
5
ingress and egress
ingress can be used to control the incoming packet,
such as:
tc qdisc add dev eth0 handle ffff: ingress
tc filter add dev eth0 parent ffff: protocol ip prio 5
u32 match ip src 172.16.1.11 police rate 10kbit burst
10k drop flowid :1
tc filter add dev eth0 parent ffff: protocol ip prio 5
u32 match ip src 172.16.1.22 police rate 10kbit burst
10k drop flowid :2
first ,I do not sure these method can