Sei sulla pagina 1di 2

Comp 11 Chapter 10

Subnetting Practice Answers and Solutions


1.

Given the subnet address of 202.22.22.160 and a subnet mask of 27 bits, find the
bits borrowed and the subnet number.
Bits borrowed = 3
subnet = 101 (in binary)
Subnet number = 6 (5 th usable subnet) SNM = 255.255.255.224

202.22.22.160 is a class C address, Default SM for Class C = 255.255.255.0 = /24


SM used = /27 = 255.255.255.224, network bits=24, subnet bits=3, host bits=5
Number of subnets = 2^3-2=6, Number of valid hosts per subnet = 2^5-2=30
Subnetting occurs in the 4th octet. Magic number = 256-224=32
Subnet addresses are 0,32,64,96,128,160,192,224
202.22.22.160 is the address of the 6th subnet (5th usable subnet)

2.

Given the subnet mask of 255.255.255.240 and the host address of 220.20.20.97,
find the subnetwork identifier and broadcast of the subnet the host belongs to and
the bits borrowed.
Bits borrowed = 4
SubNet ID = 220.20.20.96
SubNet BC = 220.20.20.111

6 th usable subnet

220.20.20.97 is a class C address. Default SM for class C = 255.255.255.0 = /24


SM used = 255.255.255.240 = /28, network bits=24, subnet bits=4, host bits=4
Number of subnets = 2^4-2=14, Number of valid hosts per subnet = 2^4-2=14
Subnetting occurs in the 4th octet. Magic number= 256-240 = 16
Subnet addresses are 0,16,32,48,64,80,96,112,128,144,160,176,192,208,224
220.20.20.97 is in subnet ID 220.20.20.96 (7th subnet - 6th usable subnet)
Broadcast address = 96+16-1=111, Subnet BC= 220.20.20.111

3.

Given the license (IP Address) 190.90.0.0 and the fact that you have 2046 useable
subnets created, find the number of bits borrowed, and the following information
about the 100 th usable subnet: subnet address/identifier, the subnet broadcast, and
the usable host address range.
Bits borrowed = 11
SubNet ID = 190.90.12.128
SubNet BC = 190.90.12.159
Usable hosts = 190.90.12.129 to 190.90.12.158

190.90.0.0 is a class B address. Default SM for class B = 255.255.0.0 = /16


Requires 2046 subnets. 2^?-2=2046 . To obtain 2046 subnets requires 11 bits
Network bits = 16, Subnet bits=11, host bits = 5
SM required = 255.255.255.224 = /27 . Magic Number = 256-224=32
Want address of 100 th usage subnet
(subnet 101)
100/8 = 12 remainder=4
3rd octet = 12
4th octet= 4 x 32 = 128
Subnet ID = 190.90.12.128
11 bit subnet field = 00001100.100 (12.128)
Next subnet address = 128 + 32 = 160
Therefore, broadcast address = 160-1 = 159 (190.90.12.159)
Usable hosts = 190.90.12.129 to 190.90.12.158 (30 usable hosts)

4.

Given a Class B the subnet mask of 255.255.248.0 and 1024 useable hosts per

subnet, find the number of bits borrowed.


Bits borrowed = 5

Default SM of Class B = 255.255.0.0 . SM used = 255.255.248.0 = /21


Network bits=16, subnet bits=5, host bits=11
Usable subnets = 2^5-2=30. Usable hosts per subnet= 2^11-2 = 2046

5.

Given the host address of 147.47.0.12 and a subnet mask with 29 bits, find the
number of bits borrowed and the subnet broadcast and address or the subnet the
host belongs to.
Bits borrowed = 13
Subnet number = 2 (1 st usable subnet)
SubNet ID = 147.47.0.8
SubNet BC = 147.47.0.15

147.47.0.12 is a class B address. Default SM for class B = 255.255.0.0 = /16


SM used = /29 = 255.255.255.248
Network bits=16, subnet bits=13, host bits=3.
Usable subnets = 2^13-2=8190, usable hosts per subnet = 2^3-2=6
Magic number = 256-248=8
Subnet addresses = 0.0, 0.8, 0.16, 0.24, etc.
147.47.0.12 is on the 0.8 subnet - 2nd subnet (1st usable) Subnet ID=147.47.0.8
Subnet Broadcast address = 0.8 + 8 -1 = 0.15 Subnet BC=147.47.0.15

6.

Given the subnet broadcast of 120.223.255.255 and subnet mask of 255.224.0.0,


find the bits borrowed, subnet address for the subnet to which the host belongs, and
the usable host range of the subnet.
Bits borrowed = 3
SubNet ID = 120.192.0.0
Usable hosts = 120.192.0.1 to 120.223.255.254

120.223.255.255 is a class A address. The default SM for class A = 255.0.0.0 = /8


SM used = 255.224.0.0 = /11
Network bits=8, subnet bits = 3, host bits = 21
Usable subnets = 2^3-2 = 6, usable hosts per subnet = 2^21-2 = 2,097,150
Magic number = 256-224 = 32
subnet addresses = 0, 32,64,96,128,160,192,224
120.223.255.255 belongs to the 120.192.0.0 subnet (7th subnet - 6th usable)
Broadcast address for the 120.192.0.0 subnet is 192+32-1= 120.223.255.255
Usable hosts = 120.192.0.1 to 120.223.255.254

7.

Given 210.10.10.114 and a subnet mask with 30 bits, find the subnet number and
address for the subnet to which the host belongs.
SubNet ID = 210.10.10.112
Subnet number = 29 (28 th usable subnet)

210.10.10.114 is a class C address. The default SM for class C = 255.255.255.0 = /24


SM used = /30 = 255.255.255.252
Network bits = 24, subnet bits = 6, host bits = 2
Usable subnets = 2^6-2 = 62, usable hosts per subnet = 2^2-2 = 2
Magic number = 256-252 = 4.
114/4 = 28 with remainder = 2, subnet address = 4X28=112 (.112)
Subnet number = 28th usable subnet (subnet 29). Subnet addresses = .112, .116, .120
Broadcast address on the .112 subnet = 210.10.10.115

Potrebbero piacerti anche