From owner-freebsd-questions Thu Sep 5 5:16:15 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 746D037B400 for ; Thu, 5 Sep 2002 05:16:13 -0700 (PDT) Received: from clientmail.ehsrealtime.com (eris.ehsrealtime.com [213.52.146.130]) by mx1.FreeBSD.org (Postfix) with ESMTP id 79CDB43E65 for ; Thu, 5 Sep 2002 05:16:12 -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 17mvYK-000LZV-01; Thu, 05 Sep 2002 13:16:04 +0100 Received: from waynep by set.ehsrealtime.com with local (Exim 3.34 #1) id 17mwVB-0004k6-00; Thu, 05 Sep 2002 13:16:53 +0000 From: Wayne Pascoe To: Matthew Seaman Cc: freebsd-questions@FreeBSD.ORG Subject: Re: IP Aliases in different subnets References: <20020905115410.GC32849@happy-idiot-talk.infracaninophi> Date: 05 Sep 2002 13:16:53 +0000 In-Reply-To: <20020905115410.GC32849@happy-idiot-talk.infracaninophi> Message-ID: Lines: 22 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 Matthew Seaman writes: > > 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 > > That's correct. For each distinct subnet, the first IP address > (whether a primary or alias address) thereon should use the > appropriate netmask for each subnet. It's the second and subsequent > aliases on a subnet that have to have the 255.255.255.255 netmask. Thanks for that ! -- - Wayne Pascoe - http://www.penguinpowered.org.uk/wayne/ There's optimism... and then there's stupidity! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message