From: Mike Haddad (mike.haddad@hotmail.com)
Date: Tue Mar 04 2008 - 04:05:01 ARST
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,
This archive was generated by hypermail 2.1.4 : Tue Apr 01 2008 - 07:53:52 ART