Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 16 Apr 2001 00:53:33 -0700 (PDT)
From:      Gordon Tetlow <gordont@bluemtn.net>
To:        "Michael O'Henly" <michael@tenzo.com>
Cc:        <freebsd-stable@FreeBSD.ORG>
Subject:   Re: ipfw question...
Message-ID:  <Pine.BSF.4.33.0104160051210.92126-100000@sdmail0.sd.bmarts.com>
In-Reply-To: <01041519202200.15431@h24-69-46-74.gv.shawcable.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.33.0104160051210.92126-100000>