Para Master dan Suhu Mikrotik, mohon pencerahan masalah load balancing dengan 2 ISP
ISP1 IP static dapet ip public 111.111.111.176/29
ISP2 IP Dinamic (Fastnet)
Problem :
Load balancing berjalan dengan baik (semua pc dengan private ip connect internet), tapi PC yang di assign dengan IP Public jadi gak bisa connect (RTO), padahal sebelum di seting load balancing PC tersebut bisa connect. Salah setingan dimananya ya ? mohon pencerahannya, terima kasih sebelumnya
Code:
/interface ipip
add !keepalive local-address=10.2.65.228 name=ipip-isp1 \
remote-address=10.1.250.52
/interface pptp-server server
set authentication=pap,chap,mschap1,mschap2 enabled=yes max-mru=1460 max-mtu=\
1460
/ip address
add address=10.10.2.1/24 interface=ether4 network=\
10.10.2.0
add address=10.10.11.1/24 interface=ether5 network=\
10.10.11.0
add address=10.10.12.30/30 interface=ipip-isp1 network=\
111.111.111.28
add address=111.111.111.177/29 interface=ether5 network=111.111.111.176
add address=10.2.65.228/29 comment=to-wireless interface=ether1 network=\
10.2.65.224
/ip dhcp-client
add default-route-distance=0 dhcp-options=hostname,clientid disabled=no \
interface=ether3
/ip firewall mangle
add action=mark-connection chain=prerouting comment=con_isp1 \
connection-state=new in-interface=ether4 new-connection-mark=conn_1 nth=\
1,1
add action=mark-routing chain=prerouting comment=route_isp1 \
connection-mark=conn_1 in-interface=ether4 new-routing-mark=route_1
add action=mark-connection chain=prerouting comment=cont_fasnet \
connection-state=new in-interface=ether4 new-connection-mark=conn_2 nth=\
2,1
add action=mark-routing chain=prerouting comment=route_fastnet \
connection-mark=conn_2 in-interface=ether4 new-routing-mark=route_2 \
passthrough=no
add action=mark-connection chain=prerouting comment=con_isp1 \
connection-state=new in-interface=ether5 new-connection-mark=conn_1 nth=\
1,1
add action=mark-connection chain=prerouting comment=con_fastnet \
connection-state=new in-interface=ether5 new-connection-mark=conn_2 nth=\
2,1
add action=mark-routing chain=prerouting comment=route_isp1 \
connection-mark=conn_1 in-interface=ether5 new-routing-mark=route_1
add action=mark-routing chain=prerouting comment=route_fastnet \
connection-mark=conn_2 in-interface=ether5 new-routing-mark=route_2 \
passthrough=no
/ip firewall nat
add action=masquerade chain=srcnat out-interface=ipip-isp1 \
to-addresses=0.0.0.0
add action=src-nat chain=srcnat disabled=yes out-interface=\
ipip-isp1 src-address-list=lokal to-addresses=111.111.111.30
add action=masquerade chain=srcnat connection-mark=conn_1 out-interface=\
ether1
add action=masquerade chain=srcnat connection-mark=conn_2 out-interface=\
ether3
/ip route
add check-gateway=ping distance=1 gateway=111.111.111.29 routing-mark=route_1
add check-gateway=ping distance=1 gateway=192.168.0.1 routing-mark=route_2
add distance=1 gateway=111.111.111.29