jawug info
NodeDBCore Team
Donate
How-To's
Forum
IRC by browser (NEW!)
JAWUG|
|
Proposal for QoS configuration on nodes
Overview
ClassificationsPools
Applications
Packet Marking ImplementationPackets will need to be marked. This is how we'll tell other routers how to deal with certain packets.
LinuxWe can use iptables to acheive this, using the TOS target. The TOS target works only in the mangle table. Mikrotik/ ip firewall mangle add chain=prerouting protocol=tcp dst-port=22 action=change-tos new-tos=max-reliability comment="" disabled=no / ip firewall mangle add chain=prerouting protocol=tcp dst-port=23 action=change-tos new-tos=max-reliability comment="" disabled=no / ip firewall mangle add chain=prerouting protocol=udp dst-port=5060 action=change-tos new-tos=min-delay comment="" disabled=no / ip firewall mangle add chain=prerouting protocol=udp dst-port=4569 action=change-tos new-tos=min-delay comment="" disabled=no / ip firewall mangle add chain=prerouting protocol=tcp dst-port=4569 action=change-tos new-tos=min-delay comment="" disabled=no / ip firewall mangle add chain=prerouting protocol=ospf action=change-tos new-tos=max-reliability comment="" disabled=no / ip firewall mangle add chain=prerouting protocol=icmp action=change-tos new-tos=max-reliability comment="" disabled=no / ip firewall mangle add chain=prerouting protocol=tcp dst-port=6667 action=change-tos new-tos=max-reliability comment="" disabled=no / ip firewall mangle add chain=prerouting protocol=tcp dst-port=6668 action=change-tos new-tos=max-reliability comment="" disabled=no / ip firewall mangle add chain=prerouting protocol=tcp dst-port=6697 action=change-tos new-tos=max-reliability comment="" disabled=no / ip firewall mangle add chain=prerouting protocol=tcp dst-port=7324 action=change-tos new-tos=max-reliability comment="" disabled=no / ip firewall mangle add chain=prerouting protocol=tcp dst-port=7325 action=change-tos new-tos=max-reliability comment="" disabled=no / ip firewall mangle add chain=prerouting protocol=tcp dst-port=4711 action=change-tos new-tos=max-reliability comment="" disabled=no / ip firewall mangle add chain=prerouting protocol=tcp dst-port=27901 action=change-tos new-tos=max-reliability comment="" disabled=no / ip firewall mangle add chain=prerouting protocol=tcp dst-port=28910 action=change-tos new-tos=max-reliability comment="" disabled=no / ip firewall mangle add chain=prerouting protocol=tcp dst-port=29900 action=change-tos new-tos=max-reliability comment="" disabled=no / ip firewall mangle add chain=prerouting protocol=tcp dst-port=29901 action=change-tos new-tos=max-reliability comment="" disabled=no / ip firewall mangle add chain=prerouting protocol=udp dst-port=27900 action=change-tos new-tos=max-reliability comment="" disabled=no / ip firewall mangle add chain=prerouting protocol=udp dst-port=29900 action=change-tos new-tos=max-reliability comment="" disabled=no / ip firewall mangle add chain=prerouting protocol=udp dst-port=25123-25125 action=change-tos new-tos=max-reliability comment="" disabled=no / ip firewall mangle add chain=prerouting protocol=udp dst-port=16567 action=change-tos new-tos=max-reliability comment="" disabled=no / ip firewall mangle add chain=prerouting protocol=udp dst-port=27910 action=change-tos new-tos=max-reliability comment="" disabled=no / ip firewall mangle add chain=prerouting protocol=udp dst-port=27950 action=change-tos new-tos=max-reliability comment="" disabled=no / ip firewall mangle add chain=prerouting protocol=udp dst-port=27952 action=change-tos new-tos=max-reliability comment="" disabled=no / ip firewall mangle add chain=prerouting protocol=udp dst-port=27960 action=change-tos new-tos=max-reliability comment="" disabled=no / ip firewall mangle add chain=prerouting protocol=udp dst-port=27965 action=change-tos new-tos=max-reliability comment="" disabled=no / ip firewall mangle add chain=prerouting protocol=tcp dst-port=27950 action=change-tos new-tos=max-reliability comment="" disabled=no / ip firewall mangle add chain=prerouting protocol=tcp dst-port=27952 action=change-tos new-tos=max-reliability comment="" disabled=no / ip firewall mangle add chain=prerouting protocol=tcp dst-port=27960 action=change-tos new-tos=max-reliability comment="" disabled=no / ip firewall mangle add chain=prerouting protocol=tcp dst-port=27965 action=change-tos new-tos=max-reliability comment="" disabled=no / ip firewall mangle add chain=prerouting protocol=tcp dst-port=27650 action=change-tos new-tos=max-reliability comment="" disabled=no / ip firewall mangle add chain=prerouting protocol=udp dst-port=27650 action=change-tos new-tos=max-reliability comment="" disabled=no / ip firewall mangle add chain=prerouting protocol=tcp dst-port=21 action=change-tos new-tos=min-cost comment="" disabled=no / ip firewall mangle add chain=prerouting protocol=tcp dst-port=80 action=change-tos new-tos=min-cost comment="" disabled=no / ip firewall mangle add chain=prerouting action=change-tos new-tos=min-cost comment="" disabled=no / ip firewall mangle add chain=postrouting tos=max-reliability action=mark-connection new-connection-mark=0x04 passthrough=yes comment="" disabled=no / ip firewall mangle add chain=postrouting connection-mark=0x04 action=mark-packet new-packet-mark=0x04 passthrough=yes comment="" disabled=no / ip firewall mangle add chain=postrouting tos=min-delay action=mark-connection new-connection-mark=0x10 passthrough=yes comment="" disabled=no add chain=postrouting connection-mark=0x10 action=mark-packet new-packet-mark=0x10 passthrough=yes comment="" disabled=no / ip firewall mangle add chain=postrouting tos=min-cost action=mark-connection new-connection-mark=0x02 passthrough=yes comment="" disabled=no / ip firewall mangle add chain=postrouting connection-mark=0x02 action=mark-packet new-packet-mark=0x02 passthrough=yes comment="" disabled=no Shaping ImplementationLinuxMikrotik/ queue type add name="Priorities" kind=pfifo pfifo-limit=64 Note:You have to edit NAMEofRADIO to the name of your interface used on the Jawug link. / queue tree add name="Jawug" parent=NAMEofRADIO packet-mark="" limit-at=0 queue=Priorities priority=8 max-limit=0 burst-limit=0 burst-threshold=0 burst-time=0s disabled=no / queue tree add name="Interactive" parent=Jawug packet-mark=0x04 limit-at=128000 queue=Priorities priority=2 max-limit=512000 burst-limit=0 burst-threshold=0 burst-time=0s disabled=no / queue tree add name="Voice" parent=Jawug packet-mark=0x10 limit-at=128000 queue=default priority=1 max-limit=512000 burst-limit=0 burst-threshold=0 burst-time=0s disabled=no / queue tree add name="Bulk" parent=Jawug packet-mark=0x02 limit-at=0 queue=default priority=8 max-limit=0 burst-limit=0 burst-threshold=0 burst-time=0s disabled=no EditThisPage BackLinks PageInfo Pages like this verdiff PageCalendar Attachments last changed on Mon Nov 12 18:53:51 2007 Subpages:
QOS |