RE: Question about Prefix filtering

From: Khalid A. Kaseb (khalid_ameen@rayaintegration.com)
Date: Mon Feb 24 2003 - 06:24:11 GMT-3


The 1st will working if you are filtering packets, the 2nd one will be
used when you dealing with routes

-----Original Message-----
From: nobody@groupstudy.com [mailto:nobody@groupstudy.com] On Behalf Of
Tran Tien Phong
Sent: Monday, February 24, 2003 5:52 AM
To: ccielab@groupstudy.com
Subject: Question about Prefix filtering

Hi guys,

For example, there are following network:
192.168.1.0
192.168.2.0
192.168.3.0
192.168.4.0
192.168.5.0
192.168.6.0
192.168.7.0
192.168.8.0

The question asks me to filter the odd routes, I think there are two
working configs:

1.
access-list 1 deny 192.168.1.0 0.0.254.255
access-list 1 permit any

2.
access-list 1 deny 192.168.1.0 0.0.254.0
access-list 1 permit any

Both of the configs will work well but which one is better and more
correct?

Thanks.



This archive was generated by hypermail 2.1.4 : Sat Mar 01 2003 - 11:06:33 GMT-3