Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 19 Feb 1997 11:51:17 -0500
From:      jc@irbs.com (John Capo)
To:        rbickers@intercenter.net (Ron Bickers)
Cc:        isp@FreeBSD.ORG
Subject:   Re: ypbind and many interface aliases
Message-ID:  <19970219115117.KS43971@irbs.com>
In-Reply-To: <Pine.NEB.3.95.970219105533.2668F-100000@bigboy.intercenter.net>; from Ron Bickers on Feb 19, 1997 10:59:35 -0500
References:  <Pine.BSF.3.91.970219102234.21032A-100000@nero.in-design.com> <Pine.NEB.3.95.970219105533.2668F-100000@bigboy.intercenter.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Quoting Ron Bickers (rbickers@intercenter.net):
> 
> I'm running FreeBSD 2.1.6 + those patches that are suppose to show up as
> 2.1.7 someday.
> 
> ypbind will not bind with more than about 30 interface aliases (as in
> 'ifconfig x.x.x.x alias' for web hosting).  The portmapper forks like mad
> until 'Cannot fork' messages show up in the log and until I kill ypbind. 
> Anyone else using yp and many interfaces without this problem?  Or if you
> have this problem, what's the fix? 
> 

The best solution is to not use aliases on a broadcast interface
if you are running YP.   Alias a subnet to lo0 instead and announce
a route to the aliased net.

Quite a while back I filed a PR with a hack to getbroadcastnets()
that gets around the problem.  I can dig it up if you want it.

John Capo




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