[ask] when to use global-in, global-out, and global-total??
If you installed RouterOS just now, and don't know where to start - ask here!

1 post   •   Page 1 of 1
User avatar
chrone
Frequent Visitor
Frequent Visitor
 
Posts: 79
Joined: Fri Mar 28, 2008 8:16 am
Location: planet earth

[ask] when to use global-in, global-out, and global-total??

by chrone » Tue Apr 15, 2008 4:58 am

dear all,

i'm confuse in choosing parent for my pcq quee tree :( i'm using 2 isps and 1 lan so it will be (2 public interfaces, and 1 local interfaces.

the best setting i could get is to set the download queue to parent global-out (as a replacement to the parent local) and set each public interfaces as parent to my upload queue.

when to use global-in, global-out, and global-total?

here's some of my configuration;

/ip firewall mangle print:
Code: Select all
3   ;;; indosat routing mark
     chain=prerouting src-address-list=indosat action=mark-routing
     new-routing-mark=indosat passthrough=no

 4   ;;; speedy routing mark
     chain=prerouting src-address-list=speedy action=mark-routing
     new-routing-mark=speedy passthrough=no

 5   ;;; indosat connection mark
     chain=forward routing-mark=indosat action=mark-connection
     new-connection-mark=indosat-connection passthrough=yes

 6   ;;; indosat packet mark
     chain=forward connection-mark=indosat-connection action=mark-packet
     new-packet-mark=indosat passthrough=no

 7   ;;; speedy connection mark
     chain=forward routing-mark=speedy action=mark-connection
     new-connection-mark=speedy-connection passthrough=yes

 8   ;;; speedy packet mark
     chain=forward connection-mark=speedy-connection action=mark-packet
     new-packet-mark=speedy passthrough=no


/ip firewall nat print
Code: Select all
 2   ;;; indosat
     chain=srcnat out-interface=indosat src-address=192.168.1.0/24
     action=masquerade

 3   ;;; speedy
     chain=srcnat out-interface=speedy src-address=192.168.1.0/24
     action=masquerade


/queue type print
Code: Select all
5 name="pcq-download" kind=pcq pcq-rate=0 pcq-limit=50
   pcq-classifier=dst-address pcq-total-limit=2000

 6 name="pcq-upload" kind=pcq pcq-rate=0 pcq-limit=50
   pcq-classifier=src-address pcq-total-limit=2000


/queue tree print
Code: Select all
 0   name="indosat-download" parent=global-out packet-mark=indosat limit-at=0
     queue=pcq-download priority=8 max-limit=512000 burst-limit=0
     burst-threshold=0 burst-time=0s

 1   name="speedy-download" parent=global-out packet-mark=speedy limit-at=0
     queue=pcq-download priority=8 max-limit=384000 burst-limit=0
     burst-threshold=0 burst-time=0s

 2   name="indosat-upload" parent=indosat packet-mark=indosat limit-at=0
     queue=pcq-upload priority=8 max-limit=512000 burst-limit=0
     burst-threshold=0 burst-time=0s

 3   name="speedy-upload" parent=speedy packet-mark=speedy limit-at=0
     queue=pcq-upload priority=8 max-limit=64000 burst-limit=0
     burst-threshold=0 burst-time=0s
everytime i get ahead, i feel more dead.

1 post   •   Page 1 of 1

Who is online

Users browsing this forum: No registered users and 11 guests

It is currently Sun Dec 21, 2014 7:01 am