1. pastikan ip2nya sudah siap ya
Code:
/ip address> pr Flags: X - disabled, I - invalid, D - dynamic # ADDRESS NETWORK INTERFACE 0 3.3.3.8/27 3.3.3.0 ns 1 13.13.13.1/27 13.13.13.0 ether3 2 1xx.1xx.6x.10x/27 1xx.1xx.xx.xxx ns 3 172.10.1.1/30 172.10.1.0 monitoring 4 100.100.100.17/27 100.100.100.0 ns 5 10.10.10.26/24 10.10.10.0 ns
3. kita langsung ke mangle, ingat kuncinya di sini...
Code:
Flags: X - disabled, I - invalid, D - dynamic 0 chain=prerouting action=mark-connection new-connection-mark=con-iix passthrough=yes dst-address-list=nice 1 chain=prerouting action=mark-routing new-routing-mark=routing-iix passthrough=yes in-interface=ether3 connection-mark=con-iix 2 chain=prerouting action=mark-connection new-connection-mark=salak m passthrough=yes connection-state=new dst-address-list=!nice connection-mark=!con-iix nth=3,3 3 chain=prerouting action=mark-routing new-routing-mark=salak m passthrough=n> in-interface=ether3 connection-mark=salak m 4 chain=prerouting action=mark-connection new-connection-mark=salak 71 passthrough=yes connection-state=new dst-address-list=!nice connection-mark=!con-iix nth=3,2 5 chain=prerouting action=mark-routing new-routing-mark=salak 71 passthrough=no in-interface=ether3 connection-mark=salak 71 6 chain=prerouting action=mark-connection new-connection-mark=jagakarsa passthrough=yes connection-state=new dst-address-list=!nice connection-mark=!con-iix nth=3,1 7 chain=prerouting action=mark-routing new-routing-mark=jagakarsa passthrough=no in-interface=ether3 connection-mark=jagakarsa 8 chain=prerouting action=mark-packet new-packet-mark=packet-iix passthrough=no connection-mark=con-iix 9 chain=output action=mark-packet new-packet-mark=packet-iix passthrough=no connection-mark=con-iix 10 chain=prerouting action=mark-packet new-packet-mark=packet-int passthrough=no 11 chain=output action=mark-packet new-packet-mark=packet-int passthrough=no
Code:
pr de Flags: X - disabled, A - active, D - dynamic, C - connect, S - static, r - rip, b - bgp, o - ospf, m - mme, B - blackhole, U - unreachable, P - prohibit 0 A S dst-address=0.0.0.0/0 gateway=3.3.3.1 gateway-status=3.3.3.1 reachable bridge1 distance=1 scope=30 target-scope=10 routing-mark=routing-iix 1 A S dst-address=0.0.0.0/0 gateway=10.10.10.1 gateway-status=10.10.10.1 reachable bridge1 distance=1 scope=30 target-scope=10 routing-mark=salak m 2 A S dst-address=0.0.0.0/0 gateway=3.3.3.1 gateway-status=3.3.3.1 reachable bridge1 distance=1 scope=30 target-scope=10 routing-mark=salak 71 3 A S dst-address=0.0.0.0/0 gateway=100.100.100.1 gateway-status=100.100.100.1 reachable bridge1 distance=1 scope=30 target-scope=10 routing-mark=jagakarsa 4 ADC dst-address=3.3.3.0/27 pref-src=3.3.3.8 gateway=bridge1 gateway-status=bridge1 reachable distance=0 scope=10 5 ADC dst-address=10.10.10.0/24 pref-src=10.10.10.26 gateway=bridge1 gateway-status=bridge1 reachable distance=0 scope=10 6 ADC dst-address=13.13.13.0/27 pref-src=13.13.13.1 gateway=ether3 gateway-status=ether3 reachable distance=0 scope=10 7 ADC dst-address=100.100.100.0/27 pref-src=100.100.100.17 gateway=bridge1 gateway-status=bridge1 reachable distance=0 scope=10 8 ADC dst-address=115.124.68.96/27 pref-src=115.124.68.108 gateway=bridge1 gateway-status=bridge1 reachable distance=0 scope=10 9 ADC dst-address=172.10.1.0/30 pref-src=172.10.1.1 gateway=bridge1 gateway-status=bridge1 reachable distance=0 scope=10
Code:
pr Flags: X - disabled, I - invalid, D - dynamic 0 chain=srcnat action=masquerade out-interface=alat 1 1 chain=srcnat action=masquerade out-interface=alat 2 3 chain=srcnat action=masquerade out-interface=alat 3
dalam praktek ini bisa saja punya 3 line speedy, 1 speedy ingin di pakai link lokalnya saja, sedangkan 2 line lagi di ambil 22 nya inter maupun lokal,