From owner-freebsd-stable Mon Apr 16 10:46:38 2001 Delivered-To: freebsd-stable@freebsd.org Received: from h24-69-46-74.gv.shawcable.net (h24-69-46-74.gv.shawcable.net [24.69.46.74]) by hub.freebsd.org (Postfix) with ESMTP id AC37337B422 for ; Mon, 16 Apr 2001 10:46:34 -0700 (PDT) (envelope-from michael@tenzo.com) Received: from h24-69-46-74.gv.shawcable.net (localhost.gv.shawcable.net [127.0.0.1]) by h24-69-46-74.gv.shawcable.net (8.11.1/8.11.1) with SMTP id f3GHn7117316; Mon, 16 Apr 2001 10:49:07 -0700 (PDT) (envelope-from michael@tenzo.com) Content-Type: text/plain; charset="iso-8859-1" From: "Michael O'Henly" Reply-To: michael@tenzo.com Organization: TENZO Design To: freebsd-stable@FreeBSD.ORG Subject: Re: ipfw question... Date: Mon, 16 Apr 2001 10:49:07 -0700 X-Mailer: KMail [version 1.2] References: In-Reply-To: Cc: Gordon Tetlow MIME-Version: 1.0 Message-Id: <01041610490700.17291@h24-69-46-74.gv.shawcable.net> Content-Transfer-Encoding: 8bit Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Thanks, Gordon. I can see that I need to read up on this. I'm kinda feeling my way along here without enough understanding. M. On Monday 16 April 2001 00:53, Gordon Tetlow wrote: > On Sun, 15 Apr 2001, Michael O'Henly wrote: > > After calculating the IP, onet and oip would have values looking like: > > > > onet="1.2.3.4" > > oip="1.2.3.4" > > > > This isn't exactly what I believe is required here. I think onet ideally > > should be in the form of "1.2.3.4/24" but I'm not sure how to do this. > > > > Anyway, when I reboot and check dmesg I see that onet has been > > transformed into "1.2.3.4/23". In other words, something is adding "/nn" > > to the end of the value -- and adding "23" instead of "24". What's > > happening here? > > I'm guessing that it's looking at your netmask (which in my zealous text > deleting I omitted) which you listed as 255.255.254.0. It then puts your > network address and netmask together and voila! 1.2.3.4/23 > > -gordon -- Michael O'Henly TENZO Design To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message