Subject: Re: 64K problems? (fwd)
To: Erik Rungi <blackbox@openface.ca>
From: Manuel Bouyer <bouyer@antioche.lip6.fr>
List: current-users
Date: 07/19/1999 09:17:44
On Mon, Jul 19, 1999 at 02:02:38AM -0400, Erik Rungi wrote:
> 
> On the gated mailing list, there is currently a thread discussing
> possibilities where BSD based kernels will have serious problems if you have
> more than 2^16 routes associated with any one interface.  This is something
> that has the real possibility of happening with modern BGP routers.
> 
> I read that the FreeBSD solution was to change "short ifa_refcnt" in if.h to a
> long.
> 
> Looking at the "netbsd-current" source at ftp.netbsd.org, it looks like we
> have ifa_refcnt as a short.  I guess its possible that this is a problem with
> NetBSD.  I couldn't find anything related to it in the gnats database.
> 
> I'm forwarding this information to the list in case anybody was interested in
> this potential problem.  Maybe Somebody Who Knows What They Are Doing might
> want to look at it.

This was discussed a few weeks ago on tech-net. Zdenek Salvet suggested to
increase if_data.ifi_obytes and if_data.ifi_ibytes to 64bit as well.
There may be other things worth increasing at the same time.

--
Manuel Bouyer, LIP6, Universite Paris VI.           Manuel.Bouyer@lip6.fr
--