Beruflich Dokumente
Kultur Dokumente
07
Implement sub-netting concept using Network tool.
Name of the Student:-
__________________________________________________
Theory:
Masking is a process that extracts the address of the physical network from an
IP address.
Masking can be done whether we have subnetting or not.
Not subnetted the network: Masking extracts the network address an IP address.
Subnetted the network: Masking extracts the subnetwork address an IP address.
1. What is subnetting?
------------------------------------------------------------------------------------------------
-------------------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------------
-------------------------------------------------------------------------------------------------
-----------------------------------------------------------------------------
------------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------------
-------------------------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------
-------------------------------------------------------------------------------------------------------
----------------------------------------------------------------------
------------------------------------------------------------------------------------------------
-------------------------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------------
-------------------------------------------------------------------------------------------------------
---------------------------------------------------------------------
-------------------------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------------
-------------------------------------------------------------------------------------------------------
-------------------------------------------------------------------------------------------------------
--------------------------------------------------------------
------------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------------
-------------------------------------------------------------------------------------------------------
-------------------------------------------------------------------------------------------------------
---------------------------------------
Experiment No. 08
Write a program to implement find out class of a given IP address, subnet mask&
first & last IP address of that block.
Theory:
The network address is the beginning address of each block. It can be found by
applying the default mask to any of the addresses in the block (including itself). It
retains the netid of the block and sets the hostid to zero. An Internet Protocol address
(IP address) is a numerical label assigned to each device connected to a computer
network that uses the Internet Protocol for communication. An IP address serves two
principal functions: host or network interface identification and location addressing.
Subnet mask:
A subnet mask is a number that defines a range of IP addresses that can be used in a
network. (It is not something you wear on your head to keep subnets out.) ... A
common subnet mask for a Class C IP address is 255.255.255.0. Each section of the
subnet mask can contain a number from 0 to 256, just like an IP address.
Conclusion: Hence wrote a program to implement find out class of a given IP address,
subnet mask& first & last IP address of that block.
Conclusion: Thus,
------------------------------------------------------------------------------------------------
-------------------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------------
-------------------------------------------------------------------------------------------------
-----------------------------------------------------------------------------
-------------------------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------------
-------------------------------------------------------------------------------------------------------
-------------------------------------------------------------------------------------------------------
--------------------------------------------------------------
3. How many bits are used for Network addresses & Host Addresses in B Class?
------------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------------
-------------------------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------
-------------------------------------------------------------------------------------------------------
---------------------------------------------------------------------
------------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------------
-------------------------------------------------------------------------------------------------------
-------------------------------------------------------------------------------------------------------
--------------------------------------------------------------