On 02/03/2013 06:06 PM, Neil Aggarwal wrote:
I would like to limit the bandwidth available to a guest. I tried using the tc command, but it is only limiting the download speed to the guest.
TC is fairly complex, and only really effectively limits speed sent. If you want to limit the upload speed of a guest, you'd put the rules on the interface that hosts the default route for traffic from the guest.
Shorewall does a reasonably good job of dealing with most of the complexity of tc under Linux.