子網路遮罩表

組數: 1 2 4 8 16 32 64

子網路遮罩: 255.255.255.0(0xffffff00) Subnet Bits: 24 Host Bits: 8
子網路個數: 1 每個子網路主機個數: 254

網路IP範圍廣播位址
.0.1-.254.255

子網路遮罩: 255.255.255.128(0xffffff80) Subnet Bits: 25 Host Bits: 7
子網路個數: 2 每個子網路主機個數: 126

網路IP範圍廣播位址
.0.1-.126.127
.128.129-.254.255

子網路遮罩: 255.255.255.192(0xffffffc0) Subnet Bits: 26 Host Bits: 6
子網路個數: 4 每個子網路主機個數: 62

網路IP範圍廣播位址
.0 .1-.62 .63
.64 .65-.126 .127
.128 .129-.190 .191
.192 .193-.254 .255

子網路遮罩: 255.255.255.224(0xffffffe0) Subnet Bits: 27 Host Bits: 5
子網路個數: 8 每個子網路主機個數: 30

網路IP範圍廣播位址
.0 .1-.30 .31
.32 .33-.62 .63
.64 .65-.94 .95
.96 .97-.126 .127
.128 .129-.158 .159
.160 .161-.190 .191
.192 .193-.222 .223
.224 .225-.254 .255

子網路遮罩: 255.255.255.240(0xfffffff0) Subnet Bits: 28 Host Bits: 4
子網路個數: 16 每個子網路主機個數: 14

網路IP範圍廣播位址
.0 .1-.14 .15
.16 .17-.30 .31
.32 .33-.46 .47
.48 .49-.62 .63
.64 .65-.78 .79
.80 .81-.94 .95
.96 .97-.110 .111
.112 .113-.126 .127
.128 .129-.142 .143
.144 .145-.158 .159
.160 .161-.174 .175
.176 .177-.190 .191
.192 .193-.206 .207
.208 .209-.222 .223
.224 .225-.238 .239
.240 .241-.254 .255

子網路遮罩: 255.255.255.248(0xfffffff8) Subnet Bits: 29 Host Bits: 3
子網路個數: 32 每個子網路主機個數: 6

網路IP範圍廣播位址 網路IP範圍廣播位址
.0 .1-.6 .7 .128 .129-.134 .135
.8 .9-.14 .15 .136 .137-.142 .143
.16 .17-.22 .23 .144 .145-.150 .151
.24 .25-.30 .31 .152 .153-.158 .159
.32 .33-.38 .39 .160 .161-.166 .167
.40 .41-.46 .47 .168 .169-.174 .175
.48 .49-.54 .55 .176 .177-.182 .183
.56 .57-.62 .63 .184 .185-.190 .191
.64 .65-.70 .71 .192 .193-.198 .199
.72 .73-.78 .79 .200 .201-.206 .207
.80 .81-.86 .87 .208 .209-.214 .215
.88 .89-.94 .95 .216 .217-.222 .223
.96 .97-.102 .103 .224 .225-.230 .231
.104 .105-.110 .111 .232 .233-.238 .239
.112 .113-.118 .119 .240 .241-.246 .247
.120 .121-.126 .127 .248 .249-.254 .255

子網路遮罩: 255.255.255.252(0xfffffffc) Subnet Bits: 30 Host Bits: 2
子網路個數: 64 每個子網路主機個數: 2

網路IP範圍廣播位址 網路IP範圍廣播位址
.0 .1-.2 .3 .128 .129-.130 .131
.4 .5-.6 .7 .132 .133-.134 .135
.8 .9-.10 .11 .136 .137-.138 .139
.12 .13-.14 .15 .140 .141-.142 .143
.16 .17-.18 .19 .144 .145-.146 .147
.20 .21-.22 .23 .148 .149-.150 .151
.24 .25-.26 .27 .152 .153-.154 .155
.28 .29-.30 .31 .156 .157-.158 .159
.32 .33-.34 .35 .160 .161-.162 .163
.36 .37-.38 .39 .164 .165-.166 .167
.40 .41-.42 .43 .168 .169-.170 .171
.44 .45-.46 .47 .172 .173-.174 .175
.48 .49-.50 .51 .176 .177-.178 .179
.52 .53-.54 .55 .180 .181-.182 .183
.56 .57-.58 .59 .184 .185-.186 .187
.60 .61-.62 .63 .188 .189-.190 .191
.64 .65-.66 .67 .192 .193-.194 .195
.68 .69-.70 .71 .196 .197-.198 .199
.72 .73-.74 .75 .200 .201-.202 .203
.76 .77-.78 .79 .204 .205-.206 .207
.80 .81-.82 .83 .208 .209-.210 .211
.84 .85-.86 .87 .212 .213-.214 .215
.88 .89-.90 .91 .216 .217-.218 .219
.92 .93-.94 .95 .220 .221-.222 .223
.96 .97-.98 .99 .224 .225-.226 .227
.100 .101-.102 .103 .228 .229-.230 .231
.104 .105-.106 .107 .232 .233-.234 .235
.108 .109-.110 .111 .236 .237-.238 .239
.112 .113-.114 .115 .240 .241-.242 .243
.116 .117-.118 .119 .244 .245-.246 .247
.120 .121-.122 .123 .248 .249-.250 .251
.124 .125-.126 .127 .252 .253-.254 .255

子網路遮罩: 255.255.255.255(0xffffffff) Subnet Bits: 32 Host Bits: 0
子網路個數: 255 每個子網路主機個數: 1

 

IP Address

class A0Net ID (7 bits)Host ID (24 bits)
class B10Net ID (14 bits)Host ID (16 bits)
class C110Net ID (21 bits)Host ID (8 bits)
class D1110多點傳送群組ID (28 bits)
class E11110Reversed (27 bits)

class範圍private ip
A0.0.0.0~127.255.255.25510.0.0.0~10.255.255.255
B128.0.0.0~191.255.255.255172.16.0.0~172.16.255.255
C192.0.0.0~223.255.255.255192.168.0.0~192.168.255.255
D224.0.0.0~239.255.255.255 
E240.0.0.0~247.255.255.255 

(參考RFC1878)