You have to define a class having rate and ceiling 1024 kbps ( Kilobytes if you want kilobits make its kbits ) in order not to exceed this limit.
Then you have to create two subclasses for the two networks by having as rate 512 and ceiling 1024. Then you must make the apropriate filters that will classify the traffic in the right flows.
All theese for eth0.
So when the 192.168.1.0 is idle 192.168.2.0 will allocate all the 1024 kbps bandwidth but when both will have traffic then they will take 512 each.
rio@xxxxxxxxx wrote:
Dear folks, Here goes my bandwidth manager:
INTERNET | |eth0 202.14.41.1 BW.Manager | | | +----eth1----192.168.1.0/24 | +------eth2----192.168.2.0/24
Total incoming bandwidth to eth0 is 1024kbps should be shared to eth1 and eth2, which mean each get 512Kbps and burstable to 1024Kbps if other host is idle.
My question is how do i apply HTB to these situation ? As far as i know eth1 and eth2 should be define as parent and cannot be as children.
Regards, Rio Martin.
-------------------------------------------------------------------- mail2web - Check your email from the web at http://mail2web.com/ .
_______________________________________________ LARTC mailing list / LARTC@xxxxxxxxxxxxxxx http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/