From: lei tian (again.tl@gmail.com)
Date: Fri Jul 25 2008 - 15:54:39 ART
112 converts to binary 0111 0000
8 converts to binary 0000 1000
for wildcard 0 is match, and 1 is doesnt care, so the two match binary with
that wildcard will be 0111 0000 and 0111 1000. convert to decimal, are 112
and 120.
On Fri, Jul 25, 2008 at 2:11 PM, Scott Strobeck <scott@strobeck.net> wrote:
> If you're wanting to designate 151.15.112.x through 151.15.120.x. . ..
> you can't do this with one line. . .
>
> 151.15.112.x - 151.15.119.x would be 151.15.112.0 0.0.7.255
>
> Then you'd have to put a separate line for 151.15.120.0 0.0.0.255
>
> Scott
>
>
> kang lee wrote:
>
> I think you mean 151.15.112.0 ~151.15.120.0 ?
>
> This is the subnet I want to filter but when I did AND and XOR calculation,
> it is coming out 151.15.112.0 0.0.15.255.
>
> I was not sure if I did correct calculation.
>
> 0 1 1 1 0 0 0 0
>
> 0 1 1 1 0 0 0 1
>
> 0 1 1 1 0 0 1 0
>
> 0 1 1 1 0 0 1 1
>
> 0 1 1 1 0 1 0 0
>
> 0 1 1 1 0 1 0 1
>
> 0 1 1 1 0 1 1 0
>
> 0 1 1 1 0 1 1 1
>
> 0 1 1 1 1 0 0 0
>
>
>
> subnet
>
> and
>
> 0 1 1 1 0 0 0 0
>
>
> 112
>
>
>
> wildcard
>
> Xor
>
> 0 0 0 0 1 1 1 1
>
> 15
>
>
>
>
> thanks
>
> On Fri, Jul 25, 2008 at 11:45 AM, lei tian <again.tl@gmail.com> <again.tl@gmail.com> wrote:
>
>
>
> 151.25.112.1 - 151.25.112.255
> and151.25.120.1 - 151.25.120.255
>
>
> On 7/25/08, Sadiq Yakasai <sadiqtanko@gmail.com> <sadiqtanko@gmail.com> wrote:
>
>
>
> 151.25.112.1 through 151.25.119.255
>
> Is that right guys?
>
>
> _______________________________________________________________________
> Subscription information may be found at:http://www.groupstudy.com/list/CCIELab.html
>
> _______________________________________________________________________
> Subscription information may be found at: http://www.groupstudy.com/list/CCIELab.html
This archive was generated by hypermail 2.1.4 : Mon Aug 04 2008 - 06:11:57 ART