Professional Documents
Culture Documents
Introduction to Computer
Computer network:-
Computer networks can be defined as an inter-connection of autonomous
computers.
Two computers are said to be inter connected when they are able to exchange
information.
Layer Architecture
Layer architecture simplifies the network design.
It is easy to debug network applications in a layered architecture network.
The network management is easier due to the layered architecture.
Network layers follow a set of rules, called protocol.
The protocol defines the format of the data being exchanged, and the control
and timing for the handshake between layers.
Advantages of layered architecture:-
Layers only created when a different level of abstraction needed.
Layers perform well defined function.
Layer functions chosen with international standards in mind.
Layer boundaries chosen to minimize information flow across boundaries
Number of layers chosen to handle the various distinct functions one per layer,
but with not too many layers.
OSI MODEL:-
Open System Inter Connection model was developed by ISO( Internet
Standard for Organization)
Open Systems Interconnection (OSI) is a set of internationally recognized,
non-proprietary standards for networking and for operating system involved
in networking functions
The OSI model describes how information or data makes its way from
application programmes (such as spreadsheets) through a network medium
(such as wire) to another application programme located on another network.
The OSI reference model divides the problem of moving information
between computers over a network medium into SEVEN smaller and more
manageable problems.
This separation into smaller more manageable functions is known as
layering.
OSI Reference Model: 7 Layers: -
The process of breaking up the functions or tasks of networking into layers
reduces complexity.
Each layer provides a service to the layer above it in the protocol specification.
Each layer communicates with the same layer’s software or hardware on other
computers.
The lower 4 layers (transport, network, data link and physical —Layers 4, 3, 2,
and 1) are concerned with the flow of data from end to end through the network.
The upper four layers of the OSI model (application, presentation and session—
Layers 7, 6 and 5) are orientated more toward services to the applications.
Data is encapsulated with the necessary protocol information as it moves down the
layers before network transit.
The Physical Layer: -
The physical layer is responsible for transmitting individual bits from one
node to the next node.
Provides physical connection between the computers.
Provides physical interface for transmission of information
The physical layer defines the type of representation (how 0’s & 1’s are
changed to signals)
It Defines rules by which bits are passed from one system to another on a
physical communication medium.
It covers all - mechanical, electrical, functional and procedural - aspects for
physical communication.
The Data Link Layer: -
Data link layer attempts to provide reliable communication over the physical
layer interface.
It is responsible for transmitting frames from one node to the next node.
A frame is a bit sequence that starts and finishes with a certain (unique) bit
pattern.
It breaks the outgoing data into frames and reassembles the received frames.
It creates and detects the frame boundaries.
Handle errors by implementing an acknowledgement and retransmission
scheme.
Implement flow control.
Supports points-to-point as well as broadcast communication.
Supports simplex, half-duplex or full-duplex communication.
Guarantees that the delivered data is correct, but not that all data is delivered.
The Network Layer: -
It is responsible for the delivery of packets from the original source to the final
destination.
Implements routing of frames (packets) through the network.
Defines logical addressing so that any endpoint can be identified.
Handles congestion in the network.
Facilitates interconnection between heterogeneous networks
(Internetworking).
The network layer also defines how to fragment a packet into smaller packets
to accommodate different media.
The Transport Layer: -
The transport layer is responsible for process to process delivery of the entire
message.
Purpose of this layer is to provide a reliable mechanism for the exchange of
data between two processes in different computers.
Ensures that the data units are delivered error free.
Ensures that data units are delivered in sequence.
Ensures that there is no loss or duplication of data units.
Provides connectionless or connection oriented service.
Provides for the connection management.
Multiplex multiple connections over a single channel.
The following layers do not have a direct counterpart in most computer
networks. They exist since the OSI model was designed by the large telecom
companies who then envisioned a future where lots of functionality was located in the
networks and the endpoints were pretty dumb terminals, probably not much smarter
than a telephone.
Physical Layer
Physical Media
Layers in the TCP/IP Internet environment:-
There might be several different transport layer protocols, e.g., TCP, UDP and
XTP.
There might be several different network interfaces, e.g., Ethernet, ProNet,
point-to-point nets, etc. A router connects several, possibly different, physical
networks.
There is only one IP protocol in an internet, and only one IP process on each
host in the internet TCP/IP and the operating system
Differences to the OSI-model:-
OSI (and X25, which is an implementation of the OSI model) has link
security.
TCP/IP has end-to-end security, the links are not reliable.
In the OSI model, it supports both connection-less & connection oriented
communication in the network layer but connection oriented communication
in the transport layer.
In TCP/IP, it supports connection less communication in the network layer &
it supports both connection-less & connection oriented communication in the
transport layer.
OSI was designed before its protocols came into existence.
TCP/IP is a description of protocols.
TCP/IP combines the presentation and session layer issues into its application
layer.
TCP/IP combines the OSI data link and physical layers into the network
access layer.
TCP/IP appears to be a simpler model and this is mainly due to the fact that it
has fewer layers.
TCP/IP is considered to be a more credible model- This is mainly due to the
fact because TCP/IP protocols are the standards around which the internet was
developed therefore it mainly gains creditability due to this reason. Where as
in contrast networks are not usually built around the OSI model as it is merely
used as a guidance tool.
The OSI model consists of 7 architectural layers whereas the TCP/IP only has
4 layers.
Network - communication system for connecting end-systems.
Novell Netware:-
the data transfer rate was 56K bits/sec, roughly same as dial-up services today
the Arpanet demonstrated that researchers at different sites could
communicate, share data, and run software remotely
ARPANET has 213 hosts. A new host is added approximately once every 20
days.
Internet:-
connected to the backbone were slower transmission lines that linked secondary
destinations, analogous to state highways
it maintains and enforces standards, ensuring that all computers on the Internet are
able to communicate with each other
the Internet carries a vast array of information resources and services, most
notably the inter-linked hypertext documents of the World Wide Web (WWW)
and the infrastructure to support electronic mail, in addition to popular services
such as online chat, file transfer and file sharing, online gaming, and Voice over
Internet Protocol (VoIP) person-to-person communication via voice and video.
Categories of networks: -
LAN - Local Area Network: -
A network that connects systems those are physically close (less than 1 mile).
Typically, LANS are high-speed multi-access networks, for example Ethernet
or token-ring.
Many Tel. Company provide a popular MAN service called SMDS (Switched
Multi-megabit Data Services
A network that connects systems those are physically far apart. Also known as a
"long haul network".
They are typically slower than LANs and point-to-point. Often based on
telephone lines and/or satellite communication.
• Guided media:- Guided media, which are those that provide a conduit from
one device to another, include twisted-pair cable, coaxial cable, and fiber-optic
cable
• Guided Media, Some thing physically, include twisted-pair cable, coaxial
cable, and fiber-optic cable.
• Optical fiber is a glass or plastic cable that accepts and transports signals in the
form of light.
The practice of transmitting signals differentially dates back to the early days of
telegraph and radio.
This eases the requirements on the ground and shield compared to single ended
transmission and results in improved EMI performance.
The most commonly used form of twisted pair is unshielded twisted pair (UTP).
Any data communication cables and normal telephone cables are this type.
Shielded twisted pair (STP) differs from UTP in that it has a foil jacket that
helps prevent crosstalk and noise from outside source.
In data communications there is a cable type called FTP (foil shielded pairs)
which consists of four twisted pair inside one common shield (made of
aluminum foil).
Coaxial Cable:-
Optical Fiber is made of glass or plastic and transmits signals in the form of
light.
Fiber optic cable has the ability to transmit signals over much longer distances
than coaxial and twisted pair.
It also has the capability to carry information at vastly greater speeds. This
capacity broadens communication possibilities to include services such as
video conferencing and interactive services.
Optical fibers use reflection to guide light through a channel. A glass or plastic
core is surrounded by a cladding of less dense glass or plastic. The difference
in density of the two materials must be such that a beam of light moving
through the core is reflected off the cladding instead of being refracted into it.
Information is encoded onto a beam of light as a series of on-off flashes that
represent 1 and 0 bits.
Unguided media:-
Radio waves:-
Microwaves:-
Electro magnetic waves ranging in frequencies between 1 GHz to 300 GHz are
called as micro waves
Microwaves are used for uni-cast communication such as cellular telephones,
satellite networks, and wireless LANs.
Infrared waves:-
Electro magnetic waves ranging in frequencies between 300 GHz to 1THz are
called as infrared waves
Can not penetrate walls
Switching:-
Circuit switching:
A circuit could be set up, causing no delay between switches, but causing
setup time.
It is made up of set of switches connected by physical links, in which each link
is divided into n channels.
It takes place at the physical layer.
Message switching:
Involves sending an entire message from one switch to the next before
forwarding is possible.
Packet switching:
ATM (Asynchronous Transfer Mode) is the cell relay protocol designed by the
ATM & adopted by the ITU-T
ITU-T --- International telecommunication union & T- Telecommunication
standardization sector.
Cell is a small fixed size block of information.
ATM can handle real time transmission.
ATM allows high speed connection.
ATM uses asynchronous time division multiplexing that is why it is called as
ATM
ATM Architecture:-
ATM architecture has 2 types of interfaces
UNI- user to network interface
NNI- network to network interface
UNI:- it is an interface between user & an ATM switch.
NNI:- it is an interface between 2 ATM switches.
The architecture is shown below:
The devices which are accessed by the user are called end points.
These end points are connected to switches inside the network through the
UNI interface.
Connection between 2 end points is accomplished through transmission paths
(TP), virtual paths (VP) & virtual circuits (VC).
Transmission path is the physical connection between end-point to a switch or
between 2 switches.
TP is divided into several virtual paths.
A virtual path provides a connection or a set of connections between 2
switches.
Cell network are based on virtual circuits.
Example:- there are 2 switches in 2 cities . to connect 2 switches in 2 cities ,
A TP is the set of all highways that directly connects the 2 cities, each high way
is a virtual path & the lanes of each high way is a virtual circuit.
ATM uses packet switching instead of circuit switching, and B-ISDN cannot
run over the existing wires, so B-ISDN will require a massive overhaul of the
existing telecommunications hardware infrastructure.