From owner-freebsd-questions Fri Apr 20 9:33:18 2001 Delivered-To: freebsd-questions@freebsd.org Received: from xena.gsicomp.on.ca (cr677933-a.ktchnr1.on.wave.home.com [24.43.230.149]) by hub.freebsd.org (Postfix) with ESMTP id 648E637B622 for ; Fri, 20 Apr 2001 09:33:08 -0700 (PDT) (envelope-from matt@gsicomp.on.ca) Received: from hermes (hermes.gsicomp.on.ca [192.168.0.18]) by xena.gsicomp.on.ca (8.11.1/8.11.3) with SMTP id f3KGUvp25407; Fri, 20 Apr 2001 12:30:57 -0400 (EDT) (envelope-from matt@gsicomp.on.ca) Message-ID: <011201c0c9b7$1ef8bdb0$1200a8c0@gsicomp.on.ca> From: "Matthew Emmerton" To: "Marius Kirschner" , "Ralph Robinson" , References: Subject: Re: ifconfig Date: Fri, 20 Apr 2001 12:29:49 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > > Use netmask 0xffffffff (255.255.255.255) for aliases which are on the same > > subnet. > > > > And what does one put for aliases that are not on the same subnet? The "appropriate" netmask for that subnet. For example: IP: 192.168.0.1 netmask 255.255.255.0 (primary IP, /24 mask) Alias: 192.168.0.2 netmask 255.255.255.255 (same subnet, /32 mask) Alias: 192.168.100.2 netmask 255.255.255.0 (different subnet, /24 mask) Alias 10.0.0.1 netmask 255.0.0.0 (different subnet, /8 mask) -- Matt Emmerton To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message