From owner-freebsd-questions Thu Sep 5 3:48:53 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 9706D37B400 for ; Thu, 5 Sep 2002 03:48:48 -0700 (PDT) Received: from clientmail.ehsrealtime.com (eris.ehsrealtime.com [213.52.146.130]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2CDF243E42 for ; Thu, 5 Sep 2002 03:48:48 -0700 (PDT) (envelope-from wayne@penguinpowered.org.uk) Received: from set.ehsrealtime.com ([213.52.146.197]) by clientmail.ehsrealtime.com with esmtp (Exim 3.33 #2) id 17muBr-000L6P-01 for freebsd-questions@freebsd.org; Thu, 05 Sep 2002 11:48:47 +0100 Received: from waynep by set.ehsrealtime.com with local (Exim 3.34 #1) id 17mv8i-0004dK-00 for freebsd-questions@freebsd.org; Thu, 05 Sep 2002 11:49:36 +0000 From: Wayne Pascoe To: freebsd-questions@freebsd.org Subject: IP Aliases in different subnets Date: 05 Sep 2002 11:49:36 +0000 Message-ID: Lines: 21 User-Agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.4 (Civil Service) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii 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've got a question about IP aliases in different subnets. Since around 4.5-RELEASE, the subnet mask of an IP alias is now supposed to be 255.255.255.255. This is fine if all of the aliases are in the same subnet as the primary IP address for the adaptor. My question is what happens if I have a primary address with a different subnet mask to the alias? What should I be using as my subnet mask for the alias in /etc/rc.conf For example: Primary Address - 192.168.1.129 netmask 255.255.255.192 First Alias - 192.168.1.193 netmask 255.255.255.224 Thanks in advance. -- - Wayne Pascoe - http://www.penguinpowered.org.uk/wayne/ Yoohoo... I'll make you famous To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message