Load Balancing Mikrotik with 2 ISP

Skenario Interface 1 ( ISP Telkom ) Ip Address      : 192.168.2.105/24 Gateway         : 192.168.2.100 Int Name        : Telkom ...


Skenario

Interface 1 ( ISP Telkom )
Ip Address      : 192.168.2.105/24
Gateway         : 192.168.2.100
Int Name        : Telkom

Interface 2 ( IP Local / Client )
Ip Address      : 192.168.0.1/24
Int Name        : local

Interface 3 ( ISP First Media )
Ip Address      : 11.0.0.113/24
Gateway         : 11.0.0.100
Int Name        : First

# Setting Interface Name
/interface ethernet
set 0 arp=enabled auto-negotiation=yes bandwidth=unlimited/unlimited comment=\
    "" disabled=no full-duplex=yes l2mtu=1524 mac-address=00:0C:42:70:B6:94 \
    master-port=none mtu=1500 name=Telkom speed=100Mbps
set 1 arp=enabled auto-negotiation=yes bandwidth=unlimited/unlimited comment=\
    "" disabled=no full-duplex=yes l2mtu=1524 mac-address=00:0C:42:70:B6:95 \
    master-port=none mtu=1500 name=local speed=100Mbps
set 2 arp=enabled auto-negotiation=yes bandwidth=unlimited/unlimited comment=\
    "" disabled=no full-duplex=yes l2mtu=1524 mac-address=00:0C:42:70:B6:96 \
    master-port=none mtu=1500 name=First speed=100Mbps

# Setting IP Address
/ip address
add address=192.168.0.1/24 broadcast=192.168.0.255 comment="" disabled=no \
    interface=local network=192.168.0.0
add address=11.0.0.113/24 broadcast=11.0.0.255 comment="First Media Net" \
    disabled=no interface=First network=11.0.0.0
add address=192.168.2.105/24 broadcast=192.168.2.255 comment=\
    "Telkom  Media  Net" disabled=no interface=Telkom network=192.168.2.0

# Setting Firewall Mangle
/ip firewall mangle
add action=mark-connection chain=input comment="" connection-state=new \
    disabled=no in-interface=Telkom new-connection-mark=isp-1 passthrough=yes
add action=mark-connection chain=input comment="" connection-state=new \
    disabled=no in-interface=First new-connection-mark=isp-2 passthrough=yes
add action=mark-routing chain=output comment="" connection-mark=isp-1 \
    disabled=no new-routing-mark=jalur-1 passthrough=no
add action=mark-routing chain=output comment="" connection-mark=isp-2 \
    disabled=no new-routing-mark=jalur-2 passthrough=no
add action=mark-connection chain=prerouting comment="" disabled=no \
    dst-address-type=!local in-interface=local new-connection-mark=isp-1 \
    passthrough=yes per-connection-classifier=both-addresses-and-ports:2/0
add action=mark-connection chain=prerouting comment="" disabled=no \
    dst-address-type=!local in-interface=local new-connection-mark=isp-2 \
    passthrough=yes per-connection-classifier=both-addresses-and-ports:2/1
add action=mark-routing chain=prerouting comment="" connection-mark=isp-1 \
    disabled=no in-interface=local new-routing-mark=jalur-1 passthrough=yes
add action=mark-routing chain=prerouting comment="" connection-mark=isp-2 \
    disabled=no in-interface=local new-routing-mark=jalur-2 passthrough=yes  

# Setting Firewall Nat
/ip firewall nat
add action=masquerade chain=srcnat comment="" disabled=no out-interface=\
    Telkom
add action=masquerade chain=srcnat comment="" disabled=no out-interface=\
    Telkom
add action=masquerade chain=srcnat comment="" disabled=no out-interface=First

# Setting Default Gateway
/ip route
add disabled=no distance=1 dst-address=0.0.0.0/0 gateway=192.168.2.100 \
    routing-mark=jalur-1 scope=30 target-scope=10 
add disabled=no distance=2 dst-address=0.0.0.0/0 gateway=11.0.0.100 \
    routing-mark=jalur-2 scope=30 target-scope=10

## Pengaturan routing untuk masing-masing mark-routing beban trafik
add comment="" disabled=no distance=1 dst-address=0.0.0.0/0 gateway=192.168.2.100
add comment="" disabled=no distance=2 dst-address=0.0.0.0/0 gateway=11.0.0.100

COMMENTS

Name

Android,5,Apache,3,Bash Scripting,5,Bot,1,Centos,12,Cisco,5,GNS3,1,Hacking,5,internet marketing,1,Mikrotik,4,Monitoring,2,Nginx,2,Paket Tracer,2,Squid Proxy,2,Tips And Tricks,1,Virtualization,1,Webmin,2,Webserver,4,
ltr
item
Berbagi Itu Indah: Load Balancing Mikrotik with 2 ISP
Load Balancing Mikrotik with 2 ISP
https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhJkrJkTfqKXd3-ezRBv_d0BgdohYFLyUwmTGohk2Fvd5QN8XcDQy1LACXgf8gj5UUpMvzqoKKPQ3DVsXWENB4qtSpznQ8XGIfbXediJFlxkd0BDF_92djEvDwlgbjnzJDeqAFMbH6jUdNc/s400/Mikrotik_Routerboard_RB-532a.jpg
https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhJkrJkTfqKXd3-ezRBv_d0BgdohYFLyUwmTGohk2Fvd5QN8XcDQy1LACXgf8gj5UUpMvzqoKKPQ3DVsXWENB4qtSpznQ8XGIfbXediJFlxkd0BDF_92djEvDwlgbjnzJDeqAFMbH6jUdNc/s72-c/Mikrotik_Routerboard_RB-532a.jpg
Berbagi Itu Indah
https://wahyubud.blogspot.com/2013/10/load-balancing-mikrotik-with-2-isp.html
https://wahyubud.blogspot.com/
https://wahyubud.blogspot.com/
https://wahyubud.blogspot.com/2013/10/load-balancing-mikrotik-with-2-isp.html
true
4332986676755765585
UTF-8
Loaded All Posts Not found any posts VIEW ALL Readmore Reply Cancel reply Delete By Home PAGES POSTS View All RECOMMENDED FOR YOU LABEL ARCHIVE SEARCH ALL POSTS Not found any post match with your request Back Home Sunday Monday Tuesday Wednesday Thursday Friday Saturday Sun Mon Tue Wed Thu Fri Sat January February March April May June July August September October November December Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec just now 1 minute ago $$1$$ minutes ago 1 hour ago $$1$$ hours ago Yesterday $$1$$ days ago $$1$$ weeks ago more than 5 weeks ago Followers Follow THIS PREMIUM CONTENT IS LOCKED STEP 1: Share to a social network STEP 2: Click the link on your social network Copy All Code Select All Code All codes were copied to your clipboard Can not copy the codes / texts, please press [CTRL]+[C] (or CMD+C with Mac) to copy