From: Scott Morris (swm@emanon.com)
Date: Fri Jul 04 2003 - 11:03:55 GMT-3
128 = 10000000
192 = 11000000
224 = 11100000
There are three bits you want to remain constant (110) in the 192 range.
If you did a /2, then you would permit everything from 192.0.0.0 through
255.0.0.0.
So, the /3 would be the proper idea.
Scott
-----Original Message-----
From: nobody@groupstudy.com [mailto:nobody@groupstudy.com] On Behalf Of
Yu Kay
Sent: Thursday, July 03, 2003 8:57 PM
To: Ram Shummoogum; GJcomcast@comcast.net
Cc: ccielab@groupstudy.com
Subject: Re: Prefix List Question
I think the statement should change as followed
ip prefix-list DEFCLASSFUL seq 24 permit 192.0.0.0/2
ge 24 le 24
Keith
--- Ram Shummoogum <rshummoo@ca.ibm.com> wrote:
> What about this.
>
> ip prefix-list DEFCLASSFUL seq 1 permit 0.0.0.0/0
> ip prefix-list DEFCLASSFUL seq 8 permit 0.0.0.0/1 ge
> 8 le 8
> ip prefix-list DEFCLASSFUL seq 16 permit 128.0.0.0/2
> ge 16 le 16
> ip prefix-list DEFCLASSFUL seq 24 permit 192.0.0.0/3
> ge 24 le 24
>
>
>
> "Glenn Johnson"
> <GJcomcast@comcast.net>@groupstudy.com on 07/03/2003
> 04:15:29 PM
>
> Please respond to "Glenn Johnson"
> <GJcomcast@comcast.net>
>
> Sent by: nobody@groupstudy.com
>
>
> To: <ccielab@groupstudy.com>
> cc:
> Subject: Prefix List Question
>
>
> Hello,
>
> If used in an inbound route-map via BGP, would the
> following prefix-list
> allow only default and classful routes in from a
> given neighbor?
>
> ip prefix-list DEFCLASSFUL seq 1 permit 0.0.0.0/0
> ip prefix-list DEFCLASSFUL seq 8 permit 0.0.0.0/0 ge
> 8 le 8
> ip prefix-list DEFCLASSFUL seq 16 permit 0.0.0.0/0
> ge 16 le 16
> ip prefix-list DEFCLASSFUL seq 24 permit 0.0.0.0/0
> ge 24 le 24
>
> Thanks
>
>
>
This archive was generated by hypermail 2.1.4 : Wed Aug 06 2003 - 06:52:23 GMT-3