cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1244
Views
0
Helpful
4
Replies

(10.0.0.0/8 ge 24 le 30) VS (10.0.0.0/24 le 30)

mohammed hashim
Level 1
Level 1

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

??

1 Accepted Solution

Accepted Solutions

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


Please rate and mark as an accepted solution if you have found any of the information provided useful.
This then could assist others on these forums to find a valuable answer and broadens the community’s global network.

Kind Regards
Paul

View solution in original post

4 Replies 4

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


Please rate and mark as an accepted solution if you have found any of the information provided useful.
This then could assist others on these forums to find a valuable answer and broadens the community’s global network.

Kind Regards
Paul

Hi Paul,

10.0.0.X
10.1.0.X
10.2.0.X

but this will break the rule of /8

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


Please rate and mark as an accepted solution if you have found any of the information provided useful.
This then could assist others on these forums to find a valuable answer and broadens the community’s global network.

Kind Regards
Paul

thanks a lot paul, it is clear,

Review Cisco Networking for a $25 gift card