Anda di halaman 1dari 18

Base Address Working Octet Network ID

4.105.74.11/16 .74 4.105.0.0


255.255.0.0

137.204.63.50/27 .50 137.204.63.32


255.255.255.224

11.46.214.52/12 .46 11.32.0.0


255.240.0.0

192.168.6.13/28 .13 192.168.6.0


255.255.255.240

44.231.117.127/12 .231 44.224.0.0


225.240.0.0

218.212.245.61/25 .61 218.212.245.0


255.255.255.128

212.3.124.251/26 .251 212.3.124.192


255.255.255.192

1.128.167.71/16 .167 1.128.0.0


255.255.0.0

216.211.227.134/24 .134 216.211.227.0


255.255.255.0

218.218.232.28/26 .28 218.218.232.0


255.255.255.192

20.1.114.78/17 .114 21.1.0.0


225.225.128.0

198.42.238.72/26 .72 198.42.238.64


255.255.255.192

211.78.156.59/29 .59 211.78.156.56


255.255.255.248

220.212.249.82/26 .82 220.212.249.64


255.255.255.192

48.17.186.101/28 .101 48.17.186.96


255.255.255.240
First Address Last Address Broadcast Address
4.105.0.1 4.105.255.254 4.105.255.255

137.204.63.33 137.204.63.63 137.204.63.64

11.32.0.1 11.47.255.254 11.47.255.255

192.168.6.1 192.168.6.14 192.168.6.15

44.224.0.1 44.238.255.254 44.239.255.255

218.212.245.1 218.212.245.126 218.212.245.127

212.4.124.193 212.4.124.254 212.3.124.255

1.128.0.1 1.128.255.254 1.128.255.255

216.211.227.1 216.211.227.254 216.211.227.255

218.218.232.1 218.218.232.62 218.218.232.63

21.1.0.1 21.1.127.254 21.1.127.255


198.42.238.65 198.42.238.126 198.42.238.127

211.78.156.57 211.78.156.62 211.78.156.63

220.212.249.65 220.212.249.126 220.212.249.127

48.17.186.97 48.17.186.110 48.17.186.111


Working Octet Broadcast Address

Octet = 8 bits

128 64 32 16 8 4

Network ID
.0 0 0 0
.32 0 0 1
.64 0 1 0
.96 0 1 1
.128 1 0 0
.160 1 0 1
.192 1 1 0
.224 1 1 1

Start w/0 and add 32

1 bit 2 bit 3 bit 4 bit 5 bit 6 bit 7 bit


.0 .0 .0 .0 .0 .0 .0
.128 .64 .32 .16 .8 .4 .2
.128 .64 .32 .16 .8 .4
.192 .96 .48 .24 .12 .6
.128 .64 .32 .16 .8
.160 .80 .40 .20 .10
.192 .96 .48 .24 .12
.224 .112 .56 .28 .14
.128 .64 .32 .16
.144 .72 .36 .18
.160 .80 .40 .20
.176 .88 .44 .22
.192 .96 .48 .24
.208 .104 .52 .26
.224 .112 .56 .28
.240 .120 .60 .30
.128 .64 .32
.136 .68 .34
.144 .72 .36
.152 .76 .38
.160 .80 .40
.168 .84 .42
.176 .88 .44
.184 .92 .46
.192 .96 .48
.200 .100 .50
.208 .104 .52
.216 .108 .54
.224 .112 .56
.232 .116 .58
.240 .120 .60
.248 .124 .62
.128 .64
.132 .66
.136 .68
.140 .70
.144 .72
.148 .74
.152 .76
.156 .78
.160 .80
.164 .82
.168 .84
.172 .86
.176 .88
.180 .90
.184 .92
.188 .94
.192 .96
.196 .98
.200 .100
.204 .102
.228 .104
.232 .106
.236 .108
.240 .110
.244 .112
.248 .114
.252 .116
.118
.120
.122
.124
.126
.128
.130
.132
.134
.136
.138
.140
.142
.144
.146
.148
.150
.152
.154
.156
.158
.160
.162
.164
.166
.168
.170
.172
.174
.176
.178
.180
.182
.184
.186
.188
.190
192
.194
.196
.198
.200
.202
.204
.206
.208
.210
.212
.214
.216
.218
.220
.222
.224
.226
.228
.230
.232
.234
.236
.238
.240
.242
.244
.246
.248
.250
.252
.254
cast Address
Subnet Mask Octet
128 = 1 bit
192 = 2 bits
2 1 224 = 3 bits
240 = 4 bits
248 = 5 bits
Broadcast Address 252 = 6 bits
.31 254 = 7 bits
.63 255 = 8 bits
.95
.127 Classful CIDR
.159 255.0.0.0 = /8
.191 255.255.0.0 = /16
.223 255.255.255.0 = /24
.255

