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 192.168.1.0/24 and 192.168.0.0/24 (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:
[admin@evisa.cnett.com.br] > /queue simple print
Flags: X - disabled, I - invalid, D - dynamic
0 name="santana" dst-address=0.0.0.0/0 interface=all parent=none priority=2 queue=default/default limit-at=600000/300000 max-limit=600000/300000
total-queue=default
1 name="adm" target-addresses=192.168.0.0/24 dst-address=0.0.0.0/0 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=192.168.1.0/24 dst-address=0.0.0.0/0 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?