From owner-freebsd-questions@FreeBSD.ORG Tue Mar 1 16:19:18 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 83BAC16A4CE for ; Tue, 1 Mar 2005 16:19:18 +0000 (GMT) Received: from clunix.cl.msu.edu (clunix.cl.msu.edu [35.9.2.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id B9EA643D67 for ; Tue, 1 Mar 2005 16:19:17 +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 j21GJ9L05511; Tue, 1 Mar 2005 11:19:09 -0500 (EST) From: Jerry McAllister Message-Id: <200503011619.j21GJ9L05511@clunix.cl.msu.edu> To: tedm@toybox.placo.com (Ted Mittelstaedt) Date: Tue, 1 Mar 2005 11:19:07 -0500 (EST) In-Reply-To: from "Ted Mittelstaedt" at Feb 28, 2005 09:20:30 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 cc: "Jason D. Montgomery" 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: Tue, 01 Mar 2005 16:19:18 -0000 > > owner-freebsd-questions@freebsd.org wrote: > > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/confi > > gtuning-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" > > No. The actual command to make one is: > > ifconfig fxp0 inet 10.1.1.2 netmask 255.255.255.255 alias > > So you do need to pass the "inet" to ifconfig. The _alias0 makes > the script pass the trailing "alias" Hmmmm, So what is happening when no 'inet' is in the string? It seems to work fine. Is something still not right and just waiting to explode? We have lots of servers configured that way. ////jerry > > Ted >