Layer
3 – The Network Layer
Layer 3, the network layer of the OSI model, provides an
end-to-end logical addressing system so that a packet of data can be routed
across several layer 2 networks (Ethernet, Token Ring, Frame Relay, etc.). Note
that network layer addresses can also be referred to as logical addresses.
Initially, software manufacturers, such as
Novell, developed proprietary layer 3 addressing. However, the networking
industry has evolved to the point that it requires a common layer 3 addressing
system. The Internet Protocol (IP) addresses make networks easier to both set
up and connect with one another. The Internet uses IP addressing to provide
connectivity to millions of networks around the world.
To make it easier to manage the network and control the flow of
packets, many organizations separate their network layer addressing into
smaller parts known as subnets. Routers use the network or subnet portion of
the IP addressing to route traffic between different networks. Each router must
be configured specifically for the networks or subnets that will be connected to its interfaces.
Routers communicate with one another using routing protocols, such
as Routing Information Protocol (RIP) and Open version of Shortest Path First
(OSPF), to learn of other networks that are present and to calculate the best
way to reach each network based on a variety of criteria (such as the path with
the fewest routers). Routers and other networked systems make these routing decisions
at the network layer.
When passing packets between different
networks, it may become necessary to adjust their outbound size to one that is
compatible with the layer 2 protocol that is being used. The network layer
accomplishes this via a process known as fragmentation. A router’s network
layer is usually responsible for doing the fragmentation.
All reassembly of fragmented packets happens at the network layer
of the final destination system.
Two of the additional functions of the network layer are
diagnostics and the reporting of logical variations in normal network
operation. While the network layer diagnostics may be initiated by any networked
system, the system discovering the variation reports it to the original sender
of the packet that is found to be outside normal network operation.
The variation reporting exception is content validation
calculations. If the calculation done by the receiving system does not match
the value sent by the originating system, the receiver discards the related
packet with no report to the sender. Retransmission is left to a higher layer’s
protocol.
Some basic security functionality can also be set up by filtering
traffic using layer 3 addressing on routers or other similar devices.
ref: www.globalknowledge.com
No comments:
Post a Comment