From owner-freebsd-questions@FreeBSD.ORG Mon Feb 28 22:53:41 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6AFBF16A4CE for ; Mon, 28 Feb 2005 22:53:41 +0000 (GMT) Received: from clunix.cl.msu.edu (clunix.cl.msu.edu [35.9.2.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id CA39443D5F for ; Mon, 28 Feb 2005 22:53:40 +0000 (GMT) (envelope-from jerrymc@clunix.cl.msu.edu) Received: (from jerrymc@localhost) by clunix.cl.msu.edu (8.11.7p1+Sun/8.11.7) id j1SMrcE01560; Mon, 28 Feb 2005 17:53:38 -0500 (EST) From: Jerry McAllister Message-Id: <200502282253.j1SMrcE01560@clunix.cl.msu.edu> To: jason@atgi.com (Jason D. Montgomery) Date: Mon, 28 Feb 2005 17:53:38 -0500 (EST) In-Reply-To: <5C6F478A90E6034BBDCF6D754D7850BC66F118@DERRIDA.atgi.com> from "Jason D. Montgomery" at Feb 28, 2005 03:07:26 PM X-Mailer: ELM [version 2.5 PL2] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit cc: questions@freebsd.org Subject: Re: Documentation Error? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Feb 2005 22:53:41 -0000 > > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/configtuning-v > irtual-hosts.html > > states that adding a virtual address is done in rc.conf like this: > > ifconfig_fxp0="inet 10.1.1.1 netmask 255.255.255.0" > ifconfig_fxp0_alias0="inet 10.1.1.2 netmask 255.255.255.255" > > Shouldn't it be this instead? > > ifconfig_fxp0="inet 10.1.1.1 netmask 255.255.255.0" > ifconfig_fxp0_alias0="alias 10.1.1.2 netmask 255.255.255.255" > > (keyword passed to ifconfig is alias instead of inet) > It shouldn't be either. It should be: ifconfig_fxp0_alias0="10.1.1.2 netmask 255.255.255.255" With neither 'inet' or 'alias' within the quotes for the alias definition. At least that is the way it works for us on about 75 servers. ////jerry > > > later, > > jason > > -=-=-=-=-=-=-=-=-=-=- > > jason d. montgomery > > ATGi > > -=-=-=-=-=-=-=-=-=-=- >