将给定网络划分为4个子网 [英] Dividing a given network in 4 subnets

查看:621
本文介绍了将给定网络划分为4个子网的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

假设我获得了网络(57.70.32.0/21),我需要将其划分为4个大小相同的网络。

Lets suppose I get given the network (57.70.32.0/21) and I need to divide it into 4 equally sized networks.

我知道目前的掩码是(255.255.248.0),但我需要将给定的网络前缀长度更改为26,这样我才能得到4等于大小子网?基本上这是我最大的问题,如果我应该使用第4个八位字节进行子网划分或留在第3个进行。

I know the mask at the moment is (255.255.248.0) but would I need to change the prefix length of the network given to 26 so I can get the 4 equal size subnets? Basically that's my biggest question and also if I should then use the 4th octet for subnetting or stay with the 3rd to do it.

非常感谢任何帮助。

推荐答案

你可以分开您的ips分为4个网络,每个网络有510个IP,不包括网关,广播和网络ID。

you can divide your ips into 4 networks with 510 IPs each, not counting gateway, broadcast, and net id.

每个网络的cidr为/ 23,相当于子网255.255.254.0

each net will have a cidr of /23 which would equate to subnet 255.255.254.0

你可以划分它们分为以下子网:

you could divide them into subnets as follows:

57.70.32.0/23 
     first address: 57.70.32.0
     last address:  57.70.33.255

57.70.34.0/23
    first address: 57.70.34.0
    last address:  57.70.35.255

57.70.36.0/23
    first address: 57.70.36.0
    last address:  57.70.37.255

57.70.38.0/23
    first address: 57.70.38.0
    last address:  57.70.39.255

这篇关于将给定网络划分为4个子网的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