First determine if you want the box to be a router or a bridge. bridge is default
assign an ip address to one ethernet port:
add ip.1 address.x.x.x.x
(this assumes that your ethernet port is the first port)
now you could administer the box through a web-browser.
but if you prefer command line :
Enable both input and output roots on the specific interface like this:
config cbq.1 traffic-class.root-input-tree row-status active
config cbq.1 traffic-class.root-input-tree row-status active
root-input-tree is for traffic with destination towards the interface, root-output-tree is for traffic leaving the interface.
If you want to set bandwidth for a block of IP addresses :
create a class below the root.
config cbq.1 traffic-class.nnnn src-ip-addresses 10.1.1.0-10.1.1.50 band-width-allocation 128000 parent root-input-tree
where "nnnn" is the name you assign to this class.
10.1.1.0-10.1.1.50 is the range of IP's you want to use
create a "default" class to catch all other traffic, this is required, even if you assign it 0 bandwidth.
config cbq.1 traffic-class.rest-default band-width-allocation 0 parent root-input-tree
you could also create similar classes for the root-output-tree, if you need to control the traffic in both input and output.
There are many, many powerfull possibilities with CBQ, I suggest you read the manual. If you don't have the manual, let me know and I'll email you a pdf.
regards,
peter
pfischer@atmit.com