08-03-2016 09:41 AM - edited 03-08-2019 06:51 AM
hi,
when creating ip prefix-list, are these sets are same or different ?
Ip prefix-list TEST permit 10.0.0.0/8 ge 24 le 30
VS
Ip prefix-list TEST permit 10.0.0.0/24 le 30
??
Solved! Go to Solution.
08-03-2016 12:52 PM
Hello
Mohammed, Not sure what you are saying by breaking rule /8
I see it has the following:
10.0.0./8 range from 10.0.0.0 - 10.255.255.254
Ip prefix-list TEST permit 10.0.0.0/8 ge 24 le 30 - This is saying any subnet from that /8 with prefix greater than 24 and less/equal 30 will be accepted
10.0.0.1/24
10.1.10.X/25
10.2.2.0/26
etc
10.0.0.0 /24 range from 10.0.0.1 -255
Ip prefix-list TEST permit 10.0.0.0/24 le 30 - This is saying any subnet from that /24 with prefix greater than 24 and less/equal 30 will be accepted
10.0.0.0/24 - 10.0.0.1 -254
10.0.0.0/25 - 10.0.0.1 -128
10.0.0.128/25 - 10.0.0.128 -254
I am sure others will comment and clarify if I am misinterpreting it incorrectly.
res
Paul
08-03-2016 10:43 AM
Hello
My understanding is:
Ip prefix-list TEST permit 10.0.0.0/8 ge 24 le 30 <-allows any subnets in 10.x.x.x greater than 24 and less /equal than 30
10.0.0.X
10.1.0.X
10.2.0.X
etc..
Ip prefix-list TEST permit 10.0.0.0/24 le 30 <-allows subnets in 10.0.0.x greater than 24 and less /equal than 30
10.0.0.X
res
Paul
08-03-2016 10:51 AM
Hi Paul,
10.0.0.X
10.1.0.X
10.2.0.X
but this will break the rule of /8
08-03-2016 12:52 PM
Hello
Mohammed, Not sure what you are saying by breaking rule /8
I see it has the following:
10.0.0./8 range from 10.0.0.0 - 10.255.255.254
Ip prefix-list TEST permit 10.0.0.0/8 ge 24 le 30 - This is saying any subnet from that /8 with prefix greater than 24 and less/equal 30 will be accepted
10.0.0.1/24
10.1.10.X/25
10.2.2.0/26
etc
10.0.0.0 /24 range from 10.0.0.1 -255
Ip prefix-list TEST permit 10.0.0.0/24 le 30 - This is saying any subnet from that /24 with prefix greater than 24 and less/equal 30 will be accepted
10.0.0.0/24 - 10.0.0.1 -254
10.0.0.0/25 - 10.0.0.1 -128
10.0.0.128/25 - 10.0.0.128 -254
I am sure others will comment and clarify if I am misinterpreting it incorrectly.
res
Paul
08-04-2016 11:26 PM
thanks a lot paul, it is clear,
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide