Page 1 of 1

More doubts with bandwidth limiting

Posted: Thu Feb 02, 2006 4:05 pm
by conchalnet
Hi all,

I've a simple queue for each customer to limit the download/upload.

I'm with three doubts:

1 - I'm trying to do the QoS for some services.
I'm doing the mangle of the packets and I think that is OK.
My doubt is how interface must I use in the simple queues of the QoS???
If I use the global-out interface the traffic don't flow throught the simple queues. Must I use the interface where the client is registred??? If I've more than one interface with clients will I must to have to duplicate the simple queues for each interface???

2 - I want to limit the bandwith for P2P upload of all my customers to 32kbps. I'm thinking to use a PCQ queue in the queue tree but I don't know how I can configure this. Can anyone tell me this with details???

3 - I want to limit the bandwidth for P2P download of SOME BAD CUSTOMERS that have very high trafic to 64kbps. I'm thinking in use the address list and put the IP address of these customers in it and do a queue tree to do the download limit using the PCQ. But I don't know how I can configure this too. Can anyone help me too???

Thanks in advance,

Fabrício F. Kammer

Posted: Thu Feb 02, 2006 9:46 pm
by hmekolli
name="Peer to Peer" target-addresses=0.0.0.0/0 dst-address=0.0.0.0/0 
      interface=all parent=none direction=both priority=8 
      queue=default/default limit-at=0/0 max-limit=64000/64000 
      total-queue=default time=9h-23h,sun,mon,tue,wed,thu,fri,sat p2p=all-p2p 



in queue simple.

Posted: Thu Feb 02, 2006 10:54 pm
by conchalnet
name="Peer to Peer" target-addresses=0.0.0.0/0 dst-address=0.0.0.0/0 
      interface=all parent=none direction=both priority=8 
      queue=default/default limit-at=0/0 max-limit=64000/64000 
      total-queue=default time=9h-23h,sun,mon,tue,wed,thu,fri,sat p2p=all-p2p 



in queue simple.
Hi hmekolli,

This rule will limit the bandwidth for 64kbps for all clients and not 64Kbps for each client...