Community discussions

MikroTik App
 
mareksuk
just joined
Topic Author
Posts: 4
Joined: Tue Feb 25, 2014 12:32 pm
Location: CZE
Contact:

Dual WAN - ping timeout on route with higher distance

Wed Aug 27, 2014 6:22 pm

Hi all,

I use 2 ISPs, one is primary [ETH1], the other is backup [ETH5].
I have a route for each of them.
Primary ISP's route is set with distance 1, backup ISP has distance 2.
In case of Primary ISP's outage it's route distance is increased by 2, so backup kicks in.
ROS version 6.18

My problem is that I get ping timeouts when I try to ping internet host using the backup interface. If I set same distance to both routes, it pings.

I dont use any mangle rules, nothing very special, just 2 WANs.

I had similar setup on the outer router (the only difference was that backup was USB 3g modem) and it pinged well.

Anybody has an idea what could be wrong?

my setup is as follows :

[admin@Router] > /ip address print
Flags: X - disabled, I - invalid, D - dynamic
# ADDRESS NETWORK INTERFACE
0 ;;; default configuration
10.0.0.1/24 10.0.0.0 Bridge
1 10.1.0.100/24 10.1.0.0 ETH1-WAN
2 46.158.248.153/32 46.158.248.153 ETH1-WAN
3 10.3.0.2/24 10.3.0.0 ETH5-Zaloha
4 D 10.0.0.1/32 10.0.0.210 VPN Marek
[admin@Router] >
[admin@Router] > /ip route print
Flags: X - disabled, A - active, D - dynamic, C - connect, S - static, r - rip, b - bgp, o - ospf, m - mme, B - blackhole, U - unreachable, P - prohibit
# DST-ADDRESS PREF-SRC GATEWAY DISTANCE
0 A S 0.0.0.0/0 10.1.0.100 10.1.0.1 1
1 S 0.0.0.0/0 10.3.0.2 10.3.0.1 2
2 ADC 10.0.0.0/24 10.0.0.1 Bridge 0
3 ADC 10.0.0.210/32 10.0.0.1 VPN Marek 0
4 ADC 10.1.0.0/24 10.1.0.100 ETH1-WAN 0
5 ADC 10.3.0.0/24 10.3.0.2 ETH5-Zaloha 0
6 ADC 46.158.248.153/32 46.158.248.153 ETH1-WAN 0
[admin@Router] > :ping seznam.cz interface ETH5-Zaloha
HOST SIZE TTL TIME STATUS
77.75.72.3 timeout
77.75.72.3 timeout
10.3.0.2 84 64 987ms host unreachable
77.75.72.3 timeout
sent=4 received=0 packet-loss=100%

Thank you.