From owner-freebsd-net@FreeBSD.ORG Fri Jan 3 08:37:51 2014 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id BE49DD92 for ; Fri, 3 Jan 2014 08:37:51 +0000 (UTC) Received: from mail-pb0-x235.google.com (mail-pb0-x235.google.com [IPv6:2607:f8b0:400e:c01::235]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 8DF5F1669 for ; Fri, 3 Jan 2014 08:37:51 +0000 (UTC) Received: by mail-pb0-f53.google.com with SMTP id ma3so15363452pbc.40 for ; Fri, 03 Jan 2014 00:37:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=mbVkyhtQ3Hl7e4IR5cl4Ioo6sKe4bs7TDXmTR9l0Znc=; b=D+Fr1qKnDTw3Sb0/S4aDHgFGh4hFyPYu8HbNi5/Deq8JSGQLs6t3VZdTxauOWKpLOU MU2VTeLt+FPWOXoZcBTVQGQYij3mv6Rt0ATkcO3iFu1QEzXsIzvsiJ9Y8c0AtdHI5XEj cK0H+8JhbiR2DG1RRWyb5B0c7YgTr3VgS0DXxRaMBgFJPJfUZfWC8/J6jFrTfvrhHyqt IyQyHQje2cmCkUXsoCJ0LBmYKartIe8YvJ7zfHcWC8ZbI3VvotVKsOBkOLOLBxmoXfPB dsTAR90bUXufb3MA+dbznRM0w8Ax2NiuyExmncNhhnKk6hlZSHUjQ6dUjSWmIzpM4TSr 0pHQ== MIME-Version: 1.0 X-Received: by 10.68.232.132 with SMTP id to4mr92451634pbc.141.1388738271222; Fri, 03 Jan 2014 00:37:51 -0800 (PST) Received: by 10.70.127.143 with HTTP; Fri, 3 Jan 2014 00:37:50 -0800 (PST) Received: by 10.70.127.143 with HTTP; Fri, 3 Jan 2014 00:37:50 -0800 (PST) In-Reply-To: References: Date: Fri, 3 Jan 2014 10:37:50 +0200 Message-ID: Subject: Re: Interface routes left over undeletable with RADIX_MPATH From: Sami Halabi To: Nikolay Denev Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.17 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: Fri, 03 Jan 2014 08:37:51 -0000 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" =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" >