From owner-freebsd-questions@FreeBSD.ORG Tue May 6 00:16:08 2003 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 4B78237B404 for ; Tue, 6 May 2003 00:16:08 -0700 (PDT) Received: from hotmail.com (oe29.law11.hotmail.com [64.4.16.86]) by mx1.FreeBSD.org (Postfix) with ESMTP id CA64C43F3F for ; Tue, 6 May 2003 00:16:07 -0700 (PDT) (envelope-from meimi_1@hotmail.com) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Tue, 6 May 2003 00:16:07 -0700 Received: from 144.173.6.77 by oe29.law11.hotmail.com with DAV; Tue, 06 May 2003 07:16:07 +0000 X-Originating-IP: [144.173.6.77] X-Originating-Email: [meimi_1@hotmail.com] From: "meimi" To: Date: Tue, 6 May 2003 08:14:45 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="big5" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Message-ID: X-OriginalArrivalTime: 06 May 2003 07:16:07.0844 (UTC) FILETIME=[5D0E1E40:01C3139F] Subject: Fw: Add IP address to server 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, 06 May 2003 07:16:08 -0000 Hello, My provider assigned some IPs to my server. It is a FreeBSD 4.7 web server. How should I add them all to my server? I have searched the handbook and found out that I only need to add this line to /etc/rc.conf : ifconfig_fxp0_alias0="inet xxx.xxx.xxx.xxx netmask xxx.xxx.xxx.xxx" Am I correct? However, I am not sure how to calculate netmask. The page I have read is http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/configtuning-virtu al-hosts.html Thanks meimi