IP Prefix-List question

From: Calin Chiorean <calin_at_engineer.com>
Date: Mon, 02 Apr 2012 21:29:58 +0200

Hello,

I have a task in a preparation Lab for CCIE RS and I would like your
opinion on this.

I have a number of subnets from which the followings are important for
this task:

10.4.1.4/30
10.4.2.8/29
10.4.3.16/28
10.4.4.32/27
10.4.5.64/26
10.4.6.128/25

The other present subnets are something like 10.7.x.x

The request is to configure a prefix-list with base on:
- allow all subnets in 10.4.0.0
- as specific as possible, I should not allow other prefixes
- minimum number of prefix-lists

Considering the above one I did
ip prefix-list ONE permit 10.4.0.0/21 ge 25 le 30

However the proposed solution is:
ip prefix-list ONE seq 5 permit 10.4.0.0/22 ge 23 le 30
ip prefix-list ONE seq 10 permit 10.4.4.0/22 ge 23 le 28

Both solutions are working, nevertheless which one would you choose in
an exam?

Thanks and cheers,
Calin

Blogs and organic groups at http://www.ccie.net
Received on Mon Apr 02 2012 - 21:29:58 ART

This archive was generated by hypermail 2.2.0 : Tue May 01 2012 - 08:20:45 ART