RE: Minimal Number of Statements

From: robj (rob@warnerbeach.com)
Date: Tue Mar 15 2005 - 14:32:20 GMT-3


ignore me i forgot to advertise the .20 network as well from the other
router!
and this is why i failed the lab:-)

but you could still do it but with 4 lines again
deny 2.16.1.0 0.3.0.0
deny 2.20.1.0 0.0.0.0
deny 2.30.1.0 0.1.0.0
permit 2.16.1.0 0.15.0.0

-----Original Message-----
From: robj [mailto:rob@warnerbeach.com]
Sent: 15 March 2005 17:30
To: gladston@br.ibm.com; ccielab@groupstudy.com
Subject: RE: Minimal Number of Statements

I believe you could also do the following.....
deny 2.16.1.0 0.3.0.0
deny 2.30.1.0 0.1.0.0
permit 2.16.1.0 0.15.0.0

which would give you 3 lines

-----Original Message-----
From: gladston@br.ibm.com [mailto:gladston@br.ibm.com]
Sent: Monday, March 14, 2005 3:03 PM
To: ccielab@groupstudy.com
Subject: Minimal Number of Statements

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?



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