[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: defining networks/prefix and host wildcards, and IPsec.



Carl Ellison wrote:
> 
> -----BEGIN PGP SIGNED MESSAGE-----
> 
> At 12:53 PM 8/26/97 -0400, Michael C. Richardson wrote:
> >    >> [IStar owns 205.233.48.0/20]
> >
> >    Carl> The strings you gave are for a wider range of IP addresses.
> >    Carl> Where's the typo?
> >
> >  #CDE93000# -> #CDE93FFF#
> >    | \ \             \
> >  205  \ 48            59
> >        233
> >
> >  So, there are 59(+1) - 48 = 16, *256 addresses = 4096. /20 == 32 -
> >12. 2^12 = 4096. No problem here, I think.
> >  However, Istar hasn't delegated the entire /20 to me. I have a /28.
> >  Tell me how you interpreted my strings?
> 
> I took the 0/20 to mean 0..20.  Apparently I don't understand your
> terminology in [IStar owns 205.233.48.0/20]

205.233.48.0/20 is standard notation for "anything masked with 20 1s
followed by 12 0s that matches 205.233.48.0".

Cheers,

Ben.

-- 
Ben Laurie            |Phone: +44 (181) 994 6435|Apache Group member
Freelance Consultant  |Fax:   +44 (181) 994 6472|http://www.apache.org
and Technical Director|Email: ben@algroup.co.uk |Apache-SSL author
A.L. Digital Ltd,     |http://www.algroup.co.uk/Apache-SSL
London, England.      |"Apache: TDG" http://www.ora.com/catalog/apache

References: