Follow us on...
Follow us on G+ Follow us on Twitter Follow us on Facebook Watch us on YouTube
Register
Results 1 to 3 of 3
  1. #1
    Status
    Offline
    smithmario's Avatar
    Newbie
    Join Date
    Mar 2010
    Posts
    33
    Reviews
    Read 0 Reviews
    Downloads
    0
    Uploads
    0
    Feedback Score
    0

    Manakah setting Mangle dan queueyg betul

    Dengan topologi seperti ini, setting mangle dan queue yg betul gimana yah
    ip address> pr
    # ADDRESS NETWORK BROADCAST INTERFACE
    0 192.168.1.1/24 192.168.1.0 192.168.1.255 LAN
    1 192.168.2.1/24 192.168.2.0 192.168.2.255 MODEM
    2 192.168.3.1/24 192.168.3.0 192.168.3.255 WIFI
    3 192.168.0.1/24 192.168.0.0 192.168.0.255 WEBPROXY

    ---------------------------------------------| <===>(192.168.3.100 -192.168.3.200) HOTSPOT CLIENT
    ---------------------------------------------|
    ---------------------------------------------|(192.168.3.1)
    BRIDGE_speedy(192.168.2.2)<==> [(192.168.2.1)pppoe_mikrotik2.9.27(192.168.1.1)] <===> HUB <===>(192.168.1.0/24) CLIENT WARNET
    ---------------------------------------------|(192.168.0.1)
    ---------------------------------------------|
    ---------------------------------------------|
    ---------------------------------------------| <===>(192.168.0.2) Ubuntu server 9.10 Squid




    ##############config mangle1
    add chain=prerouting action=mark-connection new-connection-mark=squid_HIT_conn passthrough=yes protocol=tcp dst-address=192.168.0.250
    in-interface=LAN dst-port=80
    add chain=prerouting action=mark-packet new-packet-mark=proxy-pkt passthrough=no connection-mark=squid_HIT_conn
    add chain=output action=mark-packet new-packet-mark=proxy-pkt passthrough=no connection-mark=squid_HIT_conn
    add chain=prerouting action=mark-packet new-packet-mark=proxy-pkt passthrough=no protocol=tcp tos=48
    add chain=prerouting action=mark-packet new-packet-mark=proxy-pkt passthrough=no protocol=tcp content=X-Cache:HIT
    0 name="PROXY_HIT_GLOBAL_IN" parent=global-in packet-mark=proxy-pkt limit-at=0 queue=default priority=1 max-limit=0 burst-limit=0
    burst-threshold=0 burst-time=0s
    1 name="PROXY_HIT_GLOBAL_OUT" parent=global-out packet-mark=proxy-pkt limit-at=0 queue=default priority=1 max-limit=0 burst-limit=0
    burst-threshold=0 burst-time=0s




    ##############config mangle2
    add chain=forward content="X-Cache: HIT" action=mark-connection new-connection-mark=squid_con passthrough=yes comment="" disabled=no
    add chain=forward connection-mark=squid_con action=mark-packet new-packet-mark=squid_pkt passthrough=no comment="" disabled=no
    add chain=forward connection-mark=!squid_con action=mark-connection new-connection-mark=all_con passthrough=yes comment="" disabled=no
    add chain=forward protocol=tcp src-port=80 connection-mark=all_con action=mark-packet new-packet-mark=http_pkt passthrough=no comment="" disabled=no
    add chain=forward protocol=icmp connection-mark=all_con action=mark-packet new-packet-mark=icmp_pkt passthrough=no comment="" disabled=no
    add chain=forward protocol=tcp dst-port=1973 connection-mark=all_con action=mark-packet new-packet-mark=top_pkt passthrough=no comment="" disabled=no
    add chain=forward connection-mark=all_con action=mark-packet new-packet-mark=test_pkt passthrough=no comment="" disabled=no


    add name="Squid_HIT" dst-address=0.0.0.0/0 interface=all parent=none \
    packet-marks=squid_pkt direction=both priority=8 \
    queue=default-small/default-small limit-at=0/0 max-limit=0/0 \
    total-queue=default-small disabled=no
    add name="Main_Link" dst-address=0.0.0.0/0 interface=all parent=none \
    direction=both priority=8 queue=default-small/default-small limit-at=0/0 \
    max-limit=35000/256000 total-queue=default-small disabled=no
    add name="game_tales_of_pirate" dst-address=0.0.0.0/0 interface=all \
    parent=none packet-marks=top_pkt direction=both priority=1 \
    queue=default-small/default-small limit-at=0/0 max-limit=0/0 \
    total-queue=default-small disabled=no
    add name="Ping_queue" dst-address=0.0.0.0/0 interface=all parent=none \
    packet-marks=icmp_pkt direction=both priority=2 \
    queue=default-small/default-small limit-at=0/0 max-limit=0/0 \
    total-queue=default-small disabled=no
    add name="The_other_port_queue" target-addresses=192.168.0.0/24 \
    dst-address=0.0.0.0/0 interface=all parent=Main_Link packet-marks=http_pkt \
    direction=both priority=8 queue=default-small/default-small \
    limit-at=5000/5000 max-limit=50000/256000 total-queue=default-small \
    disabled=no
    add name="another_port" target-addresses=192.168.1.0/24 dst-address=0.0.0.0/0 \
    interface=all parent=Main_Link packet-marks=test_pkt direction=both \
    priority=8 queue=default-small/default-small limit-at=0/0 \
    max-limit=0/256000 total-queue=default-small disabled=no


    ##############config mangle3
    add chain=postrouting content="X-Cache: HIT" action=mark-connection new-connection-mark=proxy-con passthrough=yes comment="TOS proxy" disabled=no
    add chain=postrouting content="X-Cache: HIT" action=mark-packet new-packet-mark=proxy-pkt passthrough=no comment="" disabled=no
    add name="Proxy-Hits" target-addresses=192.168.1.0/24 dst-address=0.0.0.0/0 interface=all parent=none packet-marks=proxy-pkt direction=both priority=2 queue=default-small/default-small limit-at=0/0 max-limit=0/0 total-queue=default-small disabled=no

  2. #2
    Status
    Offline
    kelik123's Avatar
    Baru Gabung
    Join Date
    Dec 2009
    Location
    Bantul, Yogyakarta <> Karawaci, Tangerang PP
    Posts
    16
    Reviews
    Read 0 Reviews
    Downloads
    0
    Uploads
    0
    Feedback Score
    0
    post yang bagus bgt gan... aku dah setting RB750 pake queue tree dah jalan uploadnya dah kedetect tapi downloadnya masih nol...aku pake settingan kayak gini,,
    INTERFACE
    [ngademin@Mikocok] > interface pr
    Flags: D - dynamic, X - disabled, R - running, S - slave
    # NAME TYPE MTU L2MTU
    0 R Public ether 1500 1526
    1 R Local ether 1500 1524
    2 ether3-local-slave ether 1500 1524
    3 ether4-local-slave ether 1500 1524
    4 ether5-local-slave ether 1500 1524
    5 X bridge-interface bridge 1500
    IP ADDRESS
    [ngademin@Mikocok] > ip address print
    Flags: X - disabled, I - invalid, D - dynamic
    # ADDRESS NETWORK BROADCAST INTERFACE
    0 ;;; default configuration mikocok
    192.168.88.1/24 192.168.88.0 192.168.88.255 Local
    1 D 192.168.1.2/24 192.168.1.0 192.168.1.255 Public
    MANGLE
    [ngademin@Mikocok] > ip firewall mangle pr
    Flags: X - disabled, I - invalid, D - dynamic
    0 chain=prerouting action=mark-packet new-packet-mark=pc-kasir-up passthrough=no src-address=192.168.88.2 in-interface=Local

    1 chain=forward action=mark-connection new-connection-mark=pc-kasir-conn passthrough=yes src-address=192.168.88.2

    2 chain=forward action=mark-packet new-packet-mark=pc-kasir-down passthrough=no in-interface=Public connection-mark=corporate-conn

    3 chain=prerouting action=mark-packet new-packet-mark=pc-1-up passthrough=no src-address=192.168.88.3 in-interface=Local

    4 chain=forward action=mark-connection new-connection-mark=pc-1-conn passthrough=yes src-address=192.168.88.3

    5 chain=forward action=mark-packet new-packet-mark=pc-1-down passthrough=no in-interface=Public connection-mark=corporate-conn

    6 chain=prerouting action=mark-packet new-packet-mark=pc-2-up passthrough=no src-address=192.168.88.4 in-interface=Local

    7 chain=forward action=mark-connection new-connection-mark=pc-2-conn passthrough=yes src-address=192.168.88.4

    8 chain=forward action=mark-packet new-packet-mark=pc-2-down passthrough=no in-interface=Public connection-mark=corporate-conn

    9 chain=prerouting action=mark-packet new-packet-mark=pc-3-up passthrough=no src-address=192.168.88.5 in-interface=Local

    10 chain=forward action=mark-connection new-connection-mark=pc-3-conn passthrough=yes src-address=192.168.88.5

    11 chain=forward action=mark-packet new-packet-mark=pc-3-down passthrough=no in-interface=Public connection-mark=corporate-conn

    12 chain=prerouting action=mark-packet new-packet-mark=pc-4-up passthrough=no src-address=192.168.88.6 in-interface=Local

    13 chain=forward action=mark-connection new-connection-mark=pc-4-conn passthrough=yes src-address=192.168.88.6

    14 chain=forward action=mark-packet new-packet-mark=pc-4-down passthrough=no in-interface=Public connection-mark=corporate-conn
    QUEUE TREE
    [ngademin@Mikocok] > queue tree pr
    Flags: X - disabled, I - invalid
    0 name="down" parent=Local limit-at=0 priority=8 max-limit=0 burst-limit=0 burst-threshold=0 burst-time=0s

    1 name="up" parent=global-in limit-at=0 priority=8 max-limit=0 burst-limit=0 burst-threshold=0 burst-time=0s

    2 name="pc-kasirdownload" parent=down packet-mark=pc-kasir-down limit-at=0 queue=default priority=8 max-limit=0 burst-limit=0
    burst-threshold=0 burst-time=0s

    3 name="pc-kasirupload" parent=up packet-mark=pc-kasir-up limit-at=0 queue=default priority=8 max-limit=0 burst-limit=0
    burst-threshold=0 burst-time=0s

    4 name="pc-1download" parent=down packet-mark=pc-1-down limit-at=0 queue=default priority=8 max-limit=0 burst-limit=0
    burst-threshold=0 burst-time=0s

    5 name="pc-1upload" parent=up packet-mark=pc-1-up limit-at=0 queue=default priority=8 max-limit=0 burst-limit=0 burst-threshold=0
    burst-time=0s

    6 name="pc-2download" parent=down packet-mark=pc-2-down limit-at=0 queue=default priority=8 max-limit=0 burst-limit=0
    burst-threshold=0 burst-time=0s

    7 name="pc-2upload" parent=up packet-mark=pc-2-up limit-at=0 queue=default priority=8 max-limit=0 burst-limit=0 burst-threshold=0
    burst-time=0s

    8 name="pc-3download" parent=down packet-mark=pc-3-down limit-at=0 queue=default priority=8 max-limit=0 burst-limit=0
    burst-threshold=0 burst-time=0s

    9 name="pc-3upload" parent=up packet-mark=pc-3-up limit-at=0 queue=default priority=8 max-limit=0 burst-limit=0 burst-threshold=0
    burst-time=0s

    10 name="pc-4download" parent=down packet-mark=pc-4-down limit-at=0 queue=default priority=8 max-limit=0 burst-limit=0
    burst-threshold=0 burst-time=0s

    11 name="pc-4upload" parent=up packet-mark=pc-4-up limit-at=0 queue=default priority=8 max-limit=0 burst-limit=0 burst-threshold=0
    burst-time=0s
    master bantu koreksi doonk kesalahan ada dimana??Click here to enlarge

  3. #3
    Status
    Offline
    smithmario's Avatar
    Newbie
    Join Date
    Mar 2010
    Posts
    33
    Reviews
    Read 0 Reviews
    Downloads
    0
    Uploads
    0
    Feedback Score
    0
    Click here to enlarge Originally Posted by kelik123 Click here to enlarge
    post yang bagus bgt gan... aku dah setting RB750 pake queue tree dah jalan uploadnya dah kedetect tapi downloadnya masih nol...aku pake settingan kayak gini,,
    INTERFACE


    IP ADDRESS


    MANGLE


    QUEUE TREE


    master bantu koreksi doonk kesalahan ada dimana??Click here to enlarge


    server perusahaan gi ada masalah wakakakk Click here to enlarge

 

 

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 22
    Last Post: 07-07-2013, 10:47
  2. Tolong: Setting Mangle di MIKROTIK yg diset BRIDGE
    By yekai2000 in forum General Networking
    Replies: 7
    Last Post: 25-04-2012, 16:00
  3. Beda type koneksi, beda Interface. betul gitu gak???
    By Spring in forum Beginner Basics
    Replies: 10
    Last Post: 05-11-2009, 02:18
  4. <ask> setting repeater sing betul
    By superbejo in forum Wireless Networking
    Replies: 2
    Last Post: 17-03-2009, 11:49
  5. apa betul cm9 bisa jauh pancaraaaaaaan-nya?
    By stiawan in forum Wireless Networking
    Replies: 24
    Last Post: 17-01-2009, 09:50

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •