Displaying 20 results from an estimated 3000 matches similar to: "invoking ebtables with tc"
2007 Jan 31
1
tc act ipt errors
Hi all,
I''m having a hell of a time getting tc and IFBs to co-operate.
I''ve copied the following from http://linux-net.osdl.org/index.php/IFB:
--
export TC="/sbin/tc"
$TC qdisc add dev ifb0 root handle 1: prio
$TC qdisc add dev ifb0 parent 1:1 handle 10: sfq
$TC qdisc add dev ifb0 parent 1:2 handle 20: tbf rate 20kbit buffer 1600 limit 3000
$TC qdisc add dev ifb0
2006 Sep 01
1
TC not recognising "mirred" argument
Hi All,
I''m trying to do some traffic shaping with IFB. I have installed Ubuntu
6.0.6 and upgraded to the 2.6.17.7 kernel. I have an ifb0 device.
However, I think I may have the wrong version of TC installed, because
it doesn''t like the ''mirred'' argument.
What version of iproute should I be using, and how can I upgrade it?
apt-get update iproute
2007 Apr 30
1
Maximum number of tc handles?
Hi all,
Can anybody tell me what the maximum number of handles are that I can
use when setting up qdiscs and classes in tc?
Regards,
Leigh
Leigh Sharpe
Network Systems Engineer
Pacific Wireless
Ph +61 3 9584 8966
Mob 0408 009 502
Helpdesk 1300 300 616
email lsharpe@pacificwireless.com.au
web www.pacificwireless.com.au
_______________________________________________
LARTC
2007 Dec 06
1
Setting max latency on classful qdiscs
Hi All,
I''m using HTB to shape traffic, a little like this:
tc qdisc add dev eth2 root handle 1:0 htb
tc qdisc add dev eth3 root handle 1:0 htb
tc filter add dev eth2 parent 1: protocol 0x8100 prio 5 u32 match u16
3000 0x0fff at 0 flowid 1:1 action ipt -j MARK --or-mark 0x01000000
tc filter add dev eth3 parent 1: protocol 0x8100 prio 5 u32 match u16
3000 0x0fff at 0 flowid 1:1 action
2006 Sep 01
1
multiple IFBs
Hi all,
Further to my previous questions, I need lots of IFBs on this thing.
I have configured IFB as a module, and issuing a modprobe ifb loads it,
but only gives me 2 IFBs (ifb0 and ifb1). How can I get more? I''m
probably looking at needing about 20 on this project.
Regards,
Leigh
Leigh Sharpe
Network Systems Engineer
Pacific Wireless
Ph +61 3 9584 8966
Mob 0408 009
2006 Oct 18
1
changing 802.1p priority
Hi All,
Is it possible to mangle the 802.1p priority bit on a packet as it gets
bridged? I can''t find anything in either the iptables or ebtables docs
to tell me how it''s done.
Regards,
Leigh
Leigh Sharpe
Network Systems Engineer
Pacific Wireless
Ph +61 3 9584 8966
Mob 0408 009 502
email lsharpe@pacificwireless.com.au
web www.pacificwireless.com.au
2007 Apr 04
4
Some advanced filtering questions
Hi All,
I need to do some tricky filtering stuff. Can anyone tell me if any of
the following are possible?
* match on a combination of firewall mark AND u32 criteria. ie. handle
6 fw AND u32 match ip src 1.2.3.4/32 - to match packets from 1.2.3.4
which have been marked elsewhere
OR
* to OR the values of u32 matches. Something like u32 match ip src
1.2.3.4/32 OR match ip dst 1.2.3.4/32 - to
2006 Aug 28
4
Applying the same class to multiple interfaces
Hi All,
I''m trying to do some traffic shaping on an ethernet bridge. Currently,
I have the following setup working:
ifconfig eth0 down
brctl addbr br0
brctl addif br0 eth0
brctl addif br0 eth1
brctl stp br0 off
ifconfig eth0 0.0.0.0 up
ifconfig eth1 0.0.0.0 up
ifconfig br0 up
This creates a bridge consisting of eth0 and eth1. So far so good.
I now want to use tc to shape traffic
2007 Dec 05
3
Adding qdiscs crashes kernel??
Hi all,
I''m having some problems setting up qdiscs on a bridge.The config looks
a little like this:
ifconfig ifb0 up # Bring up the IFB for this bridge.
tc qdisc add dev eth2 ingress
tc qdisc add dev eth3 ingress
tc qdisc add dev ifb0 root handle 1:0 cbq bandwidth 100Mbit avpkt 1000
cell 8
# Raw qdiscs on each bridge port
tc qdisc add dev eth2 root handle 1:0 cbq bandwidth
2007 May 02
0
Cbq and max latency
Hi All,
Is there any way to set the maximum latency on a cbq when it is
overloaded?
Or, for that matter, to query it?
For example, I want to know how long (in seconds) a packet will stay in
the queue before it is dropped, and I want to be able to adjust this
figure.
Regards,
Leigh
Leigh Sharpe
Network Systems Engineer
Pacific Wireless
Ph +61 3 9584 8966
Mob 0408 009 502
2007 Jan 31
0
U32 VLAN Header match
Hi all,
Is is possible to configure the u32 classifier to match on VLAN ID? Or
any other bits in the 802.1 header for that matter?
If so, can anybody tell me how? Or where to find out how?
Regards,
Leigh
Leigh Sharpe
Network Systems Engineer
Pacific Wireless
Ph +61 3 9584 8966
Mob 0408 009 502
email lsharpe@pacificwireless.com.au
web www.pacificwireless.com.au
2006 Sep 07
1
Rate limits whithin rate limits
Hi all,
I''m sure I''m soing something wrong here.
I am trying to set up a rate limit inside another rate limit.
eg. I have a 512K rate limit on a particular VLAN. I am using an IFB so
that packets passing through the bridge are counted at each port.(ie the
throughput is limited to 512K, not just the traffic in one direction.)
This part works OK, but I also want to limit a
2007 Mar 28
7
(no subject)
Hi all,
I''m having a hell of a time getting my IFB to work. I know I''ve done
this before, so I''m missing something stupid. Can anybody tell me what
it might be?
Configs as follows:
--------
#!/bin/sh
modprobe ifb numifbs=1000
modprobe act_mirred
modprobe 8021q
brctl addbr br0
brctl setfd br0 0
brctl stp br0 off
brctl addif br0 eth1
brctl addif br0 eth2
ifconfig eth1
2006 Nov 07
5
linux-2.4.22 + bridge + traffic control by MAC.
Dear all,
I am working on a linux box (2.4.22 kernel) which is used as a
bridge. And I want to add traffic control rules on it by client''s MAC.
Does anyone has such experience on how to do that? Thank you very
much!!
Best regards,
Henry
_______________________________________________
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc
2008 Feb 12
2
[Bridge] Bridge and iptables
Hi,
I am using linux kernle-2.6.15, iptables-1.4 and bridge-utils-1.4.
Everything intslled without any issue and i am able to enable the
bridge and traffic is also flowing without any issue.
But i did not see any traffic on the iptables forward chain due to
which i am not able to control the traffic.
Do i requie enable anything more to make the traffic pass through
iptables forward chain.
2008 Mar 07
7
[Bridge] bridge, vlan and *no* stp/bpdu
Hello list,
I've posted here about this before, but I realise that it may have been
assumed that the bridged vlans simply put a switch port in a blocking
state and left my question ignored. So to recap.
I have two tg3 interfaces named 'in' and 'out' and a bridge named 'br0'
My vlan trunk is on the 'in' side of the network, and set as in.2, in.3
... The
2006 Sep 04
7
SPITS 0.0.9b
Hello list,
I''ve been using linux and open source software for over 5 years now and
I want to give something back to the community.
I''m working on a PHP-based project (SPITS). The aim of this project is
to easly create a shaping script, using a web interface, without needing
to know tc and iptables command line options.
As the project is now in beta stage, soon a CSS
2006 Sep 14
10
tc is giving an error: RTNETLINK answers: File exists
Hello,
I''m using tc to limit the bandwidth of our wireless customers. I have a
working script, but I''m not happy with it. I''m trying to write a more
sophisticated script, but when I run it, it give me this error:
RTNETLINK answers: File exists
I have no idea what this error means or how to fix it. Here is a portion
of the script (the whole script shapes several
2008 Sep 24
1
[Bridge] bridge is not forwarding the packet
Hi Rahul,
If you're certain that your problem isn't as Stephen suggested, you
might want to have a look at this:
---
(From http://ebtables.sourceforge.net/brnf-faq.html
<http://ebtables.sourceforge.net/brnf-faq.html> )
How do I let vlan-tagged traffic go through a vlan bridge port and the
other traffic through a non-vlan bridge port?
Suppose eth0 and eth0.15 are ports of br0.
2005 Jan 31
1
tc, VLAN, ebtables issue
Hi all,
I am testing one QOS system, I want to control bandwidth by VLAN id.
Here is my test network:
Internet Gateway
|
|
QOS control box ( Bridge box, Redhat 9, 2.4.28 kernel with
ebtables-brnf-8_vs_2.4.28 patch)
|
|
VLAN Switch
|
|
PC PC
In my QOS control box, it is a bridge box, I used Redhat 9, 2.4.28
kernel with ebtables-brnf-8_vs_2.4.28