Fridtjof Busse skrev:
Hi
Since I didn't get any reply to my initial question, I'll try to be a
bit more specific:
I've got a machine with three interfaces: One is my SDSL-link and the
other two are internal. One of the internal interfaces is wired, the
other one wireless, using OpenVPN (i.e. tun0).
Queueing of traffic leaving the machine is easy, but is there any way
to queue incoming traffic without cutting the available bandwidth in
half (50% for each interface)? I found a suggestion about using lo1 and
binat, but I don't really know how to do that.
E.g., I need to make sure that VOIP-traffic arriving via the wired
interface is priorised over all other traffic, even the one that is
going to the wireless network. Otherwise, I get heavy distortions if
the wireless-net uses much bandwidth.
Any way to do this? Maybe bridging? I prefer routing, but I'm grateful
for anythin... :)
Thanks.
since nobody else seems to have an answer i'll suggest one thing to try:
maybe you could think of it as three separate steps, where arriving
traffic from the outside:
a) is deprioritized if not voip, then
b) gets routed/NATed, then
c) can be queued again individually for the internal nets according to
other demands.
how?
you can't queue arriving traffic on the outside interface since it is
already there. this means you might want to think of it as two systems
where the most exterior does (a) on it's inside interface and the more
interior one does (b) and (c) on the two internal network interfaces.
now maybe you could do this within one box using the outside interface
and lo1 as a bridge, thus doing step (a) on lo1.
then do routing/NAT between lo1 (as the new "exterior" interface) and
the internal interfaces like you probably already do, as well as other
miscellaneous queueing.
please report back if you succeed.
/kami