*BSD News Article 66999


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.mira.net.au!inquo!in-news.erinet.com!bug.rahul.net!rahul.net!a2i!genmagic!sgigate.sgi.com!news.msfc.nasa.gov!newsfeed.internetmci.com!in2.uu.net!csnews!coopnews.coop.net!hops.entertain.com!usenet
From: dwatson@abwam.com (Darryl Watson)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: Multiple IP address : what's the limit ?
Date: 25 Apr 1996 14:28:13 GMT
Organization: ABWAM, Inc.
Lines: 23
Message-ID: <4lo25t$rt4@hops.entertain.com>
References: <317E4080.41C6@marben.be> <4lmub0$f8q@tribune.concentric.net>
NNTP-Posting-Host: 199.45.153.241
X-Newsreader: WinVN 0.92.5

In article <4lmub0$f8q@tribune.concentric.net>, Yadra@cris.com (Howard Lamarr) says:
>
>I'm currently running 57 aliases on one ethernet card under FreeBSD 2.1R
>with the Apache Web server.  I too, would like to know the upper limit of
>aliases.  I would also like to know how to use a different Class C on the
>card from the primary one as we are running out of ips on the first Class
>C.  The ifconfig alias command doesn't appear to work with more than one
>class C.
>
>H.Lamarr
>

The issue is more a question of when your web server uses up the available
file descriptors on your system.

I have heard that when you get up to around 125 virtual hosts, the
system starts to flake.

Here is how I add IP addresses, whether they are in the same class C or
not:

	ifconfig <interface> www.whatever.com alias
	route add -host www.whatever.com 127.1