Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 20 Oct 2007 20:22:48 +0400
From:      Ruslan Ermilov <ru@freebsd.org>
To:        Netan <sunnyrama@gmail.com>
Cc:        Stephen.Clark@seclark.us, freebsd-net@freebsd.org
Subject:   Re: Dump kernel routing table
Message-ID:  <20071020162248.GA92212@team.vega.ru>
In-Reply-To: <a781470b0710191405y6ef4e751o1412393933f4d438@mail.gmail.com>
References:  <a781470b0710191016h7e91362v112af50031d1c59c@mail.gmail.com> <4718EDF1.7080200@seclark.us> <a781470b0710191405y6ef4e751o1412393933f4d438@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Oct 19, 2007 at 02:05:02PM -0700, Netan wrote:
> On 10/19/07, Stephen Clark <Stephen.Clark@seclark.us> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20071020162248.GA92212>