Re: Minimal Number of Statements

From: Bola Adegbonmire (bolaccie@yahoo.com)
Date: Tue Mar 15 2005 - 13:12:12 GMT-3


Ed problem with your solution is it will meet minimal requirements, but it will allow more than the routes specified as the permit any will allow any routes apart from the denied ones.

 

I think you should look at the solution that allows only the specified routes (even if other routes were injected). Though original poster may clarify requirements.

 

Bola

Ed Lui <edwlui@gmail.com> wrote:deny 210.16.1.0 0.3.0.0
deny 210.20.1.0 0.0.0.0
deny 210.30.1.0 0.1.0.0
permit any

Still need 4 lines :(

-- 
Edward 
(A+, Net+, MCP, MCP+I, MCSE, CCNA, CCNP)

On Mon, 14 Mar 2005 15:02:30 -0500, gladston@br.ibm.com wrote: > What would you use as a minimal number of statements to achieve the follwing result? > > Before any filtering, R6 receives these routes: > > r6#sir ei > D 210.16.1.0/24 [90/2297856] via 150.100.16.1, 00:00:50, Serial0 > D 210.17.1.0/24 [90/2297856] via 150.100.16.1, 00:00:50, Serial0 > D 210.18.1.0/24 [90/2297856] via 150.100.16.1, 00:00:50, Serial0 > D 210.19.1.0/24 [90/2297856] via 150.100.16.1, 00:00:50, Serial0 > D 210.20.1.0/24 [90/2297856] via 150.100.16.1, 00:00:50, Serial0 > D 210.21.1.0/24 [90/2297856] via 150.100.16.1, 00:00:50, Serial0 > D 210.23.1.0/24 [90/2297856] via 150.100.16.1, 00:00:50, Serial0 > D 210.22.1.0/24 [90/2297856] via 150.100.16.1, 00:00:50, Serial0 > D 210.25.1.0/24 [90/2297856] via 150.100.16.1, 00:00:50, Serial0 > D 210.24.1.0/24 [90/2297856] via 150.100.16.1, 00:00:50, Serial0 > D 210.27.1.0/24 [90/2297856] via 150.100.16.1, 00:00:50, Serial0 > D 210.26.1.0/24 [90/2297856] via 150.100.16.1, 00:00:50, Serial0 > D 210.29.1.0/24 [90/2297856] via 150.100.16.1, 00:00:50, Serial0 > D 210.28.1.0/24 [90/2297856] via 150.100.16.1, 00:00:50, Serial0 > D 210.29.1.0/24 [90/2297856] via 150.100.16.1, 00:00:50, Serial0 > D 210.30.1.0/24 [90/2297856] via 150.100.16.1, 00:00:50, Serial0 > D 210.31.1.0/24 [90/2297856] via 150.100.16.1, 00:00:50, Serial0 > > Make a filter with the minimal number of statements to allow in just these routes: > > D 210.21.1.0/24 [90/2297856] via 150.100.16.1, 00:00:50, Serial0 > D 210.23.1.0/24 [90/2297856] via 150.100.16.1, 00:00:50, Serial0 > D 210.22.1.0/24 [90/2297856] via 150.100.16.1, 00:00:50, Serial0 > D 210.25.1.0/24 [90/2297856] via 150.100.16.1, 00:00:50, Serial0 > D 210.24.1.0/24 [90/2297856] via 150.100.16.1, 00:00:50, Serial0 > D 210.27.1.0/24 [90/2297856] via 150.100.16.1, 00:00:50, Serial0 > D 210.26.1.0/24 [90/2297856] via 150.100.16.1, 00:00:50, Serial0 > D 210.29.1.0/24 [90/2297856] via 150.100.16.1, 00:00:50, Serial0 > D 210.28.1.0/24 [90/2297856] via 150.100.16.1, 00:00:50, Serial0 > D 210.29.1.0/24 [90/2297856] via 150.100.16.1, 00:00:50, Serial0 > > The minimal number I got is four statements: > > permit 210.21.1.0 > permit 210.22.1.0 0.1.0.0 > permit 210.24.1.0 0.3.0.0 > permit 210.28.1.0 0.1.0.0 > > Any other idea? > > _______________________________________________________________________ > Subscription information may be found at: > http://www.groupstudy.com/list/CCIELab.html



This archive was generated by hypermail 2.1.4 : Sun Apr 03 2005 - 17:56:45 GMT-3