[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Tuntap, iproute2, UML



Hi,

I use iproute2 to split the bandwidth on the connection to the Internet.
Currently I use two machines to get the expected result; ie: to get
speed-limited connections from the Internet to three Squid proxies (the
limiter is in the gw machine, and the proxies in an internal machine[*]),
since the limiter is working by limiting the traffic that goes out on a
particular network interface.

                +----- proxy1-->clients
[Internet]----[gw]---- proxy2-->clients
                +----- proxy3-->clients

Proxy 1,2,3 are in a single machine.
Question is, if I were replaced the internal machine using an UML
(user-mode Linux) machine and got it running on the gw machine (as the
intermediate machine to split the bandwidth), would I get the same effect?
ie: the bandwidth limiter would work even though it is splitting bandwidth
by working on a single interface.

Thanks in advance,
Oki
[*]: well, not quite like that; actually two proxies run on the gw, and by
using a port forwarder I can get the same result as in the picture.




Reply to: