Setting Load Balancing 2 Speedy Mikrotik RouterOS V.3.x.xx dan V.4.x.xx

Load Balancing 2 Speedy Mikrotik RouterOS V.3.x.xx dan V.4.x.xx

Langka pertama
Ip modem 1 192.168.1.1
Ip modem 2 192.168.2.1
colokkan modem 1 pada ether1
colokkan modem 2 pada ether2
colokkan yang dari hub pada ether3
posisi PPoE dari modem
--------------------------------------------------------------------------
Pada mikrotik
buka pada winbox.
muncul baru pertama kali remove all configuration
--------------------------------------------------------------------------

    /interface
    set 0 name=modem1
    set 1 name=modem2
    set 2 name=lokal

---------------------------------------------------------------------------------------------------------------------------------------
buat IP di masing2 ethernet
---------------------------------------------------------------------------------------------------------------------------------------

    /ip address
    add address=192.168.1.2/24 netmask=255.255.255.0 interface=modem1
    add address=192.168.2.2/24 netmask=255.255.255.0 interface=modem2
    add address=192.168.0.254/24 netmask=255.255.255.0 interface=lokal

---------------------------------------------------------------------------------------------------------------------------------------
buat mangle untuk load balancing
---------------------------------------------------------------------------------------------------------------------------------------

    /ip firewall mangle
    add chain=prerouting in-interface=lokal connection-state=new nth=2,1 action=mark-connection new-connection-mark=speedy1 passthrough=yes
    add chain=prerouting in-interface=Lokal connection-mark=speedy1 action=mark-routing new-routing-mark=speedy1 passthrough=no
    add chain=prerouting in-interface=lokal connection-state=new nth=2,2 action=mark-connection new-connection-mark=speedy2 passthrough=yes
    add chain=prerouting in-interface=Lokal connection-mark=speedy1 action=mark-routing new-routing-mark=speedy2 passthrough=no

---------------------------------------------------------------------------------------------------------------------------------------
buat NAT untuk load balancing
---------------------------------------------------------------------------------------------------------------------------------------

    /ip firewall nat
    chain=srcnat out-interface=modem1 action=masquerade
    chain=srcnat out-interface=modem2 action=masquerade

---------------------------------------------------------------------------------------------------------------------------------------
buat ip route
---------------------------------------------------------------------------------------------------------------------------------------

    /ip route
    add gateway=192.168.1.1
    add gateway=192.168.2.1 routing-mark=speedy2

---------------------------------------------------------------------------------------------------------------------------------------

Tips and Trik
apabila salah satu speedy down, silahkan semua mangle.
misalnya speedy2 down silahkan disable gateway yang mengarah speedy2
misalnya speedy1 down silahkan disable gateway yang mengarah speedy1 dan hilangkan routing-mark speedy2
Title : Setting Load Balancing 2 Speedy Mikrotik RouterOS V.3.x.xx dan V.4.x.xx
Description : Load Balancing 2 Speedy Mikrotik RouterOS V.3.x.xx dan V.4.x.xx Langka pertama Ip modem 1 192.168.1.1 Ip modem 2 192.168.2.1 colokkan...

0 Response to "Setting Load Balancing 2 Speedy Mikrotik RouterOS V.3.x.xx dan V.4.x.xx"

Posting Komentar