Professional Documents
Culture Documents
FACULTY OF TECHNOLOGY
DEPARTMENT OF COMPUTER SCIENCE
Networking protocols define a common format and set of rules for exchanging messages
between devices.
Some common networking protocols are IP, HTTP, DHCP.
The networking protocols are describing the following processes:
How the message is formatted or structured
The process by which networking devices share information about pathways with other
networks,
How and when error and system messages are passed between devices
The setup and termination of data transfer sessions.
An example of using the protocol suite in network communications is the interaction between
Network protocols for the ISO
4. Transport Layers. It builds ‘packets’ or ‘datagrams’ so that the network layer knows what is data and
how to get the data to their destination.(TCP and UDP protocol).
7. Application Layers The program which wants to send data has its own protocol layer, typically FTP or
HTTP protocol
IP addressing
Every devices which are connected to the Internet needs to have a unique number which is
called IP address.
In our computer devices to know our IP address (we ipconfig commands in cmd command
promote) if the device is not connected to the internet it shows that “media is disconnected”
other wise shows IP address and the get ways the network.
Generally there are two types of IP addressing.
IPv4 (32 bit or 4 bytes number)
IPv6 (128 bit 16 bytes number)
To know about the IP address concept numbering system is a mandatory especially about
converting number to the octal.
IPv4
What is the difference between class full and class less IP addressing?
1. Class full IP addressing
Class full IP addressing is categorized as class A, B, and C.
Class less IP addressing
1. Private address: Hosts that do not require access to the Internet can use private addresses.
A private IP address is the address space allocated by NIC to allow organizations to create their
own private network.
10.0.0.0 to 10.255.255.255 (10.0.0.0/8)
172.16.0.0 to 172.31.255.255 (172.16.0.0/12)
192.168.0.0 to 192.168.255.255 (192.168.0.0/16)
2. A public IP address: address that is assigned to a device to allow direct access over the
Internet. A web server, email server and any server device directly accessible from the Internet are
candidate for a public IP address.
A public IP address is globally unique, and can only be assigned to a unique device.
Cont’d …
IPv6 addressing
Why IPv6?
Because IPv4 has the following limitations:-
It is running out of address space, because many addresses are bound up in
classes that make them unusable.
Global routing tables are becoming too large, which making routing slow while
running and memory intensive.
It is too easy to take control of a connection by guessing sequence numbers.
There is no native support for encryption
Less quality of Service (QoS) guarantees for mobile computing.
Cont’d ...
What happens if you wanted to take one network address and create six networks from it?
You would have to perform what is called Subnetting, which allows you to take one larger
network and break it into many smaller networks.
Reasons to perform Subnetting
Reduced network traffic
Optimized network performance
Simplified management
Facilitated spanning of large geographical distances
To create sub networks, you take bits from the host portion of the IP address and reserve
them to define the subnet address.
This means fewer bits for hosts, so the more subnets, the fewer bits available for defining
hosts.
Cont’d ...
Before you actually implement Subnetting, you need to determine your current requirements
as well as plan for future conditions.
1. Determine the number of required network IDs:
One for each subnet
One for each wide area network connection
2. Determine the number of required host IDs per subnet:
One for each TCP/IP host
One for each router interface
3.Based on the above requirement, create the following:
One subnet mask for your entire network
A unique subnet ID for each physical segment
A range of host IDs for each subnet
Subnetting Class C Addresses
Exercise
Subnet the following class B Address
172.16.0.0 = Network address
255.255.240.0 = Subnet Mask
11110000.00000000
Number of Subnets? 24=16
Number of Hosts per subnet? 212-2 = 4094
Valid subnets: 256-240=16,
32, 48, 64,80,96, 112,128,144,160,176,192,208,224,240
Subnetting Class A Addresses
VLSM stands for Variable Length Subnet Mask where the subnet design uses more
than one mask in the same network
which means more than one mask is used for different subnets of a single class A, B, C
or a network.
It is used to increase the usability of subnets as they can be of variable size. It is also
defined as the process of Subnetting of a subnet.
Sample VLSM Exercise
1. For each segment select the block size that is greater than or equal to the actual
requirement which is the sum of host addresses, broadcast addresses and network
addresses. Make a list of subnets possible:
2. Arrange all the segments in descending order based on the block size that is from
highest to lowest requirement.
Sales and Purchase: 120
Development: 50
Accounts: 26
Management: 5
Quiz1(5%)