可变长度子网掩码_计算机网络中的固定长度和可变长度子网掩码(FLSM和VLSM)...

可变长度子网掩码

Subnetting means dividing a network in multiple small networks. We use subnetting mainly to save the wastage of IP addresses. We will be discussing here subnetting of classful addressing. There are two types of subnetting,

子网划分是指将一个网络划分为多个小型网络。 我们主要使用子网划分来节省IP地址的浪费。 我们将在这里讨论分类寻址的子网划分。 子网划分有两种类型,

  1. FLSM (Fixed Length Subnet Mask)

    FLSM(固定长度子网掩码)

  2. VLSM (Variable Length Subnet Mask)

    VLSM(可变长度子网掩码)

We will be discussing here, how to perform subnetting step by step in both cases?

我们将在这里讨论两种情况下如何逐步进行子网划分?

1)FLSM(固定长度子网掩码) (1) FLSM (Fixed Length Subnet Mask))

Let’s, consider an IP address 198.168.10.0

让我们考虑一个IP地址198.168.10.0

Now we have to divide this IP address into 4 subnetwork parts. After dividing we have to find out the range of IP addresses blocks.

现在,我们必须将此IP地址划分为4个子网部分。 划分之后,我们必须找出IP地址块的范围。

4 Simple Steps for Calculating Network Blocks of IP Address

计算IP地址网络块的4个简单步骤

Step 1: Calculate the required subnet bit. In this subnetting process, we will borrow the bit from the host side.

步骤1:计算所需的子网位。 在此子网划分过程中,我们将从主机端借用该位

Now here is the question arise, which bits belong to the host side and network side?

现在出现问题了,哪些位属于主机端和网络端?

We will find it with the help of subnet masks. We are given a Class C IP address and default subnet mask for Class C is 255.255.255.0

我们将在子网掩码的帮助下找到它。 我们获得了C类IP地址,C类的默认子网掩码是255.255.255.0

Every octet consists of 8-bit in this case we are having 24 1’s in network bit.

每个八位位组由8位组成,在这种情况下,我们的网络位为24 1。

FLSM
  • 1
    点赞
  • 10
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值