COMPUTER NETWORK UNIT 4 EM
COMPUTER NETWORK UNIT 4 EM
Unit-iv
Network Layer
o The Network Layer is the third layer of the OSI model.
o It handles the service requests from the transport layer and further forwards the
service request to the data link layer.
o The network layer translates the logical addresses into physical addresses
o It determines the route from the source to the destination and also manages the
traffic problems such as switching, routing and controls the congestion of data
packets.
o The main role of the network layer is to move the packets from sending host to the
receiving host.
Once the packets arrive at their destination, they are handled differently depending
on which transport protocol is used in combination with IP. The most common
transport protocols are TCP and UDP.
What is a network protocol?
In networking, a is a standardized way of doing certain actions and formatting data so
that two or more devices are able to communicate with and understand each other.
To understand why protocols are necessary, consider the process of mailing a letter. On
the envelope, addresses are written in the following order: name, street address, city,
state, and zip code. If an envelope is dropped into a mailbox with the zip code written
first, followed by the street address, followed by the state, and so on, the post office
won't deliver it. There is an agreed-upon protocol for writing addresses in order for the
postal system to work. In the same way, all IP data packets must present certain
information in a certain order, and all IP addresses follow a standardized format.
What is an IP packet?
IP packets are created by adding an IP header to each packet of data before it is sent on
its way. An IP header is just a series of bits (ones and zeros), and it records several pieces
of information about the packet, including the sending and receiving IP address. IP
headers also report:
Header length
Packet length
In total there are 14 fields for information in IPv4 headers, although one of them is
optional.
help route packets across ASes based on their destination IP addresses. Routers have
routing tables that indicate which ASes the packets should travel through in order to
reach the desired destination as quickly as possible. Packets travel from AS to AS until
they reach one that claims responsibility for the targeted IP address. That AS then
internally routes the packets to the destination.
Uses a unique
Uses a special Uses a special
Addressing destination
broadcast address multicast address
address
Bandwidth
Moderate High Moderate
usage
2. Broadcast:
Broadcasting transfer (one-to-all) techniques can be classified into two types:
3. Multicast:
In multicasting, one/more senders and one/more recipients participate in
data transfer traffic. In this method traffic recline between the boundaries of
unicast (one-to-one) and broadcast (one-to-all). Multicast lets servers direct
single copies of data streams that are then simulated and routed to hosts
that request it. IP multicast requires the support of some other protocols
like IGMP (Internet Group Management Protocol), Multicast routing for
its work. Also in Classful IP addressing Class D is reserved for multicast
groups.
ISDN Interfaces:
The following are the interfaces of ISDN:
3. Broadband-ISDN (B-ISDN) –
Narrowband ISDN has been designed to operate over the current
communications infrastructure, which is heavily dependent on the copper
cable however B-ISDN relies mainly on the evolution of fiber optics.
According to CCITT B-ISDN is best described as ‘a service requiring
transmission channels capable of supporting rates greater than the
primary rate.
ISDN Services:
ISDN provides a fully integrated digital service to users. These services fall
into 3 categories- bearer services, teleservices, and supplementary
services.
1. Bearer Services –
Transfer of information (voice, data, and video) between users without the
network manipulating the content of that information is provided by the
bearer network. There is no need for the network to process the
information and therefore does not change the content. Bearer services
belong to the first three layers of the OSI model. They are well defined in
the ISDN standard. They can be provided using circuit-switched, packet-
switched, frame-switched, or cell-switched networks.
2. Teleservices –
In this, the network may change or process the contents of the data.
These services correspond to layers 4-7 of the OSI model. Teleservices
rely on the facilities of the bearer services and are designed to
accommodate complex user needs. The user need not be aware of the
details of the process. Teleservices include telephony, teletex, telefax,
videotex, telex, and teleconferencing. Though the ISDN defines these
services by name yet they have not yet become standards.
1. Supplementary Service –
Additional functionality to the bearer services and teleservices are
provided by supplementary services. Reverse charging, call waiting, and
message handling are examples of supplementary services which are all
familiar with today’s telephone company services.
Principle of ISDN:
The ISDN works based on the standards defined by ITU-T (formerly CCITT).
The Telecommunication Standardization Sector (ITU-T) coordinates
standards for telecommunications on behalf of the International
Telecommunication Union (ITU) and is based in Geneva, Switzerland. The
various principles of ISDN as per ITU-T recommendation are:
Variety of configurations
Advantages of ISDN: