From owner-freebsd-questions Thu Aug 22 8:25:58 2002 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 1E20737B400 for ; Thu, 22 Aug 2002 08:25:56 -0700 (PDT) Received: from mailsrv.otenet.gr (mailsrv.otenet.gr [195.170.0.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id C60A143E6E for ; Thu, 22 Aug 2002 08:25:54 -0700 (PDT) (envelope-from keramida@ceid.upatras.gr) Received: from hades.hell.gr (patr530-a015.otenet.gr [212.205.215.15]) by mailsrv.otenet.gr (8.12.4/8.12.4) with ESMTP id g7MFPqpD023045; Thu, 22 Aug 2002 18:25:52 +0300 (EEST) Received: from hades.hell.gr (hades [127.0.0.1]) by hades.hell.gr (8.12.5/8.12.5) with ESMTP id g7MFPlve005922; Thu, 22 Aug 2002 18:25:50 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) Received: (from charon@localhost) by hades.hell.gr (8.12.5/8.12.5/Submit) id g7MDtxeD005230; Thu, 22 Aug 2002 16:55:59 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) Date: Thu, 22 Aug 2002 16:55:59 +0300 From: Giorgos Keramidas To: adrian kok Cc: freebsd-questions@FreeBSD.org Subject: Re: confusion about netmask Message-ID: <20020822135559.GD3414@hades.hell.gr> References: <20020822040145.62091.qmail@web21209.mail.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020822040145.62091.qmail@web21209.mail.yahoo.com> X-Operating-System: FreeBSD 5.0-CURRENT i386 X-PGP-Fingerprint: C1EB 0653 DB8B A557 3829 00F9 D60F 941A 3186 03B6 X-Phone: +30-944-116520 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On 2002-08-22 12:01 +0000, adrian kok wrote: > Hi all > > I read the handbook about netmask for virtual host > It shows as follows > Except the first one using 255.255.255.0 > the rest is using 255.255.255.255 These are aliases. The manpage of ifconfig contains a lot of information on alias addresses. The description of "alias" in the ifconfig(8) manpage states: alias Establish an additional network address for this interface. This is sometimes useful when changing network numbers, and one wishes to accept packets addressed to the old interface. If the address is on the same subnet as the first network address for this interface, a non-conflicting netmask must be given. Usually 0xffffffff is most appropriate. -- FreeBSD: The Power to Serve <> http://www.FreeBSD.org FreeBSD 5.0-CURRENT #0: Wed Aug 21 22:08:19 EEST 2002 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message