Mikrotik Bandwidth Control
ether1 -pierwszy klient
ether2 - drugi klient
ether3 - trzeci klient
ether4 - internet
przydzielanie na karte sieciowa
regulka dla wszystkich
/queue type add name=pcq-download kind=pcq
/queue type add name=pcq-upload kind=pcq
regulka dla pierwszego klienta
/ip firewall mangle add chain=forward in-interface=ether1 action=mark-connection
new-connection-mark=user1-con
/ip firewall mangle add connection-mark=user1-con action=mark-packet
new-packet-mark=user1 chain=forward
/queue tree add name=Download-user1 parent=ether1 max-limit=1024000
/queue tree add parent=Download-user1 queue=pcq-download packet-mark=user1
/queue tree add name=Upload-user1 parent=ether4 max-limit=131072
/queue tree add parent=Upload-user1 queue=pcq-upload packet-mark=user1
regulka dla drugiego klienta
/ip firewall mangle add chain=forward in-interface=ether2 action=mark-connection
new-connection-mark=user2-con
/ip firewall mangle add connection-mark=user2-con action=mark-packet
new-packet-mark=user2 chain=forward
/queue tree add name=Download-user2 parent=ether2 max-limit=2048000
/queue tree add parent=Download-user2 queue=pcq-download packet-mark=user2
/queue tree add name=Upload-user2 parent=ether4 max-limit=262144
/queue tree add parent=Upload-user2 queue=pcq-upload packet-mark=user2
regulka dla trzeciego klienta
/ip firewall mangle add chain=forward in-interface=ether3 action=mark-connection
new-connection-mark=user3-con
/ip firewall mangle add connection-mark=user3-con action=mark-packet
new-packet-mark=user3 chain=forward
/queue tree add name=Download-user3 parent=ether3 max-limit=2048000
/queue tree add parent=Download-user3 queue=pcq-download packet-mark=user3
1 / 2
Mikrotik Bandwidth Control
/queue tree add name=Upload-user3 parent=ether4 max-limit=262144
/queue tree add parent=Upload-user3 queue=pcq-upload packet-mark=user3
przydzielanie po ip
regulka dla wszystkich
/queue type add name=pcq-download kind=pcq pcq-classifier=dst-address
/queue type add name=pcq-upload kind=pcq pcq-classifier=src-address
regulka dla pierwszego klienta
/ip firewall mangle add chain=forward src-address=192.168.20.51 action=mark-connection
new-connection-mark=user1-con
/ip firewall mangle add connection-mark=user1-con action=mark-packet
new-packet-mark=user1 chain=forward
/queue tree add name=Download-user1 parent=wlan1 max-limit=1024000
/queue tree add parent=Download-user1 queue=pcq-download packet-mark=user1
/queue tree add name=Upload-user1 parent=ether1 max-limit=131072
/queue tree add parent=Upload-user1 queue=pcq-upload packet-mark=user1
przydzielanie po MAC
regulka dla wszystkich
/queue type add name=pcq-download kind=pcq pcq-classifier=dst-address
/queue type add name=pcq-upload kind=pcq pcq-classifier=src-address
regulka dla pierwszego klienta
/ip firewall mangle add chain=forward src-mac-address=00:14:78:eb:44:36
action=mark-connection new-connection-mark=user1-con
/ip firewall mangle add connection-mark=user1-con action=mark-packet
new-packet-mark=user1 chain=forward
/queue tree add name=Download-user1 parent=wlan1 max-limit=1024000
/queue tree add parent=Download-user1 queue=pcq-download packet-mark=user1
/queue tree add name=Upload-user1 parent=ether1 max-limit=131072
/queue tree add parent=Upload-user1 queue=pcq-upload packet-mark=user1
2 / 2
Wyszukiwarka
Podobne podstrony:
Controle p2P Mikrotikcontrol structures continue12 control statements02 ZELIO CONTROL?TALOGUETest di controlloco ControlPortC6401 52 Check control module 01controlled boxesmikrotel 2 6 instrukcja2001 01 Know How Commandline Control of Babelfish Translation ServiceCauses and control of filamentous growth in aerobic granular sludge sequencing batch reactorsplan project configuration change control?F019DF05b E65 Remote Control Serviceswięcej podobnych podstron