所以你需要 12 x /28 子网和 12 x /29
for example:
192.160.0.0 /28 pcs locaacion 1
192.168.0.16 /28 pcs location 2
192.168.0.32 /28 pcs location 3
.
.
192.168.0.192 /28 pcs location 13
so, you have 13 availabe addresses on each site for your pcs and 1 address for your default gateway (router), each subnet with a mask of 255.255.255.240
now do the same for your printers, but with a /29 subnet mask:
192.168.1.0 /29 printer loc 1
192.168.1.8 /29 printer loc 2
192.168.1.16 /29 printer loc 3
.
.
192.168.1.96 /29 printer loc 13
each subnet has space for 5 printer plus 1 address for the router. subnetmask would be 255.255.255.248
https://www.google.com/url?sa=t&source=web&cd=1&ved=2ahUKEwi_z6TcxuXlAhXxx6YKHXs6C20QFjAAegQIBBAB&url=https%3A%2F%2Fwww.cisco.com%2Fc%2Fen%2Fus%2Fsupport%2Fdocs%2Fip%2Frouting-information-协议-rip%2F13788-3.pdf&usg=AOvVaw1yWOeJIvOH0nY7UyR-Oe8j
要优化路由,您可以将 2x/28 分配给您的位置,然后您有:192.168.0.0/28 和 192.168.0.16/28,一个用于打印机,一个用于位置 1 的 pc。所以您有一个 /27 (255.255. 255.224)在每个站点上。意味着,网络中只有 1 个路由条目可以到达站点打印机和 PC
如您所见,如果您对子网划分一无所知,这似乎很复杂。仔细阅读上面的链接以了解 IP 地址!