First of all thanks for making all topics easy with nice explanation.
I have some doubt on this prefix-list even after going through all Topic and QnA.
How Prefix-list differentiate between Network and Host. Does it differentiate like ACL or deal these two in different more suitable manner.
Like in ACL if I am writing permit 10.0.0.0/8 it includes 10.0.0.0 to 10.255.255.255. Is it same in Prefix-list ?
As prefix-list says it is exact match.
ip prefix-list test1 permit 10.0.0.0/8
will it allow only a single IP 10.0.0.0 like in ACL HOST 10.0.0.0 command does or it will allow 10.0.0.0 to 10.255.255.255 like ACL 10.0.0.0/8 does.
ip prefix-list test2 permit 10.0.0.0/16 ge 24
In first condition it matches 1st and 2nd actate, second condition it matches /24, /25 ,/26 , /27 , /28 , /29 , /30 , /31 , /32 ignoring any value (0-255 ) in fourth octate. How it treats with the value of 3rd octate , does it deny any value between 1-255.
ip prefix-list test3 permit 0.0.0.0/0 le 32 - It says permit any route
ip prefix-list test4 permit 0.0.0.0/0 - It says permit default route
Default route it self says permit any route so why it is different here in command.
If I want to permit 192.0.0.0 IP only then , will I write 192.0.0.0/2 or 192.0.0.0/8, what is difference between two.
ip prefix-list test5 permit 192.0.0.0/2 ge 23 le 24
ip prefix-list test5 permit 192.0.0.0/8 ge 23 le 24
will these two Prefix-list serves the same output, if not then what are the IPs covered separately in these two.
Thanks in advance…