On Monday 03 November 2003 17:28, Gregoire Huet wrote:

> stuff 0.0.1.64  255.255.255.128  128    30         128   128   Some other

This can't be correct. Lets calculate the network and the broadcast address 
from this subnet.
 
We need a BIT AND Operation with a Netmask.

Network Address 
0.0.1.64                = Binary        00000000.00000000.00000001.01000000
255.255.255.128         = Binary        11111111.11111111.11111111.10000000
---------------------------------------------------------------------------
0.0.1.0                 = Binary        00000000.00000000.00000001.00000000


Here we need an BIT OR with a Hostmask.

Broadcast Address 
0.0.1.64                = Binary        00000000.00000000.00000001.01000000
0.0.0.127               = Binary        00000000.00000000.00000000.01111111
---------------------------------------------------------------------------
0.0.1.127               = Binary        00000000.00000000.00000001.01111111


As you can see, 0.0.1.64 can never be a network address for 255.255.255.128.

I suggest allways to take the bigger network first (if it is possible):
Like the example from Jerome.

0.0.0.0   255.255.255.128  128    30   128   128   Some stuff
0.0.0.128 255.255.255.128  128   120   128   128   Some other stuff
0.0.1.0   255.255.255.128  128    64   128   128   Some other different stuff
0.0.1.128 255.255.255.192   64    30    64    64   Some different stuff
0.0.1.192 255.255.255.192   64    20    40    64   Some usual stuff
0.0.2.0   255.255.255.128  128    20    50   100   Some other usual stuff


As far as I remember there is an allocation rule. First year 50% second year 
75%.

Cheers
        Erich 

-- 
* Erich Hohermuth IP Engineer - SolNet (AS 9044) PGPKEY-46A08FCB *

----------------------------------------------
[EMAIL PROTECTED] Maillist-Archive:
http://www.mail-archive.com/swinog%40swinog.ch/

Reply via email to