From owner-freebsd-questions Sun Sep 1 12:12:39 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id MAA10271 for questions-outgoing; Sun, 1 Sep 1996 12:12:39 -0700 (PDT) Received: from solar.os.com (craigs@solar.os.com [199.232.136.65]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id MAA10266 for ; Sun, 1 Sep 1996 12:12:36 -0700 (PDT) Received: (from craigs@localhost) by solar.os.com (8.7/8.7.0) id PAA00284; Sun, 1 Sep 1996 15:23:34 -0400 Date: Sun, 1 Sep 1996 15:23:34 -0400 From: Craig Shrimpton Subject: Re: Aliasing question To: Steve cc: questions@freebsd.org In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk On Sun, 1 Sep 1996, Steve wrote: > I'm running multiple Web site on a FreeBSD system and when I'm on > that system, I cannot ping to the aliased sites. These are the commands > that I use to setup the alias address: > > /sbin/ifconfig de0 alias 199.245.191.160 > route add -host www.metwest.com 199.245.191.160 > Do it like this: ifconfig de0 inet 199.245.191.160 alias route add -host www.metwest.com 127.0.0.1 Also, sometimes you have to do the ifconfig twice. (On 2.1.0) Craig +------------------------------------+--------------------------------------+ | Craig Shrimpton | e-mail: craigs@os.com | | Orbit Systems | information: info@os.com | | Worcester, MA 508.753.8776 | http://www.os.com/ | +------------------------------------+--------------------------------------+ _/_/_/_/ _/_/_/_/ _/_/_/_/ _/_/_/_/ _/_/_/_/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/_/_/ _/_/_/_/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/_/_/_/ _/ _/ _/_/_/_/ _/_/_/_/ _/ Strategic Systems