Belajar management bandwith

Kata temenku begini

1. Menandai semua paket yang masuk dari Eth1 (lokal dari client)

/ip firewall mangle add chain=forward src-address=192.168.88.0/27 action=mark-connection new-connection-mark=procaster-icafe

/ip firewall mangle add connection-mark=procaster-icafe action=mark-packet new-packet-mark=pct-icafe chain=forward

2. Membuat queu Tipe dengan jenis PCQ untuk paket yang sudah di tandai masing-masing untuk source dan destination

/queue type add name=pct-dw kind=pcq pcq-classifier=dst-address

/queue type add name=pct-up kind=pcq pcq-classifier=src-address

3. Membuat Queue Tree Untuk paket upload dan download

/queue tree add name=pct-download parent=Eth1 max-limit=5M

/queue tree add parent=pct-download queue=pcq-download packet-mark=pct-icafe

/queue tree add name=pct-upload parent=Eth2 max-limit=5M

/queue tree add parent=pct-Upload queue=pcq-upload packet-mark=pct-icafe

0 komentar:

Post a Comment

http://www.hokynet.com http://www.hokynet.com http://www.hokynet.com http://www.hokynet.com http://www.hokynet.com http://www.hokynet.com