Unit 3
Unit 3
UNIT – III
NETWORK LAYER
Design issues
ROUTING ALGORITHMS
• shortest path routing
• Flooding
• Hierarchical routing
• Broadcast Multicast
• distance vector routing
• Congestion Control Algorithms
• Quality of Service
• Internetworking
• The Network layer in the internet
INTRODUCTION
The network Layer is the third layer in the OSI model of
computer networks. Its main function is to transfer network
packets from the source to the destination. It is involved both
the source host and the destination host. Thus, the network layer
is the lowest layer that deals with end-to-end transmission.
To achieve its goals, the network layer must know about the
topology of the network (i.e., the set of all routers and links)
and choose appropriate paths through it, even for large
networks.
It must also take care when choosing routes to avoid
overloading some of the communication lines and routers while
leaving others idle.
Features of Network Layer
If the packets are too large for delivery, they are fragmented i.e.,
broken down into smaller packets.
It decides the route to be taken by the packets to travel from the
source to the destination among the multiple routes available in
a network (also called routing).
The source and destination addresses are added to the data
packets inside the network layer.
NETWORK LAYER DESIGN ISSUES
1. Store-and-forward packet switching
2. Services provided to transport layer
3. Implementation of connectionless service
4. Implementation of connection-oriented service
5. Comparison of virtual-circuit and datagram networks
1.Store-and-forward packet switching
Let us assume for this example that the message is four times
longer than the maximum packet size, so the network layer has
to break it into four packets, 1, 2, 3, and 4, and send each of
them in turn to router A.
Every router has an internal table telling it where to send
packets for each of the possible destinations. Each table entry
is a pair (destination and the outgoing line). Only directly
connected lines can be used.
A’s initial routing table is shown in the figure under the label
‘‘initially.’’
At A, packets 1, 2, and 3 are stored briefly, having arrived on
the incoming link. Then each packet is forwarded according to
A’s table, onto the outgoing link to C within a new frame.
Packet 1 is then forwarded to E and then to F.
However, something different happens to packet 4. When it gets
to A it is sent to router B, even though it is also destined for F.
For some reason (traffic jam along ACE path), A decided to
send packet 4 via a different route than that of the first three
packets. Router A updated its routing table, as shown under the
label ‘‘later.’’
The algorithm that manages the tables and makes the routing
decisions is called the routing algorithm.
4.Implementation of connection-oriented service
MULTICAST ROUTING
Multicast routing is a networking method for efficient
distribution of one-to-many traffic. A multicast source, such as
a live video conference, sends traffic in one stream to a
multicast group. The multicast group contains receivers such as
computers, devices, and IP phones.
Multicasting is a type of one-to-many and many-to-many
communication as it allows sender or senders to send data
packets to multiple receivers at once across LANs or WANs.
This process helps in minimizing the data frame of the network
because at once the data can be received by multiple nodes.
Multicasting is considered as the special case of broadcasting
as.it works in similar to Broadcasting, but in Multicasting, the
information is sent to the targeted or specific members of the
network.
QUALITY OF SERVICE
Quality-of-Service (QoS) refers to traffic control mechanisms
that seek to either differentiate performance based on
application or network-operator requirements or provide
predictable or guaranteed performance to applications,
sessions, or traffic aggregates. Basic phenomenon for QoS
means in terms of packet delay and losses of various kinds.
Need for QoS
Video and audio conferencing require bounded delay and loss
rate.
Video and audio streaming requires bounded packet loss rate it
may not be so sensitive to delay.
Time-critical applications (real-time control) in which bounded
delay is considered to be an important factor.
Valuable applications should be provided better services than
less valuable applications.
QoS Specification
QoS requirements can be specified as:
Delay
Delay Variation(Jitter)
Throughput
Error Rate
QOS PARAMETERS
Packet loss. This happens when network links become
congested and routers and switches start dropping packets.
When packets are dropped during real-time communication,
such as in voice or video calls, these sessions can experience
jitter and gaps in speech. Packets can be dropped when a queue,
or line of packets waiting to be sent, overflows.
Jitter. This is the result of network congestion, timing drift and
route changes. Too much jitter can degrade the quality of voice
and video communication.
Latency. This is the time it takes a packet to travel from its
source to its destination. Latency should be as close to zero as
possible. If a voice over IP call has a high amount of latency,
users can experience echo and overlapping audio.
Bandwidth. This is the capacity of a network communications
link to transmit the maximum amount of data from one point to
another in a given amount of time. QoS optimizes the network
performance by managing bandwidth and giving high priority
applications with stricter performance requirements more
resources than others.
INTERNETWORKING
Internetworking is combined of 2 words, inter and networking
which implies an association between totally different nodes or
segments. This connection area unit is established through
intercessor devices akin to routers or gateway. The first term for
associate degree internetwork was catenet.
This interconnection is often among or between public, private,
commercial, industrial, or governmental networks. Thus,
associate degree internetwork could be an assortment of
individual networks, connected by intermediate networking
devices, that function as one giant network.
Internetworking refers to the trade, products, and procedures
that meet the challenge of making and administering internet
works.
To enable communication, every individual network node or
phase is designed with a similar protocol or communication
logic, that is Transfer Control Protocol (TCP) or Internet
Protocol (IP).
Once a network communicates with another network having
constant communication procedures, it’s called
Internetworking. Internetworking was designed to resolve the
matter of delivering a packet of information through many
links.
There is a minute difference between extending the network
and Internetworking. Merely exploitation of either a switch or
a hub to attach 2 local area networks is an extension of LAN
whereas connecting them via the router is an associate degree
example of Internetworking.
Internetworking is enforced in Layer three (Network Layer) of
the OSI-ISO model. The foremost notable example of
internetworking is the Internet.
There is chiefly 3 units of Internetworking:
Extranet
Intranet
Internet
Intranets and extranets might or might not have connections to
the net. If there is a connection to the net, the computer network
or extranet area unit is usually shielded from being accessed
from the net if it is not authorized.
The net isn’t thought-about to be a section of the computer
network or extranet, though it should function as a portal for
access to parts of the associate degree extranet.
Extranet: It’s a network of the internetwork that’s restricted in
scope to one organization or entity however that additionally
has restricted connections to the networks of one or a lot of
different sometimes, however not essential.
It’s the very lowest level of Internetworking, usually enforced
in an exceedingly personal area. Associate degree extranet may
additionally be classified as a Man, WAN, or different form of
network however it cannot encompass one local area network
i.e. it should have a minimum of one reference to associate
degree external network.
Intranet – This associate degree computer network could be a
set of interconnected networks, which exploits the Internet
Protocol and uses IP-based tools akin to web browsers and FTP
tools, that are underneath the management of one body entity.
Internet – A selected Internetworking, consisting of a
worldwide interconnection of governmental, academic, public,
and personal networks based mostly upon the Advanced
analysis comes Agency Network (ARPANET) developed by
ARPA of the U.S. Department of Defence additionally home to
the World Wide Web (WWW) and cited as the ‘Internet’ to
differentiate from all different generic Internetworks.