References: <20210415230545.22317-1-themiron@...2010...> <20210416120708.1532-1-themiron@...2010...> <20210416120708.1532-2-themiron@...2010...> <20210418141537.GA976@...1296...> From: Antonio Quartulli Message-ID: Date: Sun, 18 Apr 2021 16:55:23 +0200 MIME-Version: 1.0 In-Reply-To: <20210418141537.GA976@...1296...> Content-Language: en-US Subject: Re: [Openvpn-devel] [PATCH v3 2/2] Add basic support for multipath gateway List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit To: Gert Doering , Vladislav Grishenko Cc: openvpn-devel@lists.sourceforge.net On 18/04/2021 16:15, Gert Doering wrote: > Hi, > > On Fri, Apr 16, 2021 at 05:07:08PM +0500, Vladislav Grishenko wrote: >> Load balancing setup over multiple upstreams may include multipath >> gateway route, which is not not supported by OpenVPN. >> Let's add basic support for that for selecting best route for zero >> destination address - use any one of nexthop addresses as a gateway, >> weights are not handled. > > What happens with the current code when we encounter such a situation? > > I assume it will "just not work" and find no gateway address? Yeah, nexthops groups are just not parsed. So if the default GW is configured this way, it will not be found. This said, it's very likely the main routing table will have a classic default route most of the time. Still, we want to handle nexthop groups somehow. Cheers, -- Antonio Quartulli