From owner-freebsd-stable Thu Jan 27 4:21:34 2000 Delivered-To: freebsd-stable@freebsd.org Received: from gndrsh.dnsmgr.net (GndRsh.dnsmgr.net [198.145.92.4]) by hub.freebsd.org (Postfix) with ESMTP id 06C3415202 for ; Thu, 27 Jan 2000 04:21:31 -0800 (PST) (envelope-from freebsd@gndrsh.dnsmgr.net) Received: (from freebsd@localhost) by gndrsh.dnsmgr.net (8.9.3/8.9.3) id EAA76809; Thu, 27 Jan 2000 04:19:19 -0800 (PST) (envelope-from freebsd) From: "Rodney W. Grimes" Message-Id: <200001271219.EAA76809@gndrsh.dnsmgr.net> Subject: Re: Multiple IP addresses In-Reply-To: <20000127121120.A36056@lindt.urgle.com> from Mike Bristow at "Jan 27, 2000 12:11:20 pm" To: mike@urgle.com (Mike Bristow) Date: Thu, 27 Jan 2000 04:19:19 -0800 (PST) Cc: mylists@inr.net (N.B. DelMore), freebsd-stable@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL54 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG This hack promotes violation of ARIN and other IN registry policies regarding use of IP space. > On Mon, Jan 24, 2000 at 04:34:23AM -0500, N.B. DelMore wrote: > > I then added an entry in /etc/rc.local to run the following shell script: > > > > #!/bin/sh > > > > /sbin/ifconfig lo0 xxx.xxx.xxx.0 netmask 0xffffff00 alias > > /sbin/ifconfig lo0 xxx.xxx.xxx.1 netmask 0xffffffff alias > > /sbin/ifconfig lo0 xxx.xxx>xxx.2 netmask 0xffffffff alias > > > > through > > > > /sbin/ifconfig lo0 198.77.215.255 netmask 0xffffffff alias > > Looks like a job for netalias: see > http://www.FreeBSD.org/cgi/query-pr.cgi?pr=12071 > > apply, rebuild, and then you just need: > ifconfig lo0 xxx.xxx.xxx.0 netmask 0xffffff00 alias > > which will configure the whole network up. > > It would be nice if this was in the canonical source; large > web farms (using HTTP/1.0 or SSL) would find this kind of ability > very useful - it's much faster than doing things with ipfilter and > suchlike. > > It's been in use at Demon Internet for years. > > -- > Mike Bristow, Geek At Large ``Beware of Invisible Cows'' > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-stable" in the body of the message > -- Rod Grimes - KD7CAX @ CN85sl - (RWG25) rgrimes@gndrsh.dnsmgr.net To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message