Date: Fri, 3 Jan 2014 10:37:50 +0200 From: Sami Halabi <sodynet1@gmail.com> To: Nikolay Denev <ndenev@gmail.com> Cc: freebsd-net@freebsd.org Subject: Re: Interface routes left over undeletable with RADIX_MPATH Message-ID: <CAEW%2BogZsmvkKp3C8Gf%2BHjTtGydAAPSp5mDJGNjw00UwaM1VUMw@mail.gmail.com> In-Reply-To: <CA%2BP_MZFTD8QUHiZx_W-%2B24VLXRKLr1ZEhV3SF2Epm9xPEMR4KA@mail.gmail.com> References: <CA%2BP_MZFTD8QUHiZx_W-%2B24VLXRKLr1ZEhV3SF2Epm9xPEMR4KA@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi, I've seen this problem also... My workaround : ifconfig lo0 delete (or destroy and rebuild i cant remmember) That deletef all thr ips in lo0 Sami =D7=91=D7=AA=D7=90=D7=A8=D7=99=D7=9A 2 =D7=91=D7=99=D7=A0=D7=95 2014 12:29,= "Nikolay Denev" <ndenev@gmail.com> =D7=9B=D7=AA=D7=91: > Hi, > > While digging around for the "rtfree 2" panics with RADIX_MPATH I've > reported in misc/185092, (yeah, should've been kern, or net, not misc) > I've noticed that the interface routes that are installed on the > loopback interface are left over when the address is removed and > RADIX_MPATH is used. Moreover, since these now I believe are flagged > as RTF_PINNED it's unable to delete them. > > Here is what happens with 10.0-RC3 GENERIC: > > # ifconfig em0 10.10.10.10/24 > # netstat -rnfinet | grep 10.10.10.10 > # 10.10.10.10 link#1 UHS 0 0 lo0 > # ifconfig em0 delete > # netstat -rnfinet | grep 10.10.10.10 > # > > However, this happens with RADIX_MPATH kernel: > > # ifconfig em0 10.10.10.10/24 > # netstat -rnfinet | grep 10.10.10.10 > # 10.10.10.10 link#1 UHS 0 0 lo0 > # ifconfig em0 delete > # netstat -rnfinet | grep 10.10.10.10 > # 10.10.10.10 link#1 UHS 0 0 lo0 > # route delete 10.10.10.10 -iface lo0 > # route: writing to routing socket: No such process > # delete host 10.10.10.10: gateway lo0 fib0: not in table > > The address is successfully removed from the em0 interface, but the > route over the loopback interface stays, even survives "route flush" > > > --Nikolay > _______________________________________________ > freebsd-net@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAEW%2BogZsmvkKp3C8Gf%2BHjTtGydAAPSp5mDJGNjw00UwaM1VUMw>