MikroTik-Load-Balancing-Generator — Kostenloses ISP-Tool
Anfrage fehlgeschlagen, bitte erneut versuchen
Etwas ist schiefgelaufen!
Load-Balancing- oder Failover-Konfiguration mit zwei Uplinks für RouterOS 7.
/routing table add name=to-wan1 fib
/routing table add name=to-wan2 fib
/ip firewall address-list add list=lan address=192.168.88.0/24
/ip firewall mangle
add chain=prerouting in-interface=ether1 connection-mark=no-mark action=mark-connection new-connection-mark=wan1-conn passthrough=yes
add chain=prerouting in-interface=ether2 connection-mark=no-mark action=mark-connection new-connection-mark=wan2-conn passthrough=yes
add chain=prerouting src-address-list=lan dst-address-type=!local connection-mark=no-mark per-connection-classifier=both-addresses:10/0 action=mark-connection new-connection-mark=wan1-conn passthrough=yes
add chain=prerouting src-address-list=lan dst-address-type=!local connection-mark=no-mark per-connection-classifier=both-addresses:10/1 action=mark-connection new-connection-mark=wan1-conn passthrough=yes
add chain=prerouting src-address-list=lan dst-address-type=!local connection-mark=no-mark per-connection-classifier=both-addresses:10/2 action=mark-connection new-connection-mark=wan1-conn passthrough=yes
add chain=prerouting src-address-list=lan dst-address-type=!local connection-mark=no-mark per-connection-classifier=both-addresses:10/3 action=mark-connection new-connection-mark=wan1-conn passthrough=yes
add chain=prerouting src-address-list=lan dst-address-type=!local connection-mark=no-mark per-connection-classifier=both-addresses:10/4 action=mark-connection new-connection-mark=wan1-conn passthrough=yes
add chain=prerouting src-address-list=lan dst-address-type=!local connection-mark=no-mark per-connection-classifier=both-addresses:10/5 action=mark-connection new-connection-mark=wan1-conn passthrough=yes
add chain=prerouting src-address-list=lan dst-address-type=!local connection-mark=no-mark per-connection-classifier=both-addresses:10/6 action=mark-connection new-connection-mark=wan1-conn passthrough=yes
add chain=prerouting src-address-list=lan dst-address-type=!local connection-mark=no-mark per-connection-classifier=both-addresses:10/7 action=mark-connection new-connection-mark=wan2-conn passthrough=yes
add chain=prerouting src-address-list=lan dst-address-type=!local connection-mark=no-mark per-connection-classifier=both-addresses:10/8 action=mark-connection new-connection-mark=wan2-conn passthrough=yes
add chain=prerouting src-address-list=lan dst-address-type=!local connection-mark=no-mark per-connection-classifier=both-addresses:10/9 action=mark-connection new-connection-mark=wan2-conn passthrough=yes
add chain=prerouting src-address-list=lan connection-mark=wan1-conn action=mark-routing new-routing-mark=to-wan1 passthrough=no
add chain=output connection-mark=wan1-conn action=mark-routing new-routing-mark=to-wan1 passthrough=no
add chain=prerouting src-address-list=lan connection-mark=wan2-conn action=mark-routing new-routing-mark=to-wan2 passthrough=no
add chain=output connection-mark=wan2-conn action=mark-routing new-routing-mark=to-wan2 passthrough=no
/ip route
add dst-address=0.0.0.0/0 gateway=192.0.2.1 routing-table=to-wan1 check-gateway=ping
add dst-address=0.0.0.0/0 gateway=192.0.2.1 distance=1 check-gateway=ping
add dst-address=0.0.0.0/0 gateway=198.51.100.1 routing-table=to-wan2 check-gateway=ping
add dst-address=0.0.0.0/0 gateway=198.51.100.1 distance=2 check-gateway=ping
/ip firewall nat
add chain=srcnat out-interface=ether1 action=masquerade
add chain=srcnat out-interface=ether2 action=masqueradeFür RouterOS 7 geschrieben. Entfernen Sie zuerst vorhandene Standardrouten und wenden Sie es über die Konsole an, nicht über die Verbindung, die Sie ändern.
Schließen Sie sich Tausenden zufriedener Kunden an, die ihre Abrechnung und ihren Netzbetrieb mit ISPman neu aufgestellt haben. Unsere Plattform hilft Ihnen, Ihr Geschäft effizient zu skalieren – optimieren Sie Ihre Prozesse und verbessern Sie das Kundenerlebnis.
An einem Wochenende live
Begleitetes Onboarding
Support, der antwortet
Echte Techniker, am selben Tag
Eigene Hardware nutzen
MikroTik, Ruijie, OLTs