From owner-freebsd-questions@FreeBSD.ORG Tue Mar 1 05:20:31 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 1C5E616A5BB for ; Tue, 1 Mar 2005 05:20:31 +0000 (GMT) Received: from mail.freebsd-corp-net-guide.com (mail.freebsd-corp-net-guide.com [65.75.192.90]) by mx1.FreeBSD.org (Postfix) with ESMTP id B7EAA43D46 for ; Tue, 1 Mar 2005 05:20:30 +0000 (GMT) (envelope-from tedm@toybox.placo.com) Received: from tedwin2k (nat-rtr.freebsd-corp-net-guide.com [65.75.197.130]) j215KXb19611; Mon, 28 Feb 2005 21:20:33 -0800 (PST) (envelope-from tedm@toybox.placo.com) From: "Ted Mittelstaedt" To: "Jason D. Montgomery" , Date: Mon, 28 Feb 2005 21:20:30 -0800 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.6604 (9.0.2911.0) X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1478 In-Reply-To: <5C6F478A90E6034BBDCF6D754D7850BC66F118@DERRIDA.atgi.com> Importance: Normal 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 05:20:31 -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" Ted