Date: Fri, 14 Nov 2008 15:17:45 +0000 From: Vincent Hoffman <vince@unsane.co.uk> To: Gary Hartl <ghartl@gmail.com> Cc: FreeBSD Questions <freebsd-questions@freebsd.org> Subject: Re: inet hosts question Message-ID: <491D9699.5000103@unsane.co.uk> In-Reply-To: <000001c94666$5eb02360$1c106a20$@com> References: <000001c94666$5eb02360$1c106a20$@com>
next in thread | previous in thread | raw e-mail | index | archive | help
Gary Hartl wrote: > Hi all; > > I have a quick question, I am trying to block a range of ip's for the sake > of example they are 192.168.0.0 - 192.168.255.255 > For the life of me I can't remember how to do that. > > What mechanism? null route, ipfw, ipf or pf > I thought I could do it by using the /class ie /32 for class c but i can't > remember what the class delegation is for that size of pool, I think it is a > class B. > 192.168.0.0/16 for your example. and yes this is a class B (not all /16s are though.) the /x notation is called CIDR (classless interdomain routing.) http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing Vince > All help would be appreciated. > > Cheers, > > Gary > > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?491D9699.5000103>