Prefix-List

From: gladston@br.ibm.com
Date: Wed Apr 13 2005 - 11:14:36 GMT-3


Can you think a way to allow just 1, 4 and 5 on the third octet using just one line prefix-list?
(mask is /24)

For example, allow 1.1.1.0, 1.1.4.0 and 1.1.5.0 out of 1.1.1.0 to 1.1.10.0.

The closer I got was:

192.67.1.0/21 ge 24 le 24
(but it does not fulfill the requirements)

If the task said it was possible to use access-list, I would use:

access-list 100 permit 1.1.1.0 0.0.5.0 255.255.255.0
(considering 1.1.0.0 is not received from the neighbor, so it does not matter this access-list allows it)



This archive was generated by hypermail 2.1.4 : Tue May 03 2005 - 07:54:57 GMT-3