Hi there…
I’ve got a freshly bought RB2011UiAS-2HnD-In.
My goal is to set a failover+load ballance.
I have:
Ether1-WAN1 (dhcp) 192.168.1.x
Ether2-WAN2 (static IP) 80.55…
Bridge1 (ether3-9 + Wlan) local network 192.168.0.x
Now, I’ve configured rOS acordingly to:
https://mum.mikrotik.com/presentations/KE18/presentation_5110_1517560105.pdf
Basically it runs but:
- Shall I expect combined WAN performance results with both WAN online on speedtest? If so I…don’t.
- When disconnecting WAN1 cable I can’t ping pretty much anything from LAN to outside no matter by address name or IP… BUT internet itself seems to work anyway. For example I can’t ping google.com but I’m able to open web page, email client works aswell. Router itself can ping nicely.
- Can I modify setup to improve WAN1/WAN2 internet detection? Like instead of checking gateway to check some outside IPs (even multiple ones)?
PS: Some setup preview:
/ip firewall nat
0 chain=srcnat action=masquerade out-interface=ether1-WAN1 log=no
log-prefix=""
1 chain=srcnat action=masquerade out-interface=ether2-WAN2 log=no
log-prefix=""
/ip firewall mangle print
0 D ;;; special dummy rule to show fasttrack counters
chain=prerouting action=passthrough
1 D ;;; special dummy rule to show fasttrack counters
chain=forward action=passthrough
2 D ;;; special dummy rule to show fasttrack counters
chain=postrouting action=passthrough
3 chain=prerouting action=accept dst-address=192.168.1.0/24
in-interface=Bridge1
4 chain=prerouting action=accept dst-address=80.x.x.0/24
in-interface=Bridge1
5 chain=input action=mark-connection new-connection-mark=Wan1_conn
passthrough=yes connection-mark=no-mark in-interface=ether1-WAN1
6 chain=input action=mark-connection new-connection-mark=Wan2_conn
passthrough=yes connection-mark=no-mark in-interface=ether2-WAN2
7 chain=prerouting action=mark-connection new-connection-mark=Wan1_conn
passthrough=yes dst-address-type=!local connection-mark=no-mark
in-interface=Bridge1
per-connection-classifier=both-addresses-and-ports:2/0
8 chain=prerouting action=mark-connection new-connection-mark=Wan2_conn
passthrough=yes dst-address-type=!local connection-mark=no-mark
in-interface=Bridge1
per-connection-classifier=both-addresses-and-ports:2/1
9 chain=prerouting action=mark-routing new-routing-mark=to_Wan1
passthrough=no connection-mark=Wan1_conn in-interface=Bridge1
10 chain=prerouting action=mark-routing new-routing-mark=to_Wan2
passthrough=no connection-mark=Wan2_conn in-interface=Bridge1
11 chain=output action=mark-routing new-routing-mark=to_Wan1
connection-mark=Wan1_conn
12 chain=output action=mark-routing new-routing-mark=to_Wan2
connection-mark=Wan2_conn
/ip address print
# ADDRESS NETWORK INTERFACE
0 192.168.0.1/24 192.168.0.0 Bridge1
1 80.x.x.x/29 80.x.x.x ether2-WAN2
2 D 192.168.1.110/24 192.168.1.0 ether1-WAN1