You are on page 1of 11

IP Subnetting and Supernatting

Prepared By

Ahsan Ullah

Senior Lecturer, Dept. of CSE

World University of Bangladesh

Email: ahsan.ullah@cse.wub.edu.bd

Mobile: 01773346027
Classful IP Addressing

Calculate following terms for given IP address

192.168.0.0/24

I. Class of IP address

II. Subnet Mask of given IP

III. Block size

IV. Total Number of usable hosts.

V. Total Number of network

VI. Network address and broadcast address

Ahsan ullah, Senior lecturer, Dept. of CSE, WUB


Calculate following terms for given IP address

192.168.0.0/24

Class of IP address

Ahsan ullah, Senior lecturer, Dept. of CSE, WUB


Calculate following terms for given IP address

192.168.0.0/24

Subnet Mask of given IP

Ahsan ullah, Senior lecturer, Dept. of CSE, WUB


Subnet Mask

Ahsan ullah, Senior lecturer, Dept. of CSE, WUB


Calculate following terms for given IP address

192.168.0.0/24

Block size

formula
n
Block size= 2

Where n is total number of host bit.

As 192.168.0.0 is a classful C class IP, so host bit is 8.


Ahsan ullah, Senior lecturer, Dept. of CSE, WUB
Calculate following terms for given IP address

192.168.0.0/24

Total Number of usable hosts.

formula
n
Total usable host = 2 -2

Where n is total number of host bit.

As 192.168.0.0 is a classful C class IP, so host bit is 8.


8 Ahsan ullah, Senior lecturer, Dept. of CSE, WUB
Calculate following terms for given IP address

192.168.0.0/24

Total Number of Network.

formula
m
Total network = 2

Where m is total number of network bit(extra). Its

applicable only, when we do subnetting or classless ip,


Ahsan ullah, Senior lecturer, Dept. of CSE, WUB
Calculate following terms for given IP address

192.168.0.0/24

Network address and broadcast address


192.168.0.0----------Network Address
192.168.0.1----------1st usable IP
192.168.0.2----------2nd usable IP
---------------
---------------
---------------
192.168.0.254-------Last usable IP
192.168.0.255-------Broadcast Address

Ahsan ullah, Senior lecturer, Dept. of CSE, WUB


Classless IP Addressing(Subnetting)

Calculate following terms for given IP address 192.168.0.0/28

I. Class of IP address

II. Subnet Mask of given IP

III. Block size

IV. Total Number of usable hosts.


Solution
V. Number of total network
1.Class
VI. C Network address and broadcast address

2. Subnet mask=11111111.11111111.11111111.11110000

= 255.255.255.240

n 4
3. Block size= 2 = 2 = 16

n 4
4. Total Number of usable hosts= 2 - 2= 2 - 2= 14

m 4
5. Number of total network= 2 = 2 = 16
Ahsan ullah, Senior lecturer, Dept. of CSE, WUB
Network Design for 192.168.0.0/28

Ahsan ullah, Senior lecturer, Dept. of CSE, WUB

You might also like