Just a side note, it would be better to consider next hop as an object which would be always set as a whole. It would also allow to change ecmp route gws. Anyway, it is still in plan with no concrete date when we will implement it. Maria On November 5, 2018 5:05:28 PM GMT+01:00, Ondrej Zajicek <santiago@crfreenet.org> wrote:
On Mon, Nov 05, 2018 at 04:48:10PM +0100, Alexander Zubkov wrote:
Wow. This settings makes route via interface only? I.e. also undefines gateway?
Yes. Gateway and iface are interconnected, which has some minor weird effects in filter language, like setting gw resets iface (to one associated with that IP) and conversely setting ifname unsets gateway. Even if one sets the property to the value it already had before ;-).
Not sure if that is best behavior, but the alternative (having them independent) would probably be more unexpected.
-- Elen sila lumenn' omentielvo
Ondrej 'Santiago' Zajicek (email: santiago@crfreenet.org) OpenPGP encrypted e-mails preferred (KeyID 0x11DEADC3, wwwkeys.pgp.net) "To err is human -- to blame it on a computer is even more so."
-- Sent from my Android device with K-9 Mail. Please excuse my brevity.