Computers Network Notes
Computers Network Notes
By,
Prof. Pradnya K. Bachhav
Syllabus
Definition, Types of Networks: Local area networks (LAN),
Metropolitan area networks (MAN),
Wide area networks (WAN),
Wireless networks, Networks Software, Protocol,
Design issues for the Network layers.
Network Models: The OSI Reference Model, TCP/IP Model
, Network Topologies, Types of Transmission Medium.
Network Architectures: Client-Server, Peer To Peer, Hybrid
. Network Devices: Bridge, Switch, Router, Gateway,
Access Point.
Line Coding Schemes: Manchester and Differential Manch
ester Encodings, Frequency Hopping (FHSS) and Direct S
equence Spread Spectrum (DSSS).
Outline
Topologies
Network Architectures
Network Software
OSI Model
TCP/IP Model
Transmission Mediums
⚫ floor/building-wide
⚫ no routing, broadcast
⚫ no latency guarantees
Local Area Networks (LAN)
⚫ It is designed for small physical areas such as an office, group of buildings
or a factory.
⚫ LANs are used widely as it is easy to design and to troubleshoot.
through LANs.
⚫ We can use different types of topologies through LAN, these are Star,
hard-drive etc.
LAN (Continued)
LAN Advantages
or an entire city.
MAN-Disadvantages
place to another.
⚫ telecoms,
⚫ Internet access,
⚫ television and
areas.
Wide Area Networks (WAN)
A wide area network (WAN) is also an interconnection of devices capable
of communication for long distance.
Fig: WANs: a switched WAN and a point-to-point WAN
Wide Area Networks (WAN)
Wide Area Networks (WAN)
network.
Satellite links.
⚫ Need a good firewall to restrict outsiders from entering and disrupting the
network
⚫ Protection against hackers and viruses adds more complexity and expense.
PAN-Personal Area Network
It is better in mobility.
PAN
CAN
MAN
Distinguish between LAN,WAN,MAN
PARAMETERS LAN WAN MAN
Geographical area co
Small Very large Moderate
vered
Topologies
Network Architectures OSI Model
TCP/IP Model
Design issues for Layers Transmission Mediums Network Devices
⚫ A number of repeaters are used for Ring topology with large number of nodes,
because if someone wants to send some data to the last node in the ring topology
with 100 nodes, then the data will have to pass through 99 nodes to reach the 100th
node. Hence to prevent data loss repeaters are used in the network.
⚫ In Dual Ring Topology, two ring networks are formed, and data flow is in opposite
direction in them. Also, if one ring fails, the second ring can act as a backup, to keep
the network up.
⚫ Data is transferred in a sequential manner that is bit by bit. Data transmitted, has to
pass through each node of the network, till the destination node.
Ring Topology
Syntax
– Structure or format of the data
– Indicates how to read the bits - field delineation
Semantics
– Interprets the meaning of the bits
– Knows which fields define what action
Timing
– When data should be sent and what
– Speed at which data should be sent or speed at which it is
being received.
Elements of a Protocol - Syntax
The structure or format of the data.
Eg. A simple protocol;
8 bits 8 bits
64 bits
Elements of a Protocol - Semantics
- Refers to the meaning of each section of bits.
- how is a particular pattern to be interpreted, and
what action is to be taken based on that
interpretation.
Eg. Does an address identify the route to be
taken or the final of the message?
Elements of a Protocol - Timing
Refers to two characteristics:
a. When data to be sent
b. How fast it can be sent
Topologies
Network Architectures
Network Software
OSI Model
TCP/IP Model
Transmission Mediums
Advantages: Disadvantages:
Use less expensive computer Not very secure
control
Client/Server Network
⚫ In client-server network relationships, certain computers act as server
and other act as clients.
⚫ A server is simply a computer, that available in the network to share
resources and provides service to other computers when they request it.
⚫ A client is the computer running a program that requests the service from
a server.
⚫ Local area network(LAN) is based on client server network relationship.
Advantages: Disadvantages:
Topologies
Network Architectures
Network Software
OSI Model
TCP/IP Model
Transmission Mediums
• Service interface provides an entry point that users use to access the
functionality exposed by the application.
• Service interface is usually network addressable.
• Provides coarse-grained interface while preserving the semantics and
finer granularity of the application logic.
• It also provides a barrier that enables the application logic to change
without affecting the users of the interface.
• The service interface should encapsulate all aspects of the network
protocol used for communication between user and service.
• E.g. suppose that a service is exposed to consumers through HTTP
over a TCP/IP network. User can implement the service interface as
an ASP.NET component published to well-known URL.
SDN
The Software Defined Networking framework has three layers as
depicted in the following diagram −
SDN Concept
Topologies
Network Architectures
Network Software
OSI Model
TCP/IP Model
Transmission Mediums
⚫ There are many users who use computer network and are
located all over the world.
⚫ To ensure national and worldwide data communication ISO
(International Organization of Standardization.)developed
this model.
⚫ This is called a model for Open System Interconnection
(OSI) and is normally called as OSI model.
⚫ OSI model architecture consists of seven layers.
⚫ It defines seven layers or levels in a complete
communication system.
⚫ It was first introduced in the late 1970s.
Please Do Not Tell Secret Passwords Anytime
OSI Model
The interaction between layers in the OSI model
An exchange using the OSI model
Feature of OSI Model :
⚫ This layer sends and expects acknowledgements for frames received and sent respectively.
Resending of non-acknowledgement received frames is also handled by this layer.
⚫ This layer establishes a logical layer between two nodes and also manages the Frame
traffic control over the network. It signals the transmitting node to stop, when the frame
buffers are full.
Layer 3: The Network Layer
⚫ It routes the signal through different channels from one node to other.
⚫ It acts as a network controller. It manages the Subnet traffic.
⚫ It decides by which route data should take.
⚫ It divides the outgoing messages into packets and assembles the
incoming packets into messages for higher levels.
Layer 4: Transport Layer
⚫ It decides if data transmission should be on parallel path or single path.
⚫ Functions such as Multiplexing, Segmenting or Splitting on the data are done by this layer
⚫ It receives messages from the Session layer above it, convert the message into smaller units
and passes it on to the Network layer.
⚫ Transport layer can be very complex, depending upon the network requirements.
⚫ Transport layer breaks the message (data) into small units so that they are handled more
Topologies
Network Architectures
Network Software
OSI Model
TCP/IP Model
Transmission Mediums
⚫ It operated independently.
⚫ It is scalable.
⚫ Client/server architecture.
⚫ Supports a number of routing protocols.
⚫ Can be used to establish a connection between two
computers.
Demerits of TCP/IP
Topologies
Network Architectures
Network Software
OSI Model
TCP/IP Model
Transmission Mediums
Topologies
Network Architectures
Network Software
OSI Model
TCP/IP Model
Transmission Mediums
Radiowaves or
Infrared
Microwaves
Common network cable types
• Coaxial cable
• Unshielded
twisted pair
• Fiber optic
Guided Media
1] Twisted-Pair Cable
2] Coaxial Cable
3] Fiber-Optic Cable
Plastic Copper
• Unshielded
• Twisted (why?) pairs of insulated
conductors
• Covered by
insulating sheath
UTP and STP
UTP connector
UTP categories
RG-59 75 W Cable TV
⚫ The optical fiber elements are typically individually coated with plastic
Topologies
Network Architectures
Network Software
OSI Model
TCP/IP Model
Transmission Mediums
Network Devices
Function of a repeater
Switches
Data Transmission Electrical signal or bits Frame (L2 Switch), Frame & Packet (L3 switch)
Switches are very efficient by not forwardi Bridge looks at the destination of the packet
ng packets that error-rd out or forwarding before forwarding unlike a hub.
3 good packets selectively to correct
devices only.
Switches can support both layer 2 (Based It restricts transmission on the other LAN
on MAC Address) and Layer 3 (Based on I segment if destination is not found.
4 P address) depending on the type of
switch.
Usually large networks use switches inste Bridges are used to separate parts of a
5 ad of hubs to connect computers within network that do not need to communicate
the same subnet regularly, but need to be connected.
Two andThree layer switches
• Two layer switch operate at physical and data link
layer
• Three layer switch operates at network layer
• Bridge is an example of two-layer switch.
• Bridge with few port can connect a few LANs.
• Bridge with many port may be able to allocate
a unique port to each station, with each
station on its own independent entity. This
means no competing traffic (no collision as we
saw in Ethernet)
3-layer switches: Router
• Routes packets based on their logical addresses (host-to-
host addressing)
• A router normally connects LANs and WANs in the
Internet and has a routing table that is used for making
decision about the route.
• The routing tables are normally dynamic and are updated
using routing protocols.
Routers connecting
independent LANs
and WANs
Advantages and Disadvantages of Routers
• Advantages
– Routers provide sophisticated routing, flow control, and
traffic isolation
– are configurable, which allows network manager to make
policy based on routing decisions
– allow active loops so that redundant paths are available
• Disadvantages
– Routers are protocol-dependent devices that must
understand the protocol they are forwarding.
– can require a considerable amount of initial configuration.
– are relatively complex devices, and generally are more
expensive than bridges.
Routers versus Bridges
Brouters: Bridging Routers
Topologies
Network Architectures
Network Software
OSI Model
TCP/IP Model
Transmission Mediums
Network Devices
Line coding is the process of converting digital data to digital signals. By this
technique we converts a sequence of bits to a digital signal.
Receiver is responsible for "decoding" i.e. separating clocks and data from
the incoming embedded stream.
There are 4 possible encoding techniques that can be used on the data:
Digital- to-digital, Digital-to-Analog, Analog-to-analog, Analog-to-digital.
Digital-to-Digital Encoding
•The binary signals created by your computer (DTE) are translated into a sequence of
voltage pulses that can be sent through the transmission medium.
•Binary signals have two basic parameters: amplitude and duration.
•As the number of bits sent per unit of time increases, the bit duration decreases.
•The three most common methods of encoding used are: unipolar , polar , and bipolar .
UNIPOLAR ENCODING
⚫ Code is self-clocking
⚫ Transition at the beginning of the bit cell if the next bit is " 0 "
⚫ NOTransition at the beginning of the bit cell if the next bit is " 1 "
Topologies
Network Architectures
Network Software
OSI Model
TCP/IP Model
Transmission Mediums
Network Devices
The important ones are marked with *. The ones marked with are hibernating. The
15 one marked with † gave up.
8
IEEE 802.11 Wireless LAN Standard
• Lowest cost
Infrared • Lowest range compared to spread spectrum
• Doesn’t penetrate walls, so no eavesdropping
What is meant by Spread Spectrum
Text Books:
⚫Andrew S.Tenenbaum, “Computer Networks”,5th Edition, PHI, ISBN 81-203-2175-8.
⚫Fourauzan B., "Data Communications and Networking", 5th Edition, Tata McGraw-
Hill, Publications, 2006
Assignment No-1
1. What are different types of topology? Explain any one
2. What are the reason for using layered protocol?
3. What are the design issues of layers? Explain it
4. Explain connect oriented & connectionless services
5. What is OSI model? Explain the functions of different layers in OSI
model.
6. Explain TCP/IP Model and compare TCP/IP and OSI Model.
7. List and write the use of different network connecting devices.
8. Write a short note on Fibre Optic Cable with fig.
9. What is line coding? Give the manchetser line code and differential M
anchester code for the bit sequence: 1100110
10. Explain in brief: FHSS and DSSS