From owner-freebsd-hackers Tue Feb 24 05:17:59 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id FAA03659 for freebsd-hackers-outgoing; Tue, 24 Feb 1998 05:17:59 -0800 (PST) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from aaka.3skel.com (aaka.3skel.com [207.240.212.3]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id FAA03654 for ; Tue, 24 Feb 1998 05:17:53 -0800 (PST) (envelope-from danj@3skel.com) Received: from fnur.3skel.com (fnur.3skel.com [192.168.0.8]) by aaka.3skel.com (8.8.5/8.8.2) with ESMTP id IAA05020; Tue, 24 Feb 1998 08:17:50 -0500 (EST) Received: from 3skel.com (localhost.3skel.com [127.0.0.1]) by fnur.3skel.com (8.8.5/8.8.2) with ESMTP id IAA01208; Tue, 24 Feb 1998 08:17:49 -0500 (EST) Message-ID: <34F2C87C.15456A5A@3skel.com> Date: Tue, 24 Feb 1998 08:17:49 -0500 From: Dan Janowski Organization: Triskelion Systems, Inc. X-Mailer: Mozilla 4.04 [en] (X11; I; FreeBSD 2.2.1-RELEASE i386) MIME-Version: 1.0 To: AJ Galiano CC: freebsd-hackers@FreeBSD.ORG Subject: Re: How do I References: <852565B5.004578D5.00@athensnt2.exr.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG AJ Galiano wrote: > What is the best method of associating a second ip address with my > webserver? > and how do I accomplish this? > Not hard. The assumption is that this box is attached to a non-point-to-point (i.e. ppp) network. To add an IP address that is on the same subnet that the interface already lives on, ifconfig fxp0 inet new.ip.add.ress netmask 255.255.255.255 alias Obviously fxp0 would be whatever interface you have. If you are adding an address that is not on the same subnet, then the netmask value would be whatever is appropriate for that net; a normal whole class-C being the standard 255.255.255.0. I'm not sure if or how this can be done with ppp. Dan -- danj@3skel.com Dan Janowski Triskelion Systems, Inc. Bronx, NY To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message