CCNA Class 07: IPv4 Address Classes Subnetting

 IP Addressing & Subnetting with Detail Example Practice 

Example of Class-A (Mathematical Calculation)-

Example 01: Here, the Class A Network an IP Address 13.15.0.0/16. Find the Max Number of Subnet & Max Number of Host. List of Available IP Addresses.

Solution: Let, Class A Network Default Subnet Mask is,

Network ID

Host ID

255

0

0

0

11111111

00000000

00000000

00000000


The formula is to find the Max Number of Sub Network is 2n and Max Number of Host Networks is 2n-2.

Here, From example 01

Max Number of Sub Network, n = 8 bits

Max Number of Host per Subnet, n = 16 bits

Therefore,

The total Sub Networks are, 28 = 256 Subnet

The Total Host per Subnet is, 216-2 = 65,534 Hosts

Network ID

Host ID

255

255

0

0

11111111

11111111

00000000

00000000





Table-1(a): List of Available IP Addresses Allocations

S/N

Subnet ID

Host Addresses

Subnet Broadcast

01

13.15.0.0

13.15.0.1 - 13.15.255.254

13.15.255.255

02

13.16.0.0

13.16.0.1 - 13.16.255.254

13.16.255.255

03

13.17.0.0

13.17.0.1 - 13.17.255.254

13.17.255.255

04

13.18.0.0

13.18.0.1 - 13.18.255.254

13.18.255.255

05

13.19.0.0

13.19.0.1 - 13.19.255.254

13.19.255.255

06

13.20.0.0

13.20.0.1 - 13.20.255.254

13.20.255.255

** ** ** ** ** ** ** ** ** ** ** ** ** ** ** ** ** ** ** ** ** ** ** ** ** ** ** ** ** ** ** **

240

13.255.0.0

13.255.0.1-13.255.255.254

13.255.255.255


Example 02: the Class A Network an IP Address 10.0.0.0/27. Find the Max Number of Subnet & Max Number of Host. List of Available IP Addresses.

Here, From example 02

Max Number of Sub Network, n = 19 bits

Max Number of Host per Subnet, n = 5 bits

Therefore,

The total Sub Networks are, 219 = 524,288 Subnet

The Total Host per Subnet is, 25-2 = 30 Hosts

Table-1(a): List of Available IP Addresses Allocations

S/N

Subnet ID

Host Addresses

Subnet Broadcast

01

10.0.0.0

10.0.0.1 - 10.0.0.30

10.0.0.31

02

10.0.0.32

10.0.0.33 - 10.0.0.62

10.0.0.63

03

10.0.0.64

10.0.0.65 - 10.0.0.94

10.0.0.95

04

10.0.0.96

10.0.0.97 - 10.0.0.126

10.0.0.127

05

10.0.0.128

10.0.0.129 - 10.0.0.158

10.0.0.159

06

10.0.0.160

10.0.0.161 - 10.0.0.190

10.0.0.191

07

10.0.0.192

10.0.0.193 - 10.0.0.222

10.0.0.223

08

10.0.0.224

10.0.0.223-10.0.0.254

10.0.0.255


Practice 01: The Class A Network an IP Address 10.10.1.0/29. Find the Max Number of Subnet & Max Number of Host. List of Available IP Addresses.

Practice 02: The Class A Network an IP Address 10.10.10.10/25. Find the Max Number of Subnet & Max Number of Host. List of Available IP Addresses.


Example of Class-B (Mathematical Calculation)-

Example 01:  the Class B Network an IP Address 135.15.0.0/16. Find the Max Number of Subnet & Max Number of Host. List of Available IP Addresses

Solution: Let the default Subnet mask of Class B Network -

Network ID

Host ID

255

255

0

0

11111111

11111111

00000000

00000000


Here, From the example 01

 Max Number of Sub Network, n = 0 bits

Max Number of Host per Subnet, n = 16 bits

Therefore,

The total Sub Networks are, 20 = 1 Subnet

The Total Host per Subnet is, 216-2 = 65,534 Hosts

Table-2(a): List of Available IP Addresses Allocations

S/N

Subnet ID

Host Addresses

Subnet Broadcast

01

135.15.0.0

135.15.0.1 - 135.15.255.254

135.15.255.255


Practice 01: The Class B Network an IP Address 172.16.1.0/27. Find the Max Number of Subnet & Max Number of Host. List of Available IP Addresses

Practice 02: The Class B Network an IP Address 135.15.1.0/29. Find the Max Number of Subnet & Max Number of Host. List of Available IP Addresses


Example of Class-C (Mathematical Calculation)-

Example 01:  The Class C Network an IP Address 200.150.10.0/26. Find the Max Number of Subnet & Max Number of Host. List of Available IP Addresses

Solution: Let the default Subnet mask of Class C Network -

Network ID

Host ID

255

255

255

0

11111111

11111111

11111111

00000000


Here, From the example 01

Max Number of Sub Network, n = 2 bits

Max Number of Host per Subnet, n = 6 bits

Therefore,

The total Sub Networks are, 22 = 4 Subnet

The Total Host per Subnet is, 26-2 = 62 Hosts

Table-2(a): List of Available IP Addresses Allocations

S/N

Subnet ID

Host Addresses

Subnet Broadcast

01

200.150.10.0

200.150.10.1 - 200.150.10.62

200.150.10.63

02

200.150.10.64

200.150.10.65 - 200.150.10.126

200.150.10.127

03

200.150.10.128

200.150.10.129 - 200.150.10.190

200.150.10.191

04

200.150.10.192

200.150.10.193 - 200.150.10.254

200.150.10.255


Practice 01: The Class C Network an IP Address 192.168.1.0/24. Find the Max Number of Subnet & Max Number of Host. List of Available IP Addresses

Practice 02: The Class C Network an IP Address 198.155.100.0/29. Find the Max Number of Subnet & Max Number of Host. List of Available IP Addresses


Home Tasks- 

  • Class B subnetting Practice

    • Example 01, we've been allocated a Class B network with an IP address of 135.15.0.0/16. Find the Max Subnet & Max Hosts Per sub networks and List of the Available IP Addresses.

    • Example 02, we've been allocated a Class B network with an IP address of 172.16.0.0/27.  Find the Max Subnet & Max Hosts Per sub networks and List of the Available IP Addresses.

  • Class C subnetting Practice 

    • Example 01, The Class C network with an IP address of 192.168.10.0/24. Find the Max Subnet & Max Hosts Per sub networks and List of the Available IP Addresses.

    • Example 02, The Class C network with an IP address of 192.168.100.0/29. Find the Max Subnet & Max Hosts Per sub networks and List of the Available IP Addresses.

Google Translate Integration

Comments