Mikrotik Script 6: 2 WAN Load blancing Script by hadi nework in hindi and urdu

preview_player
Показать описание
Clik or copy the link for downloding Script
===================================

/ip firewall mangle
add action=accept chain=prerouting dst-address=192.168.10.0/24
add action=accept chain=prerouting dst-address=192.168.0.0/24
add action=mark-connection chain=input in-interface=WAN1 new-connection-mark=\
WAN1_conn passthrough=yes
add action=mark-connection chain=input in-interface=WAN2 new-connection-mark=\
WAN2_conn passthrough=yes
add action=mark-routing chain=output connection-mark=WAN1_conn \
new-routing-mark=to_WAN1 passthrough=yes
add action=mark-routing chain=output connection-mark=WAN2_conn \
new-routing-mark=to_WAN2 passthrough=yes
add action=mark-connection chain=prerouting dst-address-type=!local \
new-connection-mark=WAN1_conn passthrough=yes per-connection-classifier=\
both-addresses-and-ports:2/0 src-address=172.16.0.0/16
add action=mark-connection chain=prerouting dst-address-type=!local \
new-connection-mark=WAN2_conn passthrough=yes per-connection-classifier=\
both-addresses-and-ports:2/1 src-address=172.16.0.0/16
add action=mark-routing chain=prerouting connection-mark=WAN1_conn \
new-routing-mark=to_WAN1 passthrough=yes
add action=mark-routing chain=prerouting connection-mark=WAN2_conn \
new-routing-mark=to_WAN2 passthrough=yes
/ip firewall nat
add action=masquerade chain=srcnat out-interface=WAN1
add action=masquerade chain=srcnat out-interface=WAN2
/ip route
add check-gateway=ping distance=1 gateway=192.168.10.1 routing-mark=to_WAN1
add check-gateway=ping distance=1 gateway=192.168.10.1 routing-mark=to_WAN2
add check-gateway=ping distance=1 gateway=192.168.10.1,192.168.0.1
--------------------------------------

add action=mark-connection chain=input in-interface=WAN1 new-connection-mark=\
WAN1_conn passthrough=yes
add action=mark-connection chain=input in-interface=WAN2 new-connection-mark=\
WAN2_conn passthrough=yes

add action=mark-routing chain=output connection-mark=WAN1_conn \
new-routing-mark=to_WAN1 passthrough=yes
add action=mark-routing chain=output connection-mark=WAN2_conn \
new-routing-mark=to_WAN2 passthrough=yes

add action=mark-connection chain=prerouting dst-address-type=!local \
new-connection-mark=WAN1_conn passthrough=yes per-connection-classifier=\
both-addresses-and-ports:2/0 src-address=192.168.30.0/24

add action=mark-connection chain=prerouting dst-address-type=!local \
new-connection-mark=WAN2_conn passthrough=yes per-connection-classifier=\
both-addresses-and-ports:2/1 src-address=192.168.30.0/24

add action=mark-routing chain=prerouting connection-mark=WAN1_conn \
new-routing-mark=to_WAN1 passthrough=yes
add action=mark-routing chain=prerouting connection-mark=WAN2_conn \
new-routing-mark=to_WAN2 passthrough=yes

/ip firewall nat
add action=masquerade chain=srcnat out-interface=WAN1
add action=masquerade chain=srcnat out-interface=WAN2

/ip route
add check-gateway=ping distance=1 gateway=192.168.10.1 routing-mark=to_WAN1
add check-gateway=ping distance=1 gateway=192.168.11.1 routing-mark=to_WAN2

add check-gateway=ping distance=1 gateway=192.168.10.1,192.168.11.1
--------------------------------------------------------------------------
Load Balancing in Mikrotik Router Board.
Load balancing a with multiple gateways 2 WAN Links
10 Mbps + 10 Mbps = 20 Mbps

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

