From owner-freebsd-security Tue Aug 7 7:42:44 2001 Delivered-To: freebsd-security@freebsd.org Received: from zeta.qmw.ac.uk (zeta.qmw.ac.uk [138.37.6.6]) by hub.freebsd.org (Postfix) with ESMTP id C5E9F37B405 for ; Tue, 7 Aug 2001 07:42:39 -0700 (PDT) (envelope-from d.m.pick@qmw.ac.uk) Received: from xi.css.qmw.ac.uk ([138.37.8.11]) by zeta.qmw.ac.uk with esmtp (Exim 3.16 #1) id 15U83p-0004kz-00; Tue, 07 Aug 2001 15:42:21 +0100 Received: from cgaa180 by xi.css.qmw.ac.uk with local (Exim 1.92 #1) id 15U83q-0005IG-00; Tue, 7 Aug 2001 15:42:22 +0100 X-Mailer: exmh version 2.0.2 2/24/98 To: Fernando Schapachnik Cc: "Douglas G. Allen" , freebsd-security@FreeBSD.ORG Subject: Re: ipfw question In-reply-to: Your message of "Tue, 07 Aug 2001 11:26:10 -0300." <20010807112610.H34971@ns1.via-net-works.net.ar> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Date: Tue, 07 Aug 2001 15:42:22 +0100 From: David Pick Message-Id: Sender: owner-freebsd-security@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org > > The ifconfig's are set up so that fxp0 is IP a.b.c.d netmask > > 255.255.255.192 and fxp0_alias is a.b.c.e netmask 255.255.255.255. > = > 255.255.255.255 is an invalid netmask (I don't even know why ifconfig > didn't rejected it). Not so - I've used it successfully. > It should have the same netmask of the fxp0 > interface if what you mean is to have a machine with two IPs on the > same network. However, *if* the two IP addresses are within the same subnet, then I do agree with you that they should have the same netmask. And should be on the same interface! Since the subnet mask in this case is 255.255.255.192 it isn't clear from the "a.b.c.d" and "a.b.c.e" if the two addresses are in the same subnet or different but close subnets. -- = David Pick To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-security" in the body of the message