Sunday, January 15, 2012

SETTING LOAD BALANCING MIKROTIK

Here trying to make load balancing by using routerboard RB 750 have 5 indoor interfaces, if we want to make load balancing mikrotik failover on version 4.11, here I use the 2 lanes to 1 lane WAN input output directed to the Local Area Network.
Here is set with the setting interface- LAN = 192.168.1.0/24- Uplink = WAN 1 = 192.168.20.6/28- WAN Uplink = 2 = 192.168.10.12/24Here I use two ISP WLAN, if the place you are using telkom speedy then see the first line have the same gateway or not. If the same gateway, you must set PPPOE (PPPoE dial mikrotik itself), then you select one of the main from the same gateway that create a PPPOE others make PPPOE dial settings of the modem is a modem that become gateways. It is used let traffic roads with a maximum, usually if just PPPOE dial mikrotik with the same gateway loadbalancing often even less than the maximum one way gateways are active.Settings on mikrotik version 4.11 are as follows:/ Ip firewall mangleadd chain = prerouting action = mark-connection new-connection-mark = conn_1passthrough = yes connection-state = new in-interface = LAN nth = 2.1add chain = prerouting action = mark-routing new-routing-mark = conn_1passthrough = no in-interface = LAN connection-mark = conn_1add chain = prerouting action = mark-connection new-connection-mark = conn_2passthrough = yes connection-state = new in-interface = LAN nth = 1.1add chain = prerouting action = mark-routing new-routing-mark = conn_2passthrough = no in-interface = LAN connection-mark = conn_2/ Ip firewall natadd chain = srcnat action = masquerade out-interface = WAN1 connection-mark = conn_1add chain = srcnat action = masquerade out-interface = WAN2 connection-mark = conn_2?/ Ip routeadd dst-address = 0.0.0.0 / 0 gateway = 192.168.20.14 scope = 255 target-scope = 10 routing-mark = conn_1 comment = "" disabled = noadd dst-address = 0.0.0.0 / 0 gateway = 192.168.10.100 scope = 255 target-scope = 10 routing-mark = conn_2 comment = "" disabled = noadd dst-address = 0.0.0.0 / 0 gateway = 192.168.20.14 scope = 255 target-scope = 10 comment = "" disabled = no

No comments:

Post a Comment

Comment Here :

Thank you for visiting my Blog, Hopefully we can continue to share information and knowledge. Please use the guest book that you have a facebook account:
VoltRank: Link Exchange