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