RE: Summerisation general IP

From: Chua, Parry (Parry.Chua@xxxxxxxxxx)
Date: Sat Mar 23 2002 - 23:13:41 GMT-3


   
Sorry for make a mistake, I always tend to start at 0.. resent as follows :

When you work on summarization, you must given a range of address that you inte
nd to summaries. Look at the octal range that has changes and write it down in
8 bit binary value.
Starting from your left and look for the bit position that it value is differen
t across the
range and stop there.

eg 172.172.50.0 to 172.172.59.0
           ** ** The different.
bit 11122222
posi 78901234
     ++++++++
50 = 00110010
59 = 00111011
>>>>*stop here
     ++++%%%%
48 = 00110000 start from left to right. Replace the 1st different and the rest
 with 0.
240= 11110000, 1=match, 0 = don't care

So to summaries from 172.172.50.0 /24 to 172.172.59.0/24,
the answer is 172.172.48.0 /20, this mean it cover from 48 to 63 in the 3rd oct
al.

HTH

Regards
Parry
/////////////////////////////////////////////
-----Original Message-----
From: Paul (SESAMe) [mailto:paul@sesamedata.net]
Sent: Saturday, March 23, 2002 6:55 PM
To: ccielab@groupstudy.com
Subject: Summerisation general IP
/////////////////////////////////////////////



This archive was generated by hypermail 2.1.4 : Thu Jun 13 2002 - 10:57:20 GMT-3