From: Pavel Bykov (slidersv@gmail.com)
Date: Thu Sep 11 2008 - 20:05:23 ART
Sorry, I missed the "all" word in your question :) For some reason I though
you need to match just one.
First of all, the /2 mask is a bit broad, it will match class D and
(E)xperimental networks.
Second, "subnet" could be understood as "Natural network or less", therefore
if you need to match only EXACTLY C natural networks ge 24 le 24 will
suffice, but not if you need to match subnets.
On Fri, Sep 12, 2008 at 12:57 AM, Ali Mousawi <mousawi.ali@gmail.com> wrote:
> But this will not match all Class C subnets!!!
>
>
> On Thu, Sep 11, 2008 at 3:56 PM, Pavel Bykov <slidersv@gmail.com> wrote:
>
>> Valid yes, but it's basically bad.
>> The proper way would be:
>> ip prefix list CLASS_C permit 192.0.0.0/24
>>
>> by default prefix list without ge/le will match only what is written.
>>
>>
>>
>> On Fri, Sep 12, 2008 at 12:52 AM, Ali Mousawi <mousawi.ali@gmail.com>wrote:
>>
>>> Hello Folks,
>>>
>>> I want to match all Class C subnets using a prefix list would the
>>> following
>>> be valid:
>>>
>>> ip prefix list CLASS_C permit 192.0.0.0/2 ge 24 le 24
>>>
>>> Regards
>>> Ali
>>>
>>>
>>> Blogs and organic groups at http://www.ccie.net
>>>
>>> _______________________________________________________________________
>>> Subscription information may be found at:
>>> http://www.groupstudy.com/list/CCIELab.html
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>
>>
>> --
>> Pavel Bykov
>> -------------------------------------------------
>> Stop the braindumps!
>> http://www.stopbraindumps.com/
>>
>>
>
-- Pavel Bykov ------------------------------------------------- Stop the braindumps! http://www.stopbraindumps.com/Blogs and organic groups at http://www.ccie.net
This archive was generated by hypermail 2.1.4 : Sat Oct 04 2008 - 09:26:18 ART