From: Prem Anand \(hprem\) (hprem@cisco.com)
Date: Tue Jul 11 2006 - 04:57:09 ART
(A & B & C) will have a bit set to 1 only when all 3 numbers have that
bit set to 1
(A | B | C) will have a bit set to 0 only when all 3 numbers have that
bit set to 0
So the XOR of the 3 numbers shud be (A & B & C) XOR (A | B | C)
Any comments?
Regards
Prem
-----Original Message-----
From: nobody@groupstudy.com [mailto:nobody@groupstudy.com] On Behalf Of
Shanky
Sent: Tuesday, July 11, 2006 12:14 PM
To: Leo Leung
Cc: ccielab@groupstudy.com
Subject: Re: IE Lab 20 11.2 Telnet Filtering
Hi,
Was wondering if anyone knows a way to use the windows calculator for
AND
, XOR functions for multiple entries ? I know it works for 2 entries
but
can we use it for more than 2
Appreciate if anyone could help.
Thanks
Shanky
On 7/11/06, Leo Leung <leoleung_yh@yahoo.com> wrote:
>
> Group,
>
> The question asks to have one line access-list for these 3 IP
> addresses.
>
> Decimal Binary
>
> 45.194.169.115 00101101 11000010 10101001 01110011
> 61.202.173.243 00111101 11001010 10101101 11110011
> 41.234.41.250 00101001 11101010 00101001 11111010
>
> IP 41 194 41 114
> Mask 20 40 132 137
>
> I came out with the following:
>
> ip access-list 1 permit 41.194.41.114 20.40.132.137
>
> but solution guide shows the access-list with 3 differences
>
> ip access-list 1 permit 41.194.41.112 20.60.134.137
>
> I am wondering if its typo or I miscalculated.
>
> Leo
>
>
>
> __________________________________________________
> Do You Yahoo!?
> Tired of spam? Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com
>
> ______________________________________________________________________
> _ Subscription information may be found at:
> http://www.groupstudy.com/list/CCIELab.html
This archive was generated by hypermail 2.1.4 : Tue Aug 01 2006 - 07:13:47 ART