Re: Acess List question

From: Ben (bmunyao@gmail.com)
Date: Thu Jul 26 2007 - 04:57:01 ART


Subodh,
The two acls match different ip packets.

0.0.0.0 255.255.255.255 refers to all ip addresses. This will match any ip
packet.

255.255.255.255 0.0.0.0 refers to the broadcast addresses. Will only match
broadcasts.

255.255.255.255 255.255.255.255 will also refer to the broadcast address
since all the host bits are 1's so there are no other possible matches
besides the broadcast address.

HTH
Ben

On 7/26/07, subodh.rawat@wipro.com <subodh.rawat@wipro.com> wrote:
>
> Just a question out of curiosity:
>
> Does "access-list 1 deny 0.0.0.0 255.255.255.255" and "access-list 1
> deny 255.255.255.255 255.255.255.255" has same effect? and they both
> will deny traffic for any host.
>
> I know in wild card 0 means match and 1 means ignore. Ideally they
> should be same statement.
>
>
> BR
> Subodh
>
>
>
> The information contained in this electronic message and any attachments
> to
> this message are intended for the exclusive use of the addressee(s) and
> may
> contain proprietary, confidential or privileged information. If you are
> not
> the intended recipient, you should not disseminate, distribute or copy
> this
> e-mail. Please notify the sender immediately and destroy all copies of
> this
> message and any attachments.
>
> WARNING: Computer viruses can be transmitted via email. The recipient
> should
> check this email and any attachments for the presence of viruses. The
> company
> accepts no liability for any damage caused by any virus transmitted by
> this
> email.
>
> www.wipro.com
>
> _______________________________________________________________________
> Subscription information may be found at:
> http://www.groupstudy.com/list/CCIELab.html



This archive was generated by hypermail 2.1.4 : Sat Aug 18 2007 - 08:17:42 ART