inet hosts question

Vincent Hoffman vince at unsane.co.uk
Fri Nov 14 07:17:48 PST 2008


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 at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"
>   



More information about the freebsd-questions mailing list