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

From: hin ccie (hinccie@yahoo.com)
Date: Thu Jun 16 2005 - 09:00:16 GMT-3


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