Subnet mask fast algorithm

xiaoxiao2021-03-06  69

If you want only 5 IP addresses in each subnet, you can use it to the machine, then you need to prepare for 7 per subnet at least.

IP address, because you need to add two unavailable networks and broadcast IPs, you need to choose the most recent bit of more than 7, too

Is 8, that is, 8 IPs of each subnet. Ok, go to this step, you can count the mask, this method is: final

One mask is 256 minus the number of IP addresses you need for each subnet, then this example is 256-8 = 248, then

If you calculate this, you can know that IP is not used, see: 0-7, 8-15, 16-23, 24-31 According to this class, write

In the top 0, 7, 8, 15, 16, 23, 24, 31 (according to such push), you should use one of two numbers

The IP of the room is the IP available for a subnet. What happened? Doesn't it believe? too easy. . .

I tried again, I took 200 machines into four subnets to do the example.

200 machines, 4 subnets, then 50 machines per subnet, set to 192.168.10.0, Class C, big subnet

The mask should be 255.255.255.0, to the bar, but we want a molecular network, so according to the above, we use 32 IP a child

Not enough network, you should use 64 IPs per subnet (62 digits available, enough), then use my approach: subnet cover

The code should be 256-64 = 192, then the total subnet mask should be: 255.255.255.192. Do not believe? Calculate: 0-63,

64-127, 128-191, 192-255, so you can set the four regions to the machine of the four subnets, is

Not very simple?

转载请注明原文地址:https://www.9cbs.com/read-120260.html

New Post(0)