From owner-freebsd-security Tue Aug 7 8:26: 4 2001 Delivered-To: freebsd-security@freebsd.org Received: from mufasa.swistgroup.com (unknown [64.245.10.163]) by hub.freebsd.org (Postfix) with ESMTP id E472937B403 for ; Tue, 7 Aug 2001 08:25:58 -0700 (PDT) (envelope-from max.clements@swistgroup.com) Received: from timon.swistgroup.com ([172.16.1.30]) by mufasa.swistgroup.com with esmtp (Exim 3.22 #1) id 15U8jI-0004SO-00; Tue, 07 Aug 2001 17:25:12 +0200 Received: from steinmail.swistgroup.com ([192.168.200.112]) by timon.swistgroup.com with esmtp (Exim 3.22 #4) id 15U8jX-000B0x-00; Tue, 07 Aug 2001 17:25:27 +0200 Content-Class: urn:content-classes:message Subject: RE: ipfw question MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Date: Tue, 7 Aug 2001 17:25:37 +0200 Disposition-Notification-To: "Max Clements" X-MimeOLE: Produced By Microsoft Exchange V6.0.4712.0 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: ipfw question Thread-Index: AcEfUwePea1lGho7Rsy/BHocR2jtZAAAZokw From: "Max Clements" To: "Fernando Schapachnik" Cc: 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 > En un mensaje anterior, Douglas G. Allen escribi=F3: > [...] > > 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. >=20 > 255.255.255.255 is an invalid netmask (I don't even know why ifconfig > didn't rejected it). It should have the same netmask of the fxp0 Nope - it is the netmask that you associate with one host... ifconfig is quite corrent in NOT rejecting it as it is right to use it = with an alias... > interface if what you mean is to have a machine with two IPs on the = same network. Nope an alias that is on the same IP segment as the main interface must = have a netmask of all ones, i.e., 255.255.255.255 or of you like that in hex 0xffffffff. Please refer to the FreeBSD /etc/defaults/rc.conf file and = see: -- #ifconfig_lo0_alias0=3D"inet 127.0.0.254 netmask 0xffffffff" # Sample = alias entry. -- Have fun... Max Clements Systems Specialist (Billing) Vodacom SA - Monday is an awfull way to spend 1/7th of your life To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-security" in the body of the message