From owner-freebsd-questions Wed Aug 21 21: 1:50 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 5658637B400 for ; Wed, 21 Aug 2002 21:01:46 -0700 (PDT) Received: from web21209.mail.yahoo.com (web21209.mail.yahoo.com [216.136.175.167]) by mx1.FreeBSD.org (Postfix) with SMTP id CEE9A43E3B for ; Wed, 21 Aug 2002 21:01:45 -0700 (PDT) (envelope-from adriankok2000@yahoo.com.hk) Message-ID: <20020822040145.62091.qmail@web21209.mail.yahoo.com> Received: from [142.154.108.208] by web21209.mail.yahoo.com via HTTP; Thu, 22 Aug 2002 12:01:45 CST Date: Thu, 22 Aug 2002 12:01:45 +0800 (CST) From: =?iso-8859-1?q?adrian=20kok?= Subject: confusion about netmask To: freebsd-questions@FreeBSD.ORG MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit 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 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 Why? and If I use all as 255.255.255.0 what is the problem? On the other hands, I use it (all 255.255.255.0) in the virtual hosts in eth0.0 eth0.1 in linux Is it different from freebsd fxp0? Thank you for your help 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" ifconfig_fxp0_alias1="inet 10.1.1.3 netmask 255.255.255.255" ifconfig_fxp0_alias2="inet 10.1.1.4 netmask 255.255.255.255" ifconfig_fxp0_alias3="inet 10.1.1.5 netmask 255.255.255.255 _______________________________________________________________________ Do You Yahoo!? Get your free @yahoo.com.hk address at http://mail.english.yahoo.com.hk To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message