Have some doubt on Prefix-list :
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 ?
If I want to match 18.104.22.168 only , whould I write 22.214.171.124/1 or 126.96.36.199/8 or 188.8.131.52/32 ?
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.
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 test6 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