Date: Thu, 16 Jul 2009 14:04:20 -0400 From: Brent Bloxam <brentb@beanfield.com> To: Mel Flynn <mel.flynn+fbsd.questions@mailing.thruhere.net> Cc: freebsd-questions@freebsd.org, Nikos Vassiliadis <nvass9573@gmx.com> Subject: Re: FreeBSD & FIBs (setfib) - How to modify? Message-ID: <4A5F6BA4.9050707@beanfield.com> In-Reply-To: <200907161000.18544.mel.flynn%2Bfbsd.questions@mailing.thruhere.net> References: <4A5F3D48.608@beanfield.com> <4A5F651D.9050205@beanfield.com> <4A5F679F.3000705@gmx.com> <200907161000.18544.mel.flynn%2Bfbsd.questions@mailing.thruhere.net>
next in thread | previous in thread | raw e-mail | index | archive | help
Mel Flynn wrote: > I guess the main question here is "what is 10?" or what is an FIB?. How does > one create such an FIB id (which I can't find in docs either). For example, on > my system if I do: > % setfib 2 fetch http://www.freebsd.org/docs.html > setfib: 2: invalid FIB (max 0) > > I would expect to see some info in > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network-routing.html > > Naturally there's some info here: > http://en.wikipedia.org/wiki/Forwarding_information_base > > but that doesn't have any practical information on how to create one. I'm not sure if you're curious or trying to clarify on my question, but I'm past the point of creating and was interested in modifying. Just incase anyone is interested, see the end of the 7.1-RELEASE Errata here: http://www.freebsd.org/releases/7.1R/errata.html > FreeBSD now supports multiple routing tables. To enable this, the following steps are needed: > > * > > Add the following kernel configuration option and rebuild the kernel. The 2 is the number of FIB (Forward Information Base, synonym for a routing table here). The maximum value is 16. > > options ROUTETABLES=2 > > The procedure for rebuilding the FreeBSD kernel is described in the FreeBSD Handbook. > > This number can be modified on boot time. To do so, add the following to /boot/loader.conf and reboot the system: > > net.fibs=6 > Note that net.fibs can only be modified _after_ the kernel has been compiled with the ROUTETABLES option. You can view the current settings related to FIBs with sysctl
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4A5F6BA4.9050707>