From owner-freebsd-net@FreeBSD.ORG Sat Oct 20 16:56:24 2007 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 B3F9216A41B for ; Sat, 20 Oct 2007 16:56:24 +0000 (UTC) (envelope-from rermilov@team.vega.ru) Received: from mail.vega.ru (mx1.vega.ru [87.242.77.163]) by mx1.freebsd.org (Postfix) with ESMTP id DCF8E13C459 for ; Sat, 20 Oct 2007 16:56:09 +0000 (UTC) (envelope-from rermilov@team.vega.ru) Received: from [87.242.97.68] (port=59262 helo=edoofus.dev.vega.ru) by mail.vega.ru with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.68 (FreeBSD)) (envelope-from ) id 1IjH6x-000Oux-Lu; Sat, 20 Oct 2007 16:23:39 +0000 Received: from edoofus.dev.vega.ru (localhost [127.0.0.1]) by edoofus.dev.vega.ru (8.14.1/8.14.1) with ESMTP id l9KGMoDp001515; Sat, 20 Oct 2007 20:22:50 +0400 (MSD) (envelope-from rermilov@team.vega.ru) Received: (from ru@localhost) by edoofus.dev.vega.ru (8.14.1/8.14.1/Submit) id l9KGMnbx001490; Sat, 20 Oct 2007 20:22:49 +0400 (MSD) (envelope-from rermilov@team.vega.ru) X-Authentication-Warning: edoofus.dev.vega.ru: ru set sender to rermilov@team.vega.ru using -f Date: Sat, 20 Oct 2007 20:22:48 +0400 From: Ruslan Ermilov To: Netan Message-ID: <20071020162248.GA92212@team.vega.ru> References: <4718EDF1.7080200@seclark.us> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.16 (2007-06-09) Cc: Stephen.Clark@seclark.us, freebsd-net@freebsd.org Subject: Re: Dump kernel routing table 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: Sat, 20 Oct 2007 16:56:24 -0000 On Fri, Oct 19, 2007 at 02:05:02PM -0700, Netan wrote: > On 10/19/07, Stephen Clark wrote: > > > > Netan wrote: > > > > >Hello > > > > > >I am using the CURRENT release. I wish to dump the kernel routing table. > > I > > >think there was a sysctl interface in 4.x FreeBSD release to print it > > from > > >userspace. Is there a way to do it now ?.. > > > > > >Sunny > > >_______________________________________________ > > >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" > > > > > > > > > > > netstat -rn > > > > All these all the rtentry's in the radix trie ? Or they distilled during > netstat -rn output ? > Try the undocumented "route -vnd flush" command. Cheers, -- Ruslan Ermilov ru@FreeBSD.org FreeBSD committer