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.11.0/24
------------------------------------------------------------------------------------------------------
Script:---------------------------------------------------
/ip firewall mangle
add action=accept chain=prerouting dst-address=192.168.11.0/24
add action=accept chain=prerouting dst-address=192.168.12.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.11.1 routing-mark=to_WAN1
add check-gateway=ping distance=1 gateway=192.168.12.1 routing-mark=to_WAN2
add check-gateway=ping distance=1 gateway=192.168.11.1,192.168.12.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
/ @hadinetwork
• MikroTik Tutorial 16 - How to view an...
• MikroTik Tutorial 15 - LiteBeam 5AC 1...
• MikroTik Tutorial 14 - How to use IP ...
• MikroTik Tutorial 13 - How to Use Tra...
• MikroTik Tutorial 12 - 2 WAN Load Bal...
• MikroTik Tutorial 11 - How to Create ...
• MikroTik Tutorial 10 - How to Block S...
• MikroTik Tutorial 9 - How to use Safe...
• MikroTik Tutorial 16 - How to use Ptc...
• MikroTik Tutorial 8 - How to Convert ...
• MikroTik Tutorial 7 - How to Connect ...
• MikroTik Tutorial 6 - How to Block W...
• MikroTik Tutorial 5- Radius Server Co...
• MikroTik Tutorial 4 - How to Access M...
• MikroTik Tutorial 2- Basic Settings f...
• MikroTik Tutorial 18 - How To Monitor...
-----------------------------------------------------------------
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
---------------------------------------------
#hadinetwrok.com
Информация по комментариям в разработке