Skip navigation
Cisco Learning Home > CCIE Routing and Switching Study Group > Discussions
614 Views 1 Reply Latest reply: May 9, 2012 3:52 AM by Brian RSS

Currently Being Moderated

Regarding wildcard mask

May 9, 2012 3:13 AM

bala 39 posts since
Oct 15, 2010

Hi Friends,

                       I have small query on configuring wildcard mark min acl.Exampls i want to use single line acl for 1.225.10.0.0 - 225.10.255.255 2.225.26.0.0 - 255.26.255.255 3.225.42.0.0 - 255.42.255.255 4.225.58.0.0 - 255.58.255.255

 

First,third and forth octet is same so we can ignore.

Sol1:

10 = 00001010

26 = 00011010

42 = 00101010

58 = 00111010

 

so acl is access-list 1 permit 225.10.0.0 0.31.255.255

 

Sol2:

10 = 00001010

26 = 00011010

42 = 00101010

58 = 00111010

Wildcard = 00110000

access-list 1 permit 225.10.0.0 0.48.255.255

 

whihc one is best sol.

  • Brian 2,971 posts since
    Aug 17, 2009
    Currently Being Moderated
    1. May 9, 2012 3:52 AM (in response to bala)
    Re: Regarding wildcard mask

    bala,

     

    Solution #2 is the best one as it only allows the four numbers 10, 26, 42, 58 in the second octet.  Where as the first solution includes the numbers 0 - 31 in the second octet.  So you actually miss 42 and 58.

     

    Brian

Actions

More Like This

  • Retrieving data ...

Bookmarked By (0)