Get the App
SLTechnology News&Howtos  ›  Network Security  › 

A simple calculation method for subnetting of IP

Shulou Source: shulou.com Published: 2022-06-01 07:24:20 10月03日 Update

1. Calculation method of IP subnetting

Number of subnets: n to the power of 2 represents the number of bits borrowed from the host bit

Number of subnet IP: n to the power of 2-2 N represents the number of bits to the host

Network address of each subnet: 256 minus subnet mask

Broadcast address of each subnet: the network bit remains the same, and the host bit is all 1

Inverse mask: 255.255.255.255 minus the subnet mask, the value obtained is the inverse mask.

2. the conversion table of the number of subnets and subnet masks of the three types of networks.

Tags: Subnet host network representative digit address quantity method three big namely number broadcast simple Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Apple Shulou Technology NVidia Huawei Docker