Page 1 of 1

Simple Queue question - 3 networks using parent

Posted: Wed Dec 19, 2007 3:08 pm
by natanielklug
Hello all,

I am trying to make a simple queue work and I am having no sucess. The topology is like this:

- I have 3 network cards: "wan", "lab" and "adm"

- The interface named "wan" get the link from the isp

- The interfaces "lab" and "adm" has address and (respectvely) and I have put a DHCP server on each one to serve ips for the clients

- Both networks have a nat to outside world

Now I need to share a 600/300 Kbps band among the two internal interfaces but I need that the network "adm" can get all the bandwidght it needs and, only if thare is band left, lab can get to a top 200/100 Kbps. I have made something like this:
[] > /queue simple print 
Flags: X - disabled, I - invalid, D - dynamic 
 0    name="santana" dst-address= interface=all parent=none priority=2 queue=default/default limit-at=600000/300000 max-limit=600000/300000 

 1    name="adm" target-addresses= dst-address= interface=evisa parent=santana priority=4 queue=default/default limit-at=0/0 
      max-limit=0/0 total-queue=default 

 2    name="lab" target-addresses= dst-address= interface=evisa_lab parent=santana priority=8 queue=default/default 
      limit-at=200000/100000 max-limit=200000/100000 total-queue=default
But this is not working. Can someone give a me hint how to make this works?