Hi all,

        I'm willing to implement altq on my firewall but, right know, there is
a problem that i didn't saw a solution for. I do have 2 ADSL links, and
I'm doing load balancing for outgoing connections, using the round-robin
option, and I'm also using the reply-to option to route back the packets
that come in my secondary link (the one that isn't the default gateway
of my firewall). Know to the problem. To implement altq in places with
only one link, i do the following: set the bandwidth of the interface to
it's maximum, in this case, 100Mb. Then, i set up 2 queues. One for deal
with the traffic to firewall itself. Things as dhcp queries and ssh.
This queue is configured with the max bandwidth minus the ADSL
downstream bandwidth. So, there is one queue with 99.5MB, and other with
0.5Mb, for example. All traffic from internal network to the firewall
itself, is put in the larger queue, and the traffic going to the
internet is divided into another sub queues, but the point is that
traffic not to the firewall is directed to another queue.

        I already had success with this kind of setup, with one link. Know to
my problem. My 2 ADSL had different downstream bandwidth. And, as i'm
using round-robin, i don't know where the connection is going. I don't
kndow how to implement altq in this especific situation. I was thinking
in something like: one queue for "normal" traffic to the firewall
itself, with 99.2Mb. And two other queues with 0.5Mb and 0.3Mb
respectively. But i don't know if this work, because i can assign only 1
queue per rule. And, with round-robin, i don't know where the packet is
going.

Thanks in advance,
--
Giancarlo Razzolini
Linux User 172199
Moleque Sem Conteudo Numero #002
Slackware Current
OpenBSD Stable
Snike Tecnologia em Informatica
4386 2A6F FFD4 4D5F 5842  6EA0 7ABE BBAB 9C0E 6B85

[demime 1.01d removed an attachment of type application/pgp-signature which had 
a name of signature.asc]

Reply via email to