Re: [LARTC] traffic shaping on single ip...

2004-04-08 Thread Roy
You cant control input traffic that way at all.   you need to use imq for inbound traffic control, or at least policers.   also cbq is very old and should be replaced with htb   - Original Message - From: Cristiano Soares To: [EMAIL PROTECTED] Sent: Thursday, April 08,

Re: [LARTC] First Post: Question on Ip Aliasing

2004-04-08 Thread Roy
nothing can go out through alias inetrface, alias is for input only. so everything is going through physical interface like eth0 if you are forwarding packets, then your interface ip is ignored anyway. (it is only used to translate ip to mac) if you want to shape localy generated trafic, then sour

RE: [LARTC] First Post: Question on Ip Aliasing

2004-04-08 Thread Daniel Chemko
Discussion Lists wrote: > Thank you for your response. You confirmed what I understood to be > how it works, but for some reason it isn't working like that, and I > can't understand why. The alias gets assigned through heartbeat, > during a failover, but traffic routes through that alias as if th

RE: [LARTC] First Post: Question on Ip Aliasing

2004-04-08 Thread Discussion Lists
Thank you for your response. You confirmed what I understood to be how it works, but for some reason it isn't working like that, and I can't understand why. The alias gets assigned through heartbeat, during a failover, but traffic routes through that alias as if there was no shaping going on at a

Re: [LARTC] Squid + shaping question

2004-04-08 Thread Radoslav Kolev
Hi, Teodor! Integrating squid with traffic control has been a big problem for all of us. Besides the options listed at the docum.org faq, there's a patch at http://sed.pl/~mrk/qos/, which is very similar to ZPH, unfortunately the page is available only in Polish, so it didn't become very popular

Re: [LARTC] Squid + shaping question

2004-04-08 Thread Evgeni Gechev
Short: you need zph patch. Detailed: you could use both, if you need. They just do different jobs. With the first patch you could control outgoing connections, i.e. communication between squid and web servers/peers. With the second patch (zph), you could control communication between squid and cl

[LARTC] traffic shaping on single ip...

2004-04-08 Thread Cristiano Soares
Hi all. Im using the following CQB shaper to shape IP addresses:   DEV=eth1 (internal eth)   tc qdisc del dev $DEV roottc qdisc add dev $DEV root handle 1: cbq avpkt 1000 bandwidth 100mbit tc class add dev $DEV parent 1: classid 1:1 cbq rate 256kbit allot 1500 prio 5 bounded isolatedtc class

Re: [LARTC] First Post: Question on Ip Aliasing

2004-04-08 Thread Jose Luis Domingo Lopez
On Thursday, 08 April 2004, at 06:53:27 -0700, Discussion Lists wrote: > I did a google search on this and didn't find exactly what I was looking > for. Suppose I have a machine that has an IP alias eth0:0. I have set > up HTB.init so that it properly throttles bandwidth on eth0, however > when

[LARTC] First Post: Question on Ip Aliasing

2004-04-08 Thread Discussion Lists
Hi All, I did a google search on this and didn't find exactly what I was looking for. Suppose I have a machine that has an IP alias eth0:0. I have set up HTB.init so that it properly throttles bandwidth on eth0, however when I use eth0:0, it doesn't work. I read elsewhere that it should work at

[LARTC] How to DSMARK locally generated traffic and then apply AFHTB?

2004-04-08 Thread TT TT
Hi fellow traffic-shapers, I am implementing a Diffserv CORE router using Linux kernel 2.4.18. I used this excellent website (http://www.opalsoft.net/qos/DS-38.htm) using AFHTB as a starting basis for my EGRESS diffserv implementation - and all works great so far!!! But my project has an addit

Re: [LARTC] setup fail-over with redhat9...

2004-04-08 Thread Damion de Soto
Hi Cristiano, I know that to make redundance work ill have to setup the ip route and ip rule in my system. To do that, i found a bash script called "NETSANE - http://muse.linuxmafia.org/netsane/";. I have to change somethings like interface of the first and second lines in netsane.conf. So, i d