Kim,
Well, I *think* the solution is a simple sysctl twiddle (see close to the
bottom), but I left my reasoning and research intact on the off-chance
that my method would benefit you or posterity reviewing this thread..
iptables mangle thoughts
- - - - - - - - - - - - -
I have line broken the ipt
Am having a problem with HTB. The following message is generated twice
every 4 minutes in syslog.
Mar 20 18:17:52 sale kernel: HTB: bad diff in events, cl=10011
diff=F1AB2000 now=4054360064 then=4294803456 j=115313989
The HTB rules are generated by:
/sbin/tc qdisc del dev wp1_fr16 root
/sbin/t
Where and how exactly do I tell that a HTB
class should use which phy. dev.?
>>> You can do this with iptables + fw filter. Mark the packets coming from
>>> each interface with a different mark and put the packets with the fw
filter
>>> in it's own class.
>>
>> But why do I need IMQ for
On Fri, 21 Mar 2003 23:38:17 +0100
"Kjell Chris. Flor" <[EMAIL PROTECTED]> wrote:
[ cut ]
> > > Where and how exactly do I tell that a HTB
> > > class should use which phy. dev.?
> > You can do this with iptables + fw filter. Mark the packets coming from
> each
> > interface with a different mark
> > Hi
> >
> > In the introduction of IMQ ( http://luxik.cdi.cz/~patrick/imq/ )
> > it sais:
> >
> > Quote start.
> > "This allows you to treat network devices
> > as classes and distribute bandwidth among
> > them as well as doing real ingress traffic
> > control using egress qdiscs"
> > quote sto
Hi there Kim,
: Thanks for the help, I got started but have a strange problem.
: According to the adv-multi-internet.html doc, I should set up a couple
: of simple rules, first the IP routing, which seems to be running
: smoothely, secondly, I have to set up the iptables rules as well, this
:
On Tuesday 18 March 2003 17:47, Martin A. Brown wrote:
> That's one approach, documented here:
>
> http://linux-ip.net/html/adv-multi-internet.html
>
Hi Martin,
Thanks for the help, I got started but have a strange problem. According to
the adv-multi-internet.html doc, I should set up a couple
On Mon, Mar 17, 2003 at 01:22:38AM +0100, Jirka Pirko wrote:
JP>is here anybody successfully running HTB + IMQ for ingress traffic?? i can't
JP>do it :(
JP>i'm using following commands:
JP># ifconfig imq0 up
JP># iptables -A PREROUTING -t mangle -i eth2 -j IMQ --todev imq0
I see mistake at line
Hi Abraham,
Thanks for the response. I should have mentioned that we are running OSPF.
If I'm not mistaken (and please correct me if I am!) you are suggesting how
we might configure the policy routing in R1. We got this far ourselves, but
the difficulty arises when one of our links (to B or C -
I found a way to do that.
You have to mark tha packet on the OUTPUT, make a rule for that mark
to go to where you want and you must set the tcp_outgoing_address in the
squid.conf file to match the IP address of the interface you want the squid
to start the connections from.
Hi Hocking!
I had this problem a few days ago (;
Create two routing tables for link B and link C. Add default gateways in
these tables for each link (and routes to your network if you use static
routing to route packets to R2/R3)
then add rules to enqueue packets destined for your network into t
Hi,
I have an interesting (well, it is to me!) situation involving policy
routing and VLANs.
Apologies if the description is long-winded. The network is as follows:
R2 B
/
/
/
---> A --- R1
\
\
Hi hare!
tc qdisc add dev eth0 root handle 1: htb default 2 r2q 10
tc class add dev eth0 parent 1: classid 1:1 htb rate 256kbps
tc class add dev eth0 parent 1:1 classid 1:2 htb rate 64kbps ceil 64kbps
tc qdisc add dev eth0 handle 2: parent 1:2 sfq perturb 10 limit 178
tc class add dev eth0 parent
Hi
i been working tc and htb, its good and iam able to achieve some of the
things what i required for me in my office
i have question here like this
i have total bandwidth 256kbps
we have a department finace and admin
i want to give a b/w of 64 both, either up or down to finance
and admin 128k
Hi;
I am working width a project intended for developing an adaptive class
based QoS system for Linux.
I have been struggling width a bug for a long time now. The bug has been
tracked to procedure tc_ctl_class() in file linux/net/sched/sch_api.c.
In this function there are a switch test, in order
15 matches
Mail list logo