简体   繁体   English

ip 子网掩码,网段

[英]Ip Subnet Mask, network Devision

I' ve been trying all day to find out how to devide a network into 4 networks:我一整天都在尝试找出如何将网络划分为 4 个网络:

I got the IP: 195.232.176.0 /20我得到了 IP:195.232.176.0 /20

So by converting the IP into the following formation所以通过将IP转换成以下形式

[octal 1] . [八进制 1]。 [octal 2] . [八进制2]。 [octal 3] . [八进制 3]。 [octal 4] [八进制 4]

11000011 . 11000011。 11101000 . 11101000。 10110000 . 10110000。 00000000 00000000

By setting 1 in the first 20bits starting counting from the left I have:通过在从左边开始计数的前 20 位中设置 1,我有:

==================20bits============== ==================20bits==============

11111111 . 11111111。 11111111 . 11111111。 1111 0000 . 1111 0000。 00000000 = 225.225.240.0 (Subnet Mask) 00000000 = 225.225.240.0(子网掩码)

So the four networks are :所以这四个网络是:

Starting IP Address: 195.232.176.0 /20起始 IP 地址:195.232.176.0 /20

195.232.x.0 /20 195.232.x.0 /20

195.232.x.0 /20 195.232.x.0 /20

195.232.x.0 /20 195.232.x.0 /20

195.232.x.0 /20 195.232.x.0 /20

Are the 4 networks correct?? 4个网络对吗?? My problem is on how will I put the x numbers with the data I have found!我的问题是如何将 x 数字与我找到的数据放在一起!

It's easy peasy once you know subnetting.一旦你知道子网划分就很容易了。

Let's have a closer look at the IP 195.232.176.0 /20.让我们仔细看看 IP 195.232.176.0 /20。 What is the full range?什么是全系列?

195.232.176.0 to 195.232.191.255

So to divide the 195.232.176.0 /20 up into 4 subnets , you'll need a /22 mask for each subnet.因此,要将 195.232.176.0 /20划分为4 个子网,您需要为每个子网设置一个/22掩码。

195.232.176.0/22 (195.232.176.0 to 195.232.179.255)
195.232.180.0/22 (195.232.180.0 to 195.232.183.255)
195.232.184.0/22 (195.232.184.0 to 195.232.187.255)
195.232.188.0/22 (195.232.188.0 to 195.232.191.255)

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM