MARWARI COLLEGE,RANCHI (UNDER RANCHI UNIVERSITY RANCHI)
NAME : RAJU MANJHI,PRAKASH KUMAR
SUB: NETWORKING
SEM : IT /CA IV
_________________________________________________________
Network Layer:
Network layer is the third layer in the OSI model and here are
some of the functionalities of the network layer:
Logical Addressing
In the internet
world, there are two kinds of addressing, data link layer addressing and
logical addressing at the network layer. While physical addressing at the data
link layer is defined by the MAC address of a device, on the other hand, IP
addressing is defined at the network layer of the OSI model. IP addressing is
also known as logical addressing.
Routing
Routing is a
method to route a data packet from source to destination. We can think of
routing as follows:
·
When you want to access some data
from Facebook, you open your laptop, type Facebook's URL and send an HTTP
request to facebook.com for
some data.
·
Since Facebook's server is
situated outside your local area network, your request is forwarded to Facebook
through the default gateway or router of your institution.
·
This forwarding of a data request
to the destined server or user is known as routing.
This
functionality is done at the network layer of the OSI model.
Fragmentation
and Reassembly
The network layer
must send messages down to the data link layer for transmission. The data that
network layer receives is in the form of a packet and the data that data link
layer forwards is called a frame
Fragmentation and
reassembly have to be done by the network layer because some data link layer
technologies have limits on the length of any message that can be sent. If the
packet that the network layer wants to send is too large, the network layer
must split the packet up, send each piece to the data link layer, and then have
pieces reassembled once they arrive at the network layer on the destination
machine.
Path determination
Between
two computers on the internet, thousands of path topology may
exist to connect the one device to another. Some of the networks might be
private networks; to use some of the networks to send your data you might have
to pay; some of the networks en route might be very busy. But network layer is
so smart to find out these things within milliseconds.
_______________________________________________________________________
Q. Describe the ICMP .
_______________________________________________________________________________
Internet Control
Message Protocol (ICMP) is a network layer protocol that reports
errors and provides information related to IP packet processing. ICMP is used
by network devices to send error messages indicating, for example, that a
requested service is not available or that a host isn’t reachable.
ICMP is commonly used by network
tools such as ping or traceroute. For example, consider the
following example that illustrates how ping can be used to test the
reachability of a host:
Host A wants
to test whether it can reach Server over
the network. Host A will start the ping utility that will send ICMP Echo Request packets to
Server. If Server is reachable, it will respond with ICMP Echo Reply packets. If Host
A receives no response from Server, there might be a problem on the network.
ICMP messages are encapsulated in IP
datagrams.
One other common ICMP message is the Destination unreachable message.
Here is an example:
Host A sends
a packet to Host B. Because
the R1’s interface
connected to Host B is down, the router will send an ICMP Destination unreachable message
to Host A, informing it that the destination host is unreachable.
·
Comments
Post a Comment