Start w/31 and add 32


Public IPv4 Address Classes
Class A 0 to 126
Class B 128 to 191
Class C 192 to 223
Class D 224 to 239
Class E 240 to 255

Private IPv4 Addresses


Class A 10.X.X.X
Class B 172.16.X.X to 172.31.X.X
Class C 192.168.X.X

LOOPBACK 127.0.0.1
APIPA 169.254.X.X
Subnet Masks

255.0.0.0 /8 (Class A) 2ˆ24 - 2


255.128.0.0 /9
255.192.0.0 /10
255.224.0.0 /11
255.240.0.0 /12
255.248.0.0 /13
255.252.0.0 /14
255.254.0.0 /15

Mask 255.0.0.0 Class A /8


Octet 1
Address 10
Subnet number 10
First Address 10
Broadcast Address 10
Last Address 10

Mask 255.255.0.0 Class B /16


Octet 1
Address 10
Subnet number 10
First Address 10
Broadcast Address 10
Last Address 10
Mask 255.255.255.0 Class C /24
Octet 1
Address 10
Subnet number 10
First Address 10
Broadcast Address 10
Last Address 10
The Power of 2
2ˆ1 = 2
2ˆ2 = 4
2ˆ3 = 8
2ˆ4 = 16
2ˆ5 = 32
2ˆ6 = 64
2ˆ7 = 128

Class A
Class B
Class C

ses
255.0.0.0
255.255.0.0
255.255.255.0

s
et Masks

255.255.0.0 /16 (Class B) 2ˆ16 - 2 255.255.255.0


255.255.128.0 /17 255.255.255.128
255.255.192.0 /18 255.255.255.192
255.255.224.0 /19 255.255.255.224
255.255.240.0 /20 255.255.255.240
255.255.248.0 /21 255.255.255.248
255.255.252.0 /22 255.255.255.252
255.255.254.0 /23 255.255.255.254

2 3 4
110 140 1
0 0 0
0 0 1
255 255 255
255 255 254

2 3 4
110 140 1
110 0 0
110 0 1
110 255 255
110 255 254
2 3 4
110 140 1
110 140 0
110 140 1
110 140 255
110 140 254
Class C # of Networks Available
/24 (Class C) 2ˆ8 - 2 (256 - 2) 254 - 8 bit 0 + 128
/25 (128 - 2) 126 - 1 bit 128 + 64
/26 (64 - 2) 62 - 2 bit 192 + 32
/27 (32 - 2) 30 - 3 bit 224 + 16
/28 (16 - 2) 14 - 4 bit 240 +8
/29 (8 - 2) 6 - 5 bit 248 +4
/30 (4 - 2) 2 - 6 bit 252 +2
/31 (2 - 2) 0 - 7 bit 254 +1
8 bit 255

2ˆh - 2
h = host bits
Class A 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18

Class B 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18

Class C 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18

Default Reserved Network Bits

Subnet Eligible Host Bits

Default Reserved Host Bits


19 20 21 22 23 24 25 26 27 28 29 30 31 32

19 20 21 22 23 24 25 26 27 28 29 30 31 32

19 20 21 22 23 24 25 26 27 28 29 30 31 32