Community discussions

MikroTik App
 
Kola
newbie
Topic Author
Posts: 49
Joined: Fri Aug 02, 2013 11:42 am

ECMP route configuration problem (network + channel gateway)

Mon Jun 09, 2014 11:08 am

Hello everyone!

After 6.11 update I've got problem with ECMP route configuration. Route rule doesn't work correct if two gateways is specified and one is IP (gateway on network) while second is interface (channel connection).

This:
/ip route add comment="Default route ECMP" distance=20 gateway="pptp-out1,1.2.3.1"
leads to this:
/ip route> print
...
 3 A S  ;;; Default route ECMP
        0.0.0.0/0                          pptp-out1                20
                                           (unknown)         
in WinBox it's appearing like '1.2.3.1@unknown, pptp-out1' and only pptp-out1 connection is seems working.

To make it works I have to specify ethernet port '1.2.3.1%etherX' (though etherX is the only port on 1.2.3.0/28 network) or change channel interface entry on it's remote IP. And this error (or new rule) is since 6.11 till 6.13.

So why so?
 
Kola
newbie
Topic Author
Posts: 49
Joined: Fri Aug 02, 2013 11:42 am

Re: ECMP route configuration problem (network + channel gate

Tue Jun 17, 2014 8:53 am

Ok, if no one did I'm answering myself. This is seems due to '1.2.3.1' is an internet address (not from a private network). And once pptp-out1 connection is up this next hope is becoming reachable through etherX directly and pptp-out1 recursively. Therefore it is right to implement route rule with '1.2.3.1%etherX'.

But IMHO this behave is still bugsome. In this case should be only one active path to '1.2.3.1' - the one which is on the interface because of minimal distance.

Who is online

Users browsing this forum: AndHe, bias89, dovydasz, homerouter, vingjfg and 142 guests