Networking 子网将网络拆分为更小的网络

Networking 子网将网络拆分为更小的网络,networking,network-programming,subnet,Networking,Network Programming,Subnet,我一直在研究这个问题,但没有取得多大进展。有人能帮我吗 您的公司被分配了网络地址214.56.78.0/24。该公司有五个工作组负责 支持:管理(11台主机)、销售(32台主机)、客户支持(41台主机)、支持服务器(8台主机), 网络和数据库服务(37台主机)。管理层希望在每个季度提供10%的增长 组管理层还希望有一个未使用地址的“池”供将来使用。公司 安全组希望您设置网络,使五个工作组位于不同的网络上 部分。使用子网将/24网络拆分为更小的网络。列出网络、网络掩码、, 并告诉您的设计中“浪费”

我一直在研究这个问题,但没有取得多大进展。有人能帮我吗

您的公司被分配了网络地址214.56.78.0/24。该公司有五个工作组负责 支持:管理(11台主机)、销售(32台主机)、客户支持(41台主机)、支持服务器(8台主机), 网络和数据库服务(37台主机)。管理层希望在每个季度提供10%的增长 组管理层还希望有一个未使用地址的“池”供将来使用。公司 安全组希望您设置网络,使五个工作组位于不同的网络上 部分。使用子网将/24网络拆分为更小的网络。列出网络、网络掩码、, 并告诉您的设计中“浪费”了多少IP地址。

您需要使用

1.从用户最多的子网开始,逐步向下

  • 客户支持41+4
  • 网络和数据库服务37+4
  • 销售32+3
  • 行政11+1
  • 支持服务器8+1
客户支持:45台主机

2^6= 64-2 = 62 usable hosts.
214.56.78.SSNNNNNN -> 2 subnet bits and 6 host bits
Customer Support: 214.56.78.0/26 - 214.56.78.1 - 214.56.78.63
2^6 = 64-2 = 62 usable hosts
214.56.78.SSNNNNNN -> 2 subnet bits and 6 host bits
Web and Database Services: 214.56.78.64/26 - 214.56.78.64 - 214.56.78.127
2^6 = 64-2 = 62 usable hosts
214.56.78.SSNNNNNN -> 2 subnet bits and 6 host bits
Sales: 214.56.78.128/26 - 214.56.78.128 - 214.56.78.191
2^4 = 16-2 = 14 usable hosts
214.56.78.SSSSNNNN -> 4 subnet bits and 4 host bits
Administration: 214.56.78.192/28 - 214.56.78.192 - 214.56.78.207
2^4 = 16-2 = 14 usable hosts
214.56.78.SSSSNNNN -> 4 subnet bits and 4 host bits
Support Servers: 214.56.78.208/28 - 214.56.78.208 - 214.56.78.223
网络和数据库服务:需要41台主机

2^6= 64-2 = 62 usable hosts.
214.56.78.SSNNNNNN -> 2 subnet bits and 6 host bits
Customer Support: 214.56.78.0/26 - 214.56.78.1 - 214.56.78.63
2^6 = 64-2 = 62 usable hosts
214.56.78.SSNNNNNN -> 2 subnet bits and 6 host bits
Web and Database Services: 214.56.78.64/26 - 214.56.78.64 - 214.56.78.127
2^6 = 64-2 = 62 usable hosts
214.56.78.SSNNNNNN -> 2 subnet bits and 6 host bits
Sales: 214.56.78.128/26 - 214.56.78.128 - 214.56.78.191
2^4 = 16-2 = 14 usable hosts
214.56.78.SSSSNNNN -> 4 subnet bits and 4 host bits
Administration: 214.56.78.192/28 - 214.56.78.192 - 214.56.78.207
2^4 = 16-2 = 14 usable hosts
214.56.78.SSSSNNNN -> 4 subnet bits and 4 host bits
Support Servers: 214.56.78.208/28 - 214.56.78.208 - 214.56.78.223
销售:需要35台主机

