Dividing a given network in 4 subnets

╄→尐↘猪︶ㄣ 提交于 2020-01-24 02:13:07

问题


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

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.

Any help would be extremely appreciated.


回答1:


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

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


来源:https://stackoverflow.com/questions/37463414/dividing-a-given-network-in-4-subnets

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!