Internet Standard Subnetting Procedure RFC 950

RFC 950                                                      August 1985


Internet Standard Subnetting Procedure


       For example, the Internet address might be interpreted as:  <network-number><subnet-number><host-number>

      where the <network-number> field is as defined by IP [3], the<host-number> field is at least 1-bit wide, and the width of the<subnet-number> field is constant for a given network. No further structure is required for the <subnet-number> or <host-number> fields.  If the width of the <subnet-number> field is zero, then the network is not subnetted (i.e., the interpretation of [3] is used).

      For example, on a Class B network with a 6-bit wide subnet field, an address would be broken down like this:

                           1                             2                   3
       0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
      |1 0|        NETWORK            |  SUBNET   |    Host Number    |
      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

 

 

      Since the bits that identify the subnet are specified by a bitmask, they need not be adjacent in the address.  However, we recommend that the subnet bits be contiguous and located as the most significant bits of the local address.

      Special Addresses:
From the Assigned Numbers memo [9]:


      "In certain contexts, it is useful to have fixed addresses with functional significance rather than as identifiers of specific hosts.  When such usage is called for, the address zero is to be interpreted as meaning "this", as in "this network".  The address of all ones are to be interpreted as meaning "all", as in "all hosts".  For example, the address 128.9.255.255 could be interpreted as meaning all hosts on the network 128.9.  Or, the address 0.0.0.37 could be interpreted as meaning host 37 on this network."


        It is useful to preserve and extend the interpretation of these special addresses in subnetted networks.  This means the values of all zeros and all ones in the subnet field should not be assigned to actual (physical) subnets.       

 

        In the example above, the 6-bit wide subnet field may have any value except 0 and 63.

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值