* Benny Lofgren <bl-li...@lofgren.biz> [2011-01-21 19:33]: > On 2011-01-21 18.42, Peter Hessler wrote: > > On 2011 Jan 21 (Fri) at 09:51:52 -0500 (-0500), Adam M. Dutko wrote: > > :> What it's the limit of number alias that a single ethernet interface can > > :> support? > > : > > :I believe 254? > > Hahaha. > > I've had over 300k addresses on a single interface in a test environment > > before. > > > > Like Henning said, the limit is memory. > > What about performance? Is there any noticable impact with let's say a > couple of hundred alias addresses?
there is an impact, ifaddrs are kept in a simple linked list. in -current there is also an RB tree (which makes the impact much much much smaller) but it isn't used everywhere yet. -- Henning Brauer, h...@bsws.de, henn...@openbsd.org BS Web Services, http://bsws.de Full-Service ISP - Secure Hosting, Mail and DNS Services Dedicated Servers, Rootservers, Application Hosting