How to configure load sharing Or 2wan 2lan seperate in Mikrotik

Описание к видео How to configure load sharing Or 2wan 2lan seperate in Mikrotik

How to configure load sharing Or 2wan 2lan seperate in Mikrotik
-------------------------------------------------------------------------------------------------------

-eth1-Wan1:192.168.2.2/24
+lan1:192.168.10.1/24 //eth4

-eth2-Wan2:192.168.3.3/24
+lan2:192.168.20.1/24 //eht5


------Let Start--

Edit Name Interface
-ether1-Wan1
-ether2-Wan2

Create 2 Bridge
-Bridge-Lan1
-Bridge-Lan2

Add IP Address
-IP Wan1:192.168.2.2/24
-IP Wan2:192.168.3.3/24

-IP Lan1:192.168.10.1/24 //for bridge-Lan1
-IP Lan2:192.168.20.1/24 //for bridge-Lan2

Put DNS
-8.8.8.8
-8.8.4.4

Route
-Gateway Wan1:192.168.2.1
-Gateway Wan2:192.168.3.1

Setup DHCP Server
-Setup DHCP bridge-Lan1
-Setup DHCP bridge-Lan2

Nat
==} firewall ==} '+'
Nat
Chain= srcnat
out-interface= ether1-Wan1
Action= masquerade

Nat
Chain= srcnat
out-interface= ether2-Wan2
Action= masquerade

Mangle
==} bfirewall ==} '+'
Chain= prerouting
Src= 192.168.10.0/24 //Network IP Lan
Acion= mark routing
New Routing Mark= Lan1_to_Wan1
Passthrouch= yes //check box
Comment= Lan1 through Wan1

Chain= prerouting
Src= 192.168.20.0/24 //Network IP Lan
Acion= mark routing
New Routing Mark= Lan2_to_Wan2
Passthrouch= yes //check box
Comment= Lan2 through Wan2

Route
-Gateway Wan1:192.168.2.1 //gateway of wan1
Routing Mark= Lan1_to_Wan1 //it from Mangle

-Gateway Wan1:192.168.3.1 //gateway of wan2
Routing Mark= Lan2_to_Wan2 //it from Mangle

==} Let Test it....


---------------How to ping google through IP Wan in Mikrotik--

-IP Wan: 110.70.13.10

==} cmd ==} ping 8.8.8.8 sr address=110.70.13.10 //we want to know internet working or not via this IP

2 IP Public in 1 Router

-IP Wan: 110.70.13.10
-IP Wan: 103.80.97.200

==} cmd ==} ping 8.8.8.8 sr address=110.70.13.10
==} cmd ==} ping 8.8.8.8 sr address=103.80.97.200

Комментарии

Информация по комментариям в разработке