From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: tbskyd@gmail.com Received: from krantz.zx2c4.com (localhost [127.0.0.1]) by krantz.zx2c4.com (ZX2C4 Mail Server) with ESMTP id fa5e196a for ; Thu, 30 Nov 2017 06:24:40 +0000 (UTC) Received: from mail-wr0-f171.google.com (mail-wr0-f171.google.com [209.85.128.171]) by krantz.zx2c4.com (ZX2C4 Mail Server) with ESMTP id c3d4eb2e for ; Thu, 30 Nov 2017 06:24:40 +0000 (UTC) Received: by mail-wr0-f171.google.com with SMTP id k61so5542912wrc.4 for ; Wed, 29 Nov 2017 22:30:46 -0800 (PST) MIME-Version: 1.0 In-Reply-To: References: <20171129135124.GA29970@zx2c4.com> From: d tbsky Date: Thu, 30 Nov 2017 14:30:44 +0800 Message-ID: Subject: Re: multi-home difficulty To: "Jason A. Donenfeld" Content-Type: text/plain; charset="UTF-8" Cc: WireGuard mailing list List-Id: Development discussion of WireGuard List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , 2017-11-30 14:22 GMT+08:00 d tbsky : > 2017-11-30 14:15 GMT+08:00 d tbsky : >> 2017-11-29 22:49 GMT+08:00 Jason A. Donenfeld : >>> On Wed, Nov 29, 2017 at 3:16 PM, d tbsky wrote: >>>> sorry I misunderstand you. you mean I modify the script and run >>>> in my environment to reveal the problem? >>>> ok I will try to do it. >>> >>> Take what I sent you. Run it. If it breaks, send me the output and >>> your kernel. If it doesn't break, mess with it until it breaks, and >>> then send it back to me. >> >> Hi jason: >> >> "uname -a" result: >> >> Linux localhost.localdomain 3.10.0-693.5.2.el7.x86_64 #1 SMP Thu Oct >> 19 10:13:14 CDT 2017 x86_64 x86_64 x86_64 GNU/Linux >> >> your original script runs fine under my environment. >> I add three 3 lines before "ip1 link add veth1" to reveal the problem: >> >> ip1 link add dummy0 type dummy >> ip1 addr add 10.0.0.10/24 dev dummy0 >> ip1 link set dummy0 up >> > > sorry my fault. incorrect copy paste to email break the script. script > as attachment. > > Regards, > tbskyd Hi jason: sorry the routing is not correct under the situation. I will add more rules to see if I can make a normal environment to reveal the problem.