Knowledge of the number three network

1, a first set of numbers (IP address calculation for each bit 1 respectively)

128 64 32 16 8 4 2 1

10000000=128 00001000=8

01000000=64 00000100=4

00100000=32 00000010=2

00010000=16 00000001=1

2, a second set of numbers (for calculating the subnet mask, 1 each from left to right, respectively)

128 192 224 250 248 252 254 255

10000000=128 11111000=248

11000000=192 11111100=252

11100000=224 11111110=254

11110000=240 11111111=255

3, a third set number (for calculating the broadcast address, respectively from right to left every 1)

1 3 7 15 31 63 127 255

00000001=1 00011111=31

00000011=3 00111111=63

00000111=7 01111111=127

00001111=15 11111111=255

Guess you like

Origin blog.csdn.net/huangbaokang/article/details/94430953