hAP mini, hAP lite
CRS1xx, CRS2xx, CRS312-4C+8XG, CRS326-24S+2Q+, DISC, FiberBox, , LDF, LHG, ltAP mini, mANTBox, mAP, NetBox, PowerBox, PWR-Line, QRT, RB9xx, SXTsq, cAP, hEX Lite, RB4xx, wAP, , RB2011, SXT, OmniTik, Groove, Metal, Sextant, RB7xx, hEX
CCR
RB3xx, RB600, RB8xx,
cAP ac, CRS305-1G-4S+, CRS309-1G-8S+, CRS317-1G-16S+, CRS326-24G-2S+, CRS328-24P-4S+, CRS328-4C-20S-4S+, DISC AC, hAP ac², LDF ac, LHG ac, , SXTsq (ac series), Wireless Wire,
RB230, X86
2.4 GHZ, 5 GHZ,dual radio,
Using the Device Discovery Tool
How to Upgrade Firmware on M Series Devices
Fiber PoE Accessory
UniFi Security Gateway
UniFi Cloud Key
EdgePower 24V
NanoStation M
PoE Adapters
UniFi Switch PoE 24/48
EdgeRouter X

---------------------------------------------
Рекомендации по теме
Комментарии
Автор

Very Informative articles, especially for newbies ! Your way/pace of explaining is excellent - Keep up the good work !
could I request you for a 3 LAN with 3WAN load balancing with failover (or perhaps you already have some link for it ??)

vidurm
Автор

bahi ak ghuzarish hy k esi video men jo ap ny setting ki hy yh hi setting 3, ya 4 wan load blancing ka script bna deen boht boht shukria bahi

irfanfaaneje
Автор

Excellent work and thanks for such a short cut video

meerab
Автор

Good work in a decent way.
sir please /23 k saath Mikrotik configuration without DHCP py video bna dy. shukria

Irfanali-goqw
Автор

literaly is sy easy way ma koi nahi samjha sakta or na hi koi video bna sakta ha

muhammadshahzaib
Автор

bahi boht boht thanks . sirf ak msla hy ab (ether3) (ether4) en ko kesy active kreen jesy (ether5) sy hum ny net use kia hy

irfanfaaneje
Автор

Good Work thanks too much easy method.

raonasir
Автор

Zabardast Bhai mery 3, 4 sawal hain kia AP answer dy dain or Kis platform pr puchon

Munibadnamhoi
Автор

Sir mujhe bataye, agr load balancing .hoi hai hame kisi user ya IP ko ek hi company ka internet dena ho to kya

Erkapil
Автор

Aoa
brother recursive routing with failover and second isp use for some user iski aik video bna dain

nosharwangujar
Автор

Assalamu alaikum sir mere paas 4G router hai jismein different network ki sim hy jo saime speed Nahin hai uski setting ke bare mein please video upload Karen thank u jajakallah

Muhammadimran-ipkq
Автор

Aoa
Sir i need recommendations on following setup.
WAN 1 = 25MB, WAN 2= 20MB WAN 3= 30MB Total Net 75MB
Should i use routerBoard or PfSense.
I need LoadBalance with Failover. Thanks

kashifrizwan
Автор

Aslam o alikim dear brother main ne 2 network chalne hai 1 pai hai or ak zong hai lakin wo ni chal rahy na load belancing say na routing say q k dono network k dns allg allg hai kindly help

imtiazhussainrehan
Автор

Brother 30days me expire ho jay hotspot ho ya pppoe ho script wali video or script upload kry please

raoatifnetwork
Автор

Hy sir min ek isp hun kya ye kam karega

ready
Автор

Sir ham port 16 q rkhty hain kindly reply please im wting

zoomin
Автор

Bhai apna login page ka link dy do please download krna Hy

raoatifnetwork
Автор

Examples 3 wan 210 Mbps main YouTube 3 MB all traffic 1 MB download pppoe server with like pannel

anisgazdar