Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 Nov 2002 14:45:23 +0000
From:      Matthew Seaman <m.seaman@infracaninophile.co.uk>
To:        freebsd-questions@FreeBSD.ORG
Subject:   Re: ipfw matching (revisited)
Message-ID:  <20021112144522.GG16105@happy-idiot-talk.infracaninophi>
In-Reply-To: <200211121406.GACE6KS72014@asarian-host.net>
References:  <200211121238.GACCCMS56521@asarian-host.net> <200211121406.GACE6KS72014@asarian-host.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Nov 12, 2002 at 03:06:42PM +0100, Mark wrote:
> Ok, I constructed the following IP:mask for ipfw to match:
> 
>     202.43.64.0:255.255.191.0
> 
> This is supposed to match the range 202.43.64.xx to 202.43.127.xx

Close, but no cigar.  You want:

    202.43.64.0:255.255.192.0  also known as 202.43.64.0/18
                          ^

That matches the addresses from 202.43.64.0 to 202.43.127.255
inclusive.

	Cheers,

	Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.                       26 The Paddocks
                                                      Savill Way
                                                      Marlow
Tel: +44 1628 476614                                  Bucks., SL7 1TH UK

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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20021112144522.GG16105>