- interface traffic internasional
- interface traffic local
- interface distribusi
Berikan coment nama interface :
1. Internasional
2. Lokal
3. Distribusi
Add ip address masing2x interface :
/ip address
add address=192.168.0.1/24 interface=distribusi comment=”ip trafik distribusi” disabled=no
add address=203.89.2.40/30 interface=Internasional comment=”ip trafik internasional” disabled=no
add address=203.89.2.35/30 interface=Lokal comment=”ip trafik IIX” disabled=no
Tandai paket yang menuju IIX dari interface distribusi
/ip firewall mangle
add chain=prerouting in-interface=distribusi dst-address-list=nice action=m
ark-routing new-routing-mark=nice passthrough=yes comment=”mark nice trafic” disabled=no
(memberi mangle dengan chain prerouting dan hanya melakukan mangle di traffic yang datang melalui interface distribusi)
Buat ip route with command prompt :
/ip route
add dst-address=0.0.0.0/0 gateway=203.89.2.39 scope=255 target-scope=10 \
comment=”gateway traffic internasional” disabled=no
add dst-address=0.0.0.0/0 gateway=203.89.2.34 scope=255 target-scope=10 \
comment=”gateway traffic IIX” disabled=no
Test dulu….
C:\Documents and Settings\kuzhin>tracert www.yahoo.com
C:\Documents and Settings\kuzhin>tracert www.plasa.com
Setelah sudah benar routingnya.
Buat Queue Simple..
/queue simple
add name=”IIX-Client-01? max-limit=256000/256000 dst-address=”192.168.0.1? interface=lokal
add name=”INT-Client-01? max-limit=64000/64000 dst-address=”192.168.0.1? interface=internasional
ip 192.168.0.1 yang traficnya melalui interface local / internasional,
dimana traffic yang melewati interface ini telah kita pisah pada ip route diatas
1 comment:
Mangle nya mana om ..
Post a Comment