Date: Mon, 7 Jun 1999 14:51:35 +0100 From: Tony Finch <fanf@demon.net> To: dgaudet@arctic.org Cc: net@freebsd.org Subject: Re: cidr aliases Message-ID: <E10qzoN-0005Cj-00@fanf.noc.demon.net> In-Reply-To: <Pine.LNX.3.96dg4.990506170025.9393R-100000@twinlark.arctic.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Dean Gaudet <dgaudet-list-freebsd-net@arctic.org> wrote: > >We have an application which requires a godawfully large number of aliases >on one box. The linear list used to handle this stuff in 2.2.x (and 3.1.x >from what I can tell) just isn't cutting it. > >We essentially allocate entire CIDR blocks to a single box. So naturally >it'd be cool if we could just alias the entire CIDR block in one fell >swoop... this would reduce the kernel structures down to the minimum. We've been doing this at Demon since NetBSD 1.0 but haven't released the code for various reasons until now. I've PRed our patch as kern/12071 if you want to look at it. An alias is a net alias if the address is a network base address, i.e. address & ~netmask == 0. I also added some code to allow a listen()ing daemon to bind to a netaliased interface. Tony. -- f.a.n.finch dot@dotat.at fanf@demon.net black dog To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E10qzoN-0005Cj-00>