From owner-freebsd-net@FreeBSD.ORG Tue Jan 11 18:00:49 2011 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 18A531065675 for ; Tue, 11 Jan 2011 18:00:49 +0000 (UTC) (envelope-from melissa-freebsd@littlebluecar.co.uk) Received: from filter.blacknosugar.com (filter.blacknosugar.com [212.13.204.214]) by mx1.freebsd.org (Postfix) with ESMTP id BF97C8FC0C for ; Tue, 11 Jan 2011 18:00:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=littlebluecar.co.uk; s=dkim; h=Subject:To:References:Message-Id:Content-Transfer-Encoding:Cc:Date:In-Reply-To:From:Content-Type:Mime-Version; bh=H+6jnXtcuc0u5ewCrLoPix9RiNXeAhjNaFTE+N0SbtQ=; b=gbiSZwSy54YBj+V3mdLa56jnUS+M2Jfb/0vj/am9VEv/UdIHwRXLJtfLxQKnWmWBWpOAQRE25BJLz+PV5yN3wXA6RW67PlwmnffURh5n4Qy7ANtRKOsyR/Ke/AyPy7MJ; Received: from bowser.blacknosugar.com ([78.86.203.16] helo=[192.168.1.59]) by filter.blacknosugar.com with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.71 (FreeBSD)) (envelope-from ) id 1PciWS-000ASs-DB; Tue, 11 Jan 2011 18:00:46 +0000 Mime-Version: 1.0 (Apple Message framework v1082) Content-Type: text/plain; charset=us-ascii From: Melissa Jenkins In-Reply-To: Date: Tue, 11 Jan 2011 18:00:38 +0000 Content-Transfer-Encoding: quoted-printable Message-Id: <2F834993-9338-4D1A-B71A-2166EB427629@littlebluecar.co.uk> References: <63A5C79A-B4C3-42C3-9B76-1F2EB04DB871@littlebluecar.co.uk><01EE1F52-3393-4A43-882F-C35677CB0754@gmail.com> To: freebsd-net@freebsd.org X-Mailer: Apple Mail (2.1082) X-SA-Exim-Connect-IP: 78.86.203.16 X-SA-Exim-Mail-From: melissa-freebsd@littlebluecar.co.uk X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on filter X-Spam-Level: X-Spam-Status: No, score=-2.9 required=5.0 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.3.1 X-SA-Exim-Version: 4.2 X-SA-Exim-Scanned: Yes (on filter.blacknosugar.com) Cc: "Li, Qing" Subject: Re: PPP and Route Delete X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 11 Jan 2011 18:00:49 -0000 > The self-pointing route 10.0.5.1 should have multiple references set = on > it, and that route won't be deleted from the routing table until the=20= > last reference is removed. >=20 > You can verify that by checking the "netstat" output, the "Ref" column > after tun1 has been created. >=20 > The above has been verified with both mpd and other tests. Thank you! The bit I had neglected to mention (as the bug report suggested it was a = problem with the local route table) was that we are re-distributing = routes using openbgpd. I have confirmed that the openbgpd code has no = concept of this reference counting and simply removes the route from the = table that is being sent out. =20 Sorry for the noise - I should have spotted that myself :( Mel=20=