Pisah Link IIX dan International Dengan Queue Simple di Mikrotik
>Setelah saya baca dan masukan dari teman-teman,saya cukup manjalankan scripts update yang terdapat dari mbah google.com
>seperti Gambar
#System Scripts>add>name=nice-update source=
————————————————-isi source———————————————————-
:if ([:len [/file find name=nice.rsc]] > 0) do={/file remove nice.rsc }; /tool fetch address=ixp.mikrotik.co.id src-path=/download/nice.rsc mode=http;/import nice.rsc
———————————————————————————————————————-
#seperti Gambar
>Agar nice nya update,maka saya buatkan shecudule update nice
#System scheduler>add>name=update-nice start time=startup On event=nice-update
>seperti Gambar
>Setelah itu Buat mangle IIX dan INTL
>Mangle semua packet (semua trafick)—->comment di mangle
#Ip>firewall>mangle>add>general>Chain=prerouting>src.Address=192.168.25.0/24 Action>action=mark connection>new Connection Mark=CON-SEMUA-TRAFIC>passthrough=yes
>seperti Gambar
>Mangle mark-connection-international (mark international)—->comment di mangle
#Ip>firewall>mangle>add>general>Chain=prerouting>src.Address=192.168.25.0/24>Connection Mark=CON-SEMUA-TRAFiC Advanced>Dst.address List=!nice Action>action=mark connectio>New Connection Mark=CON-INTL>passthrough=yes
>seperti Gambar
>Mangle mark packet INTERNATIONAL(MARK-PACKET-INTL)—->comment di mangle
#Ip>firewall>mangle>add>general>Chain=prerouting>Connection Mark=CON-INTL Action>action=mark packet>New Packet Mark=CON-INTL>passthrough>no
>seperti Gambar
#Mangle mark packet IIX (MARK-PACKET-IIX)—->comment di mangle
#Ip>firewall>mangle>add>general>Chain=prerouting> Action>action=mark packet>New Packet Mark=CON-IIX>passthrough=no
>seperti Gambar
>Buat Queue simple INTERNATIONAL
>Disini saya buat dulu total Queue simple INTERNATIONAL
>Setelah itu saya menjalankan scripts Queue simple untuk INTERNATIONAL
>Isi scripts seperti dibawah
#system scripts add>name=INTL Source=
————————————-isi source nya—————————————————————-
:for e from 2 to 200 do={/queue simple add name=”pc $e” parent=INTERNATIONAL target-addresses=”192.168.25.$e” max-limit=384000/384000}
——————————————————————————————————————-
>Seperti Gamabar
>Buat Queue simple IIX
>Disini saya buat dulu total Queue simple IIX
>Setelah itu saya menjalankan scripts Queue simple untuk IIX
#system scripts add>name=IIX Source=
——————————isi sourcenya————————————————————-
:for e from 2 to 200 do={/queue simple add name=”pc $e” parent=IIX target-addresses=”192.168.25.$e” max-limit=384000/384000}
———————————————————————————————————
>Seperti Gambar
Posted in Mikrotik Router >seperti Gambar
#System Scripts>add>name=nice-update source=
————————————————-isi source———————————————————-
:if ([:len [/file find name=nice.rsc]] > 0) do={/file remove nice.rsc }; /tool fetch address=ixp.mikrotik.co.id src-path=/download/nice.rsc mode=http;/import nice.rsc
———————————————————————————————————————-
#seperti Gambar
>Agar nice nya update,maka saya buatkan shecudule update nice
#System scheduler>add>name=update-nice start time=startup On event=nice-update
>seperti Gambar
>Setelah itu Buat mangle IIX dan INTL
>Mangle semua packet (semua trafick)—->comment di mangle
#Ip>firewall>mangle>add>general>Chain=prerouting>src.Address=192.168.25.0/24 Action>action=mark connection>new Connection Mark=CON-SEMUA-TRAFIC>passthrough=yes
>seperti Gambar
>Mangle mark-connection-international (mark international)—->comment di mangle
#Ip>firewall>mangle>add>general>Chain=prerouting>src.Address=192.168.25.0/24>Connection Mark=CON-SEMUA-TRAFiC Advanced>Dst.address List=!nice Action>action=mark connectio>New Connection Mark=CON-INTL>passthrough=yes
>seperti Gambar
>Mangle mark packet INTERNATIONAL(MARK-PACKET-INTL)—->comment di mangle
#Ip>firewall>mangle>add>general>Chain=prerouting>Connection Mark=CON-INTL Action>action=mark packet>New Packet Mark=CON-INTL>passthrough>no
>seperti Gambar
#Mangle mark packet IIX (MARK-PACKET-IIX)—->comment di mangle
#Ip>firewall>mangle>add>general>Chain=prerouting> Action>action=mark packet>New Packet Mark=CON-IIX>passthrough=no
>seperti Gambar
>Buat Queue simple INTERNATIONAL
>Disini saya buat dulu total Queue simple INTERNATIONAL
>Setelah itu saya menjalankan scripts Queue simple untuk INTERNATIONAL
>Isi scripts seperti dibawah
#system scripts add>name=INTL Source=
————————————-isi source nya—————————————————————-
:for e from 2 to 200 do={/queue simple add name=”pc $e” parent=INTERNATIONAL target-addresses=”192.168.25.$e” max-limit=384000/384000}
——————————————————————————————————————-
>Seperti Gamabar
>Buat Queue simple IIX
>Disini saya buat dulu total Queue simple IIX
>Setelah itu saya menjalankan scripts Queue simple untuk IIX
#system scripts add>name=IIX Source=
——————————isi sourcenya————————————————————-
:for e from 2 to 200 do={/queue simple add name=”pc $e” parent=IIX target-addresses=”192.168.25.$e” max-limit=384000/384000}
———————————————————————————————————
>Seperti Gambar
Tidak ada komentar:
Posting Komentar