From: Adel Karim (adelkarim@gmail.com)
Date: Tue Mar 04 2008 - 10:08:46 ARST
The first one is exactly matching network 10.0.0.0 with mask 255.0.0.0.
The second one is matching 10.x.x.x with any mask from 255.0.0.0 =>
255.128.0.0 => 255.192.0.0 =>.....=> 255.255.255.255 so any network
number that starts with 10 in the first octet and has any of these
masks will be matched.
For the third example, 10.0.0.0/8 ge 21 le 29. The way you explained it is
correct.
HTH
Adel
On Tue, Mar 4, 2008 at 10:38 AM, <sheherezada@gmail.com> wrote:
> The first one is exact match (think of BGP announcing something). The
> second one allows for granularity (i.e. you may announce any subnet
> within 10.0.0.0/8).
>
> HTH,
>
> Mihai
>
> On Tue, Mar 4, 2008 at 8:05 AM, Mike Haddad <mike.haddad@hotmail.com>
> wrote:
> > Hello,
> >
> > I went through the posts for prefix-lists especially the one explained
> by
> > Brian. The explanation is awesome but I still have one confusion which
> I would
> > like to get answer for:
> > Is
> > ip prefix-list Test permit 10.0.0.0/8
> > the same as
> > ip prefix-list Test permit 10.0.0.0/8 ge 8 le 32
> > ?
> > For my understanding 10.0.0.0/8 will encompansate all hosts/subnets
> from
> > 10.0.0.1 to 10.255.255.254 is that right?
> > Also 10.0.0.0/8 ge 8 le 32 will encompansate all hosts from 10.0.0.1 to
> > 10.255.255.254? Please correct me if I am wrong?
> >
> > Another example:
> > ip prefix-list Test permit 192.168.0.0/16 will encompanaste all hosts
> and
> > subnets within the range 192.168.0.1 to 192.168.255.254/
> > ip prefix-list Test permit 192.168.0.0/16 ge 16 le 32 will encompansate
> the
> > same range?
> >
> > When we say Ip prefix-list LIST permit 10.0.0.0/8 ge 21 le 29
> > This means I am matching the first 8 bits which is "10" and all subnets
> that
> > have a subnet mask greater than 21 and less than 29. So what would be
> the
> > subnets that are included? Are they any subnet that starts with 10. and
> have a
> > mask of 255.255.248.0 to mask 255.255.255.248 and we don't really care
> what is
> > in the second and third octet of the IP address?
> >
> >
> > Thanks for the clarification,
> >
> > _________________________________________________________________
> >
> > _______________________________________________________________________
> > Subscription information may be found at:
> > http://www.groupstudy.com/list/CCIELab.html
>
> _______________________________________________________________________
> Subscription information may be found at:
> http://www.groupstudy.com/list/CCIELab.html
This archive was generated by hypermail 2.1.4 : Tue Apr 01 2008 - 07:53:52 ART