2^6= 64-2 = 62 usable hosts.
214.56.78.SSNNNNNN -> 2 subnet bits and 6 host bits
Customer Support: 214.56.78.0/26 - 214.56.78.1 - 214.56.78.63
2^6 = 64-2 = 62 usable hosts
214.56.78.SSNNNNNN -> 2 subnet bits and 6 host bits
Web and Database Services: 214.56.78.64/26 - 214.56.78.64 - 214.56.78.127
2^6 = 64-2 = 62 usable hosts
214.56.78.SSNNNNNN -> 2 subnet bits and 6 host bits
Sales: 214.56.78.128/26 - 214.56.78.128 - 214.56.78.191
2^4 = 16-2 = 14 usable hosts
214.56.78.SSSSNNNN -> 4 subnet bits and 4 host bits
Administration: 214.56.78.192/28 - 214.56.78.192 - 214.56.78.207
2^4 = 16-2 = 14 usable hosts
214.56.78.SSSSNNNN -> 4 subnet bits and 4 host bits
Support Servers: 214.56.78.208/28 - 214.56.78.208 - 214.56.78.223
管理:需要12台主机

2^6= 64-2 = 62 usable hosts.
214.56.78.SSNNNNNN -> 2 subnet bits and 6 host bits
Customer Support: 214.56.78.0/26 - 214.56.78.1 - 214.56.78.63
2^6 = 64-2 = 62 usable hosts
214.56.78.SSNNNNNN -> 2 subnet bits and 6 host bits
Web and Database Services: 214.56.78.64/26 - 214.56.78.64 - 214.56.78.127
2^6 = 64-2 = 62 usable hosts
214.56.78.SSNNNNNN -> 2 subnet bits and 6 host bits
Sales: 214.56.78.128/26 - 214.56.78.128 - 214.56.78.191
2^4 = 16-2 = 14 usable hosts
214.56.78.SSSSNNNN -> 4 subnet bits and 4 host bits
Administration: 214.56.78.192/28 - 214.56.78.192 - 214.56.78.207
2^4 = 16-2 = 14 usable hosts
214.56.78.SSSSNNNN -> 4 subnet bits and 4 host bits
Support Servers: 214.56.78.208/28 - 214.56.78.208 - 214.56.78.223
支持服务器:需要9台主机

2^6= 64-2 = 62 usable hosts.
214.56.78.SSNNNNNN -> 2 subnet bits and 6 host bits
Customer Support: 214.56.78.0/26 - 214.56.78.1 - 214.56.78.63
2^6 = 64-2 = 62 usable hosts
214.56.78.SSNNNNNN -> 2 subnet bits and 6 host bits
Web and Database Services: 214.56.78.64/26 - 214.56.78.64 - 214.56.78.127
2^6 = 64-2 = 62 usable hosts
214.56.78.SSNNNNNN -> 2 subnet bits and 6 host bits
Sales: 214.56.78.128/26 - 214.56.78.128 - 214.56.78.191
2^4 = 16-2 = 14 usable hosts
214.56.78.SSSSNNNN -> 4 subnet bits and 4 host bits
Administration: 214.56.78.192/28 - 214.56.78.192 - 214.56.78.207
2^4 = 16-2 = 14 usable hosts
214.56.78.SSSSNNNN -> 4 subnet bits and 4 host bits
Support Servers: 214.56.78.208/28 - 214.56.78.208 - 214.56.78.223
未使用的池:剩下什么

2^5= 32 - 2 = 30 usable hosts
214.56.78.SSSNNNNN -> 3 subnet bits and 5 host bits
Unused Pool: 214.56.78.224/27 - 214.56.78.224 - 214.56.78.255
总结

Customer Support: 214.56.78.0/26
Web and Database Services: 214.56.78.64/26
Sales: 214.56.78.128/26
Administration: 214.56.78.192/28
Support Servers: 214.56.78.208/28
Unused Pool: 214.56.78.224/27

最初的问题是离题的,但对于我们这些正在寻找综合示例的人来说,答案很好地说明了可变长度子网掩码。