Problem s routovanim (1 bitovy subnet)

Peter Kundrat kundrat na gic.sk
Středa Červenec 29 21:20:01 CEST 1998


On Wed, Jul 29, 1998 at 07:35:29PM +0200, Jiri Pavlovsky wrote:
> >Tohle je uplne v poradku. Proste pouzivaji blok 128 IP adres,
> >195.212.193.128-255.
> 
> Je tohle rozdeleni site vubec korektni? Delsi dobu ziji v domneni,
> ze abych mohl rozdelit C na dve podsite, potrebuji alespon 2 bity
> (aby adresou nebyly same nuly nebo jednicky).

RFC 1812 pise:
    IP addresses are not permitted to have the value 0 or -1 for the
    <Host-number> or <Network-prefix> fields except in the special cases
    listed above.  This implies that each of these fields will be at
    least two bits long.

   DISCUSSION
      Previous versions of this document also noted that subnet numbers
      must be neither 0 nor -1, and must be at least two bits in length.
      In a CIDR world, the subnet number is clearly an extension of the
      network prefix and cannot be interpreted without the remainder of
      the prefix.  This restriction of subnet numbers is therefore
      meaningless in view of CIDR and may be safely ignored.


			pk
-- 
Peter Kundrat
kundrat na gic.sk


Další informace o konferenci Linux