RE: Minimum amount of lines used -> to filter , Pls help TIA

From: Mike Calhoon (mcalhoon27@gmail.com)
Date: Thu Jun 16 2005 - 09:16:39 GMT-3


Your one line answer will also filter the following hosts:

49.1.0.1
49.1.0.9

If those hosts are not supposed to be filtered, then you will get the
problem wrong. The two line answer will only filter what is required.

   Mike

-----Original Message-----
From: nobody@groupstudy.com [mailto:nobody@groupstudy.com] On Behalf Of hin
ccie
Sent: Thursday, June 16, 2005 8:00 AM
To: ccielab@groupstudy.com
Subject: Minimum amount of lines used -> to filter , Pls help TIA

Hi Guys,
 
I'm rather confused about this issue
- to filter the following hosts with the minimum amount of lines
      49.3.0.1
      49.5.0.1
      49.7.0.1
      49.3.0.9
      49.5.0.9
      49.7.0.9
 
At first, I come up with one line
     49.1.0.1 wild-mask 0.6.0.8
 
for the second octet summarization
    3 = 0 0 1 1
    5 = 0 1 0 1
    7 = 0 1 1 1
 -----------------------
result = octet -> 1 with wild card 6
 
for the fourth octet summarization
   1 = 0 0 0 1
   9 = 1 0 0 1
---------------------
result = octet -> 1 with wild card 8
 
However , there's other opinion with 2 lines
    49.3.0.1 wild-mask 0.0.0.8
    49.5.0.1 wild-mask 0.2.0.8
 
which one is right - or there's any other best answer ?
 
TIA
hin
 
      
 

                
---------------------------------
Discover Yahoo!
 Stay in touch with email, IM, photo sharing & more. Check it out!



This archive was generated by hypermail 2.1.4 : Wed Jul 06 2005 - 14:43:41 GMT-3