Академический Документы
Профессиональный Документы
Культура Документы
Class C IP
00000000=0 /24
10000000=128 /25
11000000=192 /26
11100000=224/27
11110000=240/28
11111000=248/29
11111100=250 /30
11111110=254 /31 We don’t use that because at least 2 host bit is used for
11111111=255 /32 Assigning IP.
Example-1
192.168.10.0= Network Address
255.255.255.128= Subnet Mask
Subnet= 21=2
Host = 27-2=126
Valid Subnets are:
256-128=128
0 and 128
Subnet 0 128
First Host 1 129
Last Host 126 254
Broadcast 127 255
Example-2
255.255.255.192(/26) =11111111.11111111.11111111.11000000
Subnet= 22 =4
Host Per Subnet =26-2=62
Valid Subnets are:
256-192=64
0,64,128,192
Subnet 0 64 128 192
First Host 1 65 129 193
Last Host 62 126 190 254
Broadcast 63 127 191 255
Example-3
Node Address: 192.168.10.174
Subnet Mask: 255.255.255.240
So our host address 192.168.10.174 is between the block 160 and 176.
Thus the subnet is: 160.
Example-4
/26 = 11111111.11111111.11111111.11000000
Class B IP
255.255.0.0 (/16)
255.255.128.0 (/17)
255.255.192.0 (/18)
255.255.224.0 (/19)
255.255.240.0 (/20)
255.255.248.0 (/21)
255.255.252.0 (/22)
255.255.254.0 (/23)
Example-1
Subnet = 21=2
Host = 215-2=32,766
Example-2
What subnet and broadcast address for IP address 172.16.10.33 and 255.255.255.224
(/27)
So,
Subnet: 10.32
Broadcast: 10.63
Class A IP
255.0.0.0 (/8)
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)
255.255.0.0 (/16)
Example -1
255.255.240.0 (/16)=11111111.11111111.00000000.00000000
Subnet: 212=4096
Hosts: 212-2=4094