Computer network computing subnet mask IP address

Exam time did not pay attention to this type of problem, resulting in defeat, after himself reviewed the following information

Computer Network General exam will give you an IP address, subnet mask calculate

This question such as cattle off the net

Do question the idea as follows:

First, the network knows the bit number of 23 bits 32-23 = 9;

So binary representation: 1,111,111,111,111,111 1,111,111,000,000,000

The calculated binary code to decimal conversion: 2552552540 answer is quite obvious, the fourth selection

Extended read:

If you were given IP address and subnet mask allows you to find the network address, IP address and subnet mask put 01 into binary codes, by phase and on the outcome of the

0 phase to give 0,1; 0,0 0 phase obtained; phase to give a 1,1 

If you give a subnet mask, calculate the broadcast address or range is available:

IP / mask bit is 192.168.1.0/24, may I ask what the first available address and the last address is available separately ()

1 0 Full Full negative, compared with the rest of the available range: 192.168.1.1 ~ 192.168.1.254

Broadcast address for the network 192.168.1.0

I wish you a happy life ~

 

 

 

Published 14 original articles · won praise 2 · Views 928

Guess you like

Origin blog.csdn.net/zoooo_/article/details/103998713
Recommended