From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Jason@zx2c4.com Received: from krantz.zx2c4.com (localhost [127.0.0.1]) by krantz.zx2c4.com (ZX2C4 Mail Server) with ESMTP id 50ecdcea for ; Thu, 10 Aug 2017 18:20:57 +0000 (UTC) Received: from frisell.zx2c4.com (frisell.zx2c4.com [192.95.5.64]) by krantz.zx2c4.com (ZX2C4 Mail Server) with ESMTP id 38250c17 for ; Thu, 10 Aug 2017 18:20:57 +0000 (UTC) Received: by frisell.zx2c4.com (ZX2C4 Mail Server) with ESMTP id 5e854e9a for ; Thu, 10 Aug 2017 18:40:00 +0000 (UTC) Received: by frisell.zx2c4.com (ZX2C4 Mail Server) with ESMTPSA id f8970bc6 (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128:NO) for ; Thu, 10 Aug 2017 18:39:59 +0000 (UTC) Received: by mail-io0-f182.google.com with SMTP id j32so12877788iod.0 for ; Thu, 10 Aug 2017 11:43:03 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: References: From: "Jason A. Donenfeld" Date: Thu, 10 Aug 2017 20:43:02 +0200 Message-ID: Subject: Re: Multihomed server issue To: Wang Jian Content-Type: text/plain; charset="UTF-8" Cc: WireGuard mailing list , Jan De Landtsheer List-Id: Development discussion of WireGuard List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Thu, Aug 10, 2017 at 4:29 PM, Jason A. Donenfeld wrote: > It seems like the problem you're facing is that B does not belong to > I, because B belongs to an unrouted dummy0 interface. The solution > would be to change the question of step 4 to instead ask if _any_ > interface contains B, not just the returned interface I. While this is > essentially what's done for IPv6, I'm not certain this is the correct > behavior for IPv4. This looks like http://ix.io/z3d if you want to try it and report back. Jason