From owner-freebsd-net@FreeBSD.ORG Thu Jan 9 09:07:58 2014 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id AF916B26 for ; Thu, 9 Jan 2014 09:07:58 +0000 (UTC) Received: from mail.ipfw.ru (mail.ipfw.ru [IPv6:2a01:4f8:120:6141::2]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 7054B1DB4 for ; Thu, 9 Jan 2014 09:07:58 +0000 (UTC) Received: from [2a02:6b8:0:401:222:4dff:fe50:cd2f] (helo=ptichko.yndx.net) by mail.ipfw.ru with esmtpsa (TLSv1:CAMELLIA256-SHA:256) (Exim 4.76 (FreeBSD)) (envelope-from ) id 1W17lG-000CnK-9P; Thu, 09 Jan 2014 09:02:30 +0400 Message-ID: <52CE6636.5080503@FreeBSD.org> Date: Thu, 09 Jan 2014 13:04:54 +0400 From: "Alexander V. Chernikov" User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:24.0) Gecko/20100101 Thunderbird/24.0.1 MIME-Version: 1.0 To: Sami Halabi , Nikolay Denev Subject: Re: Interface routes left over undeletable with RADIX_MPATH References: In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Cc: freebsd-net@freebsd.org X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 Jan 2014 09:07:58 -0000 On 03.01.2014 12:37, Sami Halabi wrote: > 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 Hello. This should be fixed in r260379. However, fix is partial: 1) Interface aliases with the same netmask generates 2 interface routes and delete does not work properly 2) IPv6 code still does not work properly I'm working on this. > > Sami > בתאריך 2 בינו 2014 12:29, "Nikolay Denev" כתב: > >> 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" >> > _______________________________________________ > 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"