Back to the initial query; if there was some way to to route all packets
through a single interface, there would then be a single queuing discipline
instance and therefore an aggregation.
You might be able to do something in iproute2 with multiple routing tables.
Try this:
Mark all the packets which you want to enforce the aggregate shaping on as
they arrive. Have routing table that will apply to packets that have that
mark which will direct them all to the loopback device.
Re/un-mark the packes on ingres to the loopback so they will use the regular
routing table. Set up shaping on the loopback for those packets to they
become bandwidth capped inside the router.
I have no idea if it will work, I've done the multiple routing tables thing
and it works great but in that case, I was working with ethernet devices.
Received on Sun Jul 23 15:18:06 2006
This archive was generated by hypermail 2.1.8 : Fri Sep 08 2006 - 23:26:38 